cancel
Showing results for 
Search instead for 
Did you mean: 

Removing the default features

mialfresco
Champ in-the-making
Champ in-the-making
Hi team,
We are currently implemeting an KMS using alfresco DMS features.
For that we are required to configure the web client UI according to our requirement.
As first phase we don't want to show all the default features in Advanced search like "look in location wizard", "Show me results in the categories wizard", "more search options wizard" etc. So i want to enable these wizards. I have gone through the web-client-config.xml inside alfresco but these are not declared in that file.
And another one is after clicking the "view details" link of any document i'm seeing various boxes like "Custom View", " Links", "Multilingual Content Info" etc. As a first phase we don't want to see all the features to the users in the first time itself. So decided to disable these features. So how to do this.

Can anyone guide me in this regard.

Thanks in adnace.
17 REPLIES 17

jayjayecl
Confirmed Champ
Confirmed Champ
Yes, but syntax is the following :


<permissions>
               <!– each permission can be an Allow or Deny check –>
               <permission allow="true">Write</permission>
               <permission allow="true">Execute</permission>
            </permissions>

good luck !

rama_honge
Champ in-the-making
Champ in-the-making
Thanks Jay

mahdi
Champ in-the-making
Champ in-the-making
hi i need to customize the advanced search.
first i need to disable some default properties like date of modification and creation, and some menu like categories.
second, i need to personalize the search so it will be based on the type of content : when i choose a personalised doc type, only the properties associated to it will be enabled and shown.
Do you have some solutions to do it?     

Regards,
Mahdi

mialfresco
Champ in-the-making
Champ in-the-making
Hi Mahdi,
you need to make changes in advanced-search.jsp as suggested by Jay in the beginning of this thread.

mahdi
Champ in-the-making
Champ in-the-making
hi mialfresco, i tried to do some modification on that jsp (i deleted some component like modification date) but when i run alfresco and try to access to the advanced search i got some errors.
may i create a new dialog and new jsp to replace the default page (advanced-search.jsp)?
if it's the case it would be difficult for me as a beguiner .

Regards,

mialfresco
Champ in-the-making
Champ in-the-making
Hi mahdi,
There are some dependencies in this jsp. But i'm sure if you remove any component starting with the tag  <aSmiley Tongueanel> to </aSmiley Tongueanel > then it should work fine. I mean you should remove the components individually. each component or window in advanced search page has its own panel tag. (appropriate code is in between <aSmiley Tongueanel> and </aSmiley Tongueanel> )

mahdi
Champ in-the-making
Champ in-the-making
thanks mialfresco for the reply.
now i have to find a way to manipulate the personalised metadatas so that only the properties associated to the selected content type will be activated.

svedec
Champ in-the-making
Champ in-the-making
2/ you have to manually edit document-details.jsp

Is editing the JSP directly the ONLY way of achieving this ?
This has considerable drawbacks.

Edit: I just rebooted my alfresco and the sections I commented in the JSP became active again.
So please provide alternate option as this method only seems to last until you reboot ?