mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-22 15:12:38 +00:00
The association control now accepts a 'startLocation' parameter, this can be set to any of the following:
{companyhome}
{userhome}
{siteshome}
{doclib}
{self}
{parent}
A NodeRef
An XPath
The NodeRef and XPath options can also be used for the category form control to start the category picker in a particular category.
The XPath option is already used by the replication job UI and an example of {doclib} is in the FDK.
Example config would be as follows:
<form>
....
<appearance>
<field id="fdk:images">
<control>
<control-param name="startLocation">{doclib}</control-param>
</control>
</field>
<field id="fdk:reviews">
<control>
<control-param name="startLocation">/app:company_home/app:dictionary/app:transfers/app:transfer_groups/cm:default</control-param>
</control>
</field>
</appearance>
</form>
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261