I have a requirement to dynamically pre-populate the keywords repeating attribute with values determined by where in the foldertree the user is creating the document (using webtop).
I have done this with single attributes before by customising the docbaseAttributeValueTag class to pre-populate the attribute text boxes with the required strings.
If I try this with a repeating attribute, although the form displays the required values against the attribute they aren't actually saved when the user clicks Finish.
Also, if you click Edit against the keywords attribute the values do not appear in the form that opens.
I don't want the values to be always inserted into the attribute, I want the user to be able to change them or add to them if they so wish. Hence doing this in a TBO is not an ideal solution.
Can anyone give me some pointers as to how to create a customisation where, when creating a new document the keywords attribute is automatically given some values that the user can change if required before completing the new document creation? As stated above, the values to give the attribute are decided dynamically based on the folder the object is being created in.
Thanks