cancel
Showing results for 
Search instead for 
Did you mean: 

Edit page customization

ganmaku
Champ on-the-rise
Champ on-the-rise
Hello Team,

This is regarding the Alfresco Share edit page customization.

Requirement is I need to display two different edit forms based on attribute value of the custom type.

As you know, the application will navigate to the SimpleDialog page after clicking the Edit Metadata link present in the Document Library page. Then, it will be navigated to the Full Metadata Edit page.

But, as per requirement, the application has to show Full Metadata Edit page after clicking link present in the Document Library page.

For that, I have customized documentlibrary-actions-min.js and got the below error when I tried to modify the URL as "share/page/site/test/customeditpage?nodeRef=workspace://SpacesStore/e9546513-4c72-4a5b-842a-aae1069a1f49"

javax.servlet.ServletException: Could not resolve view with name 'site/test/customeditpage' in servlet with name 'Spring Surf Dispatcher Servlet'
Any help would be highly beneficial for me!!!
1 REPLY 1

tb13
Champ in-the-making
Champ in-the-making
customeditpage needs to be defined as a webscript and registered as a component. There is a bit more to it than just editing the documentlibrary-actions-min.js. check http://wiki.alfresco.com/wiki/3.0_Web_Scripts#Listing_Available_Web_Scripts and good luck.