Modify advanced search page
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2006 08:00 AM
Hi,
I want to modify web client advanced search…
First i had done my custom model with custom properties on search.
I want to have only my custom properties define in web-client-config-custom.xml. i know that i can modify web-client-config.xml but i want to know if there is a property to do that in my xml extension.
Then, where can we define if panel is expended or not.
Can i define it in properties ?
Thx
I want to modify web client advanced search…
First i had done my custom model with custom properties on search.
I want to have only my custom properties define in web-client-config-custom.xml. i know that i can modify web-client-config.xml but i want to know if there is a property to do that in my xml extension.
Then, where can we define if panel is expended or not.
Can i define it in properties ?
Thx
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 04:30 AM
Yes, you can configure the properties to appear in advanced search in web-client-config-custom.xml.
If you take a look at the sample file "web-client-config-custom.xml.sample" you'll see a section for advanced search which includes properties from the example model we ship.
The example is shown below:
As for expanding the panels, I'm afraid that is not possible via configuration at this time.
If you take a look at the sample file "web-client-config-custom.xml.sample" you'll see a section for advanced search which includes properties from the example model we ship.
The example is shown below:
<config evaluator="string-compare" condition="Advanced Search"> <advanced-search> <content-types> <type name="my:sop" /> </content-types> <custom-properties> <meta-data type="my:sop" property="my:authorisedBy" /> <meta-data type="my:sop" property="my:publishedDate" /> <meta-data aspect="my:imageClassification" property="my:resolution" /> </custom-properties> </advanced-search></config>
As for expanding the panels, I'm afraid that is not possible via configuration at this time.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 04:33 AM
But oyur code will add properties to custom properties already define in model… me i want to erase this properties to have only mine!
It here a way to do that ?
It here a way to do that ?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 04:53 AM
OK I see, no unfortunately you can not remove properties from the advanced search page via configuration.
You will have to override the advanced saerch page itself. This should also be possible in an "extension manner", have a look at http://wiki.alfresco.com/wiki/Customising_An_Alfresco_JSP for an example.
You will have to override the advanced saerch page itself. This should also be possible in an "extension manner", have a look at http://wiki.alfresco.com/wiki/Customising_An_Alfresco_JSP for an example.
