cancel
Showing results for 
Search instead for 
Did you mean: 

Association Default Value

krutik_jayswal
Elite Collaborator
Elite Collaborator
How can i set default value of association field using share-config-custom.xml or some thing else?
1 REPLY 1

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

You can set default value from ftl (controller).

If you know the nodeRef (hotcoded) then set in place of
field.value
by checking is value there or not.

else if you want to set value using search, then you need to write a repository webscript to return nodeRef then use that nodeRef and as options to ObjectFinder.setOptions.