In Association Complete Source node list is not returned
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2011 05:41 AM
Hi,
I created a custom model with the following association
Is there any solution to overcome this.
Any help is appreciated.
Regards,
Pavani Akella
I created a custom model with the following association
<association name="cdl:propertyRef"> <title>Property Reference</title> <source> <mandatory>true</mandatory> <many>true</many> </source> <target> <class>cm:cmobject</class> <mandatory>true</mandatory> <many>false</many> </target> </association>
I also specified the start location for the association in share-custom-config.xml as follows <field id="cdl:propertyRef"> <control> <control-param name="startLocation">/app:company_home/st:sites/cm:testsite/cm:documentLibrary/cm:Properties</control-param> </control></field>
The problem is it not showing all the folders in the specified location.It is only displaying 99 folders.I have more than 5000 folders.Is there any solution to overcome this.
Any help is appreciated.
Regards,
Pavani Akella
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2011 06:36 AM
Additional information:
To be more clear, here is exactly what I need. When we click on select button for the association field, the following url is called in the backend(which is again a webscript)
Here there is size parameter in the url. Is there a location where I can change the 100. I don't exactly know where the url for the select button is getting constructed or where to change the size paramter.
I tried to change the parameter in tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\forms\pickerchildren.get.js but since the webscript is already called with 100 even though i change the size paramater here there is no impact.
Regards,
Pavani Akella
To be more clear, here is exactly what I need. When we click on select button for the association field, the following url is called in the backend(which is again a webscript)
http://localhost:8080/share/proxy/alfresco/api/forms/picker/node/children?selectableType=cm:cmobject...
selectableType,xpath is defiened while creating association in the content model as start location and type of objectHere there is size parameter in the url. Is there a location where I can change the 100. I don't exactly know where the url for the select button is getting constructed or where to change the size paramter.
I tried to change the parameter in tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\forms\pickerchildren.get.js but since the webscript is already called with 100 even though i change the size paramater here there is no impact.
Regards,
Pavani Akella
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2012 04:01 AM
I am also facing the similar issue. Have you got the solution to above problem?
Thanks,
Thanks,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2012 06:02 AM
Hi,
I am not sure if it is the right solution but copy
\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\form\controls\common\picker.inc.ftl
to shared folder and change the value at maxserarchresults value from 100 to 5000 or to a value required. It solved my problem.
Regards,
Pavani Akella
I am not sure if it is the right solution but copy
\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\form\controls\common\picker.inc.ftl
to shared folder and change the value at maxserarchresults value from 100 to 5000 or to a value required. It solved my problem.
Regards,
Pavani Akella
