Alfresco Share Advanced Search Customization

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2011 04:11 AM
Hi,
I have followed this example exactly as mentioned: http://wiki.alfresco.com/wiki/Share_Advanced_Search , to configure my Alfresco Advanced Search screen. I am able to select the 'SOP Document' from the 'Look for:' menu as well, and able to see my custom fields. However, not even the 'Keywords' field is searchable through this template. Why is that? If I select 'Content' from the 'Look for:' menu, then the search is perfect. It seems to me that the example has just created a dummy screen that doesn't actually do anything.
How do I give this new form some searching capability?
Note: I have noticed that when I select my new form and search, the last part of the URL contains "datatype":"my:sop". If I manually changed this to "datatype":"cm:content" and press Enter, the results appear. Seems to tell me that the problem lies in this area.
Any help would be greatly appreciated.
Regards,
Gwad
I have followed this example exactly as mentioned: http://wiki.alfresco.com/wiki/Share_Advanced_Search , to configure my Alfresco Advanced Search screen. I am able to select the 'SOP Document' from the 'Look for:' menu as well, and able to see my custom fields. However, not even the 'Keywords' field is searchable through this template. Why is that? If I select 'Content' from the 'Look for:' menu, then the search is perfect. It seems to me that the example has just created a dummy screen that doesn't actually do anything.
How do I give this new form some searching capability?
Note: I have noticed that when I select my new form and search, the last part of the URL contains "datatype":"my:sop". If I manually changed this to "datatype":"cm:content" and press Enter, the results appear. Seems to tell me that the problem lies in this area.
Any help would be greatly appreciated.
Regards,
Gwad
Labels:
- Labels:
-
Archive
23 REPLIES 23

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2012 05:36 PM
Fresh install of Alfresco 4.0.d for Win64…
The behavior is not as expected if I select more than one tag. That is, if I select any single tag, it will return all documents that are tagged with the tag, but if I select 2 tags zero results are found. Anyone had any luck with this?
Also, the Select button for the tag selection on the form is not displayed the first time I visit the page. I must refresh the Advanced Search page in order to get the button to appear.
The behavior is not as expected if I select more than one tag. That is, if I select any single tag, it will return all documents that are tagged with the tag, but if I select 2 tags zero results are found. Anyone had any luck with this?
Also, the Select button for the tag selection on the form is not displayed the first time I visit the page. I must refresh the Advanced Search page in order to get the button to appear.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2012 02:05 PM
I had the same problem! When i select more than one tag, no results are returned… I think that this could be a problem when the search URL is assembled, but i don't know in which part of the code that's set. I've searched in the forum but this is the only topic saying about this error. If anyone can resolve this problem please post a reply saying how to do that.
Thanks,
Guilherme.
Thanks,
Guilherme.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2014 11:19 AM
Hi,
Could you explain to me how did you do to make the search on categories working, please?
When I want to test it, it always return me nothing
Thanks in advance
Could you explain to me how did you do to make the search on categories working, please?
When I want to test it, it always return me nothing
Thanks in advance

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2014 03:50 AM
I have a problem with search. I don't really need multiple tags, but with single tags I get 0 results. When I cluck tags quick links in DocumentsLibrary, the results are displayed correctly. This is my share-form-config.xml
<!– Search form –> <form id="search"> <field-visibility> <show id="cm:name" /> <show id="cm:title" force="true" /> <show id="cm:description" force="true" /> <show id="cm:taggable" for-mode="edit" force="true" /> <show id="mimetype" /> <show id="cm:modified" /> <show id="cm:modifier" /> </field-visibility> <appearance> <field id="mimetype"> <control template="/org/alfresco/components/form/controls/mimetype.ftl" /> </field> <field id="cm:modifier"> <control> <control-param name="forceEditable">true</control-param> </control> </field> <field id="cm:modified"> <control template="/org/alfresco/components/form/controls/daterange.ftl" /> </field> <field id="cm:taggable"> <control> <control-param name="compactMode">true</control-param> <control-param name="params">aspect=cm:taggable</control-param> <control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param> <control-param name="createNewItemIcon">tag</control-param> </control> </field> </appearance> </form> </forms>
