Looking for a javascript file to add custom success and failure message for Edit Properties page
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2015 09:38 PM
I'm looking for a javascript file to add custom success and failure prompt message for Edit Properties page. After you click on the Edit Properties in the document details page, when you save it, I want to display custom success and failure prompt messages. I tried playing with the following files with no luck. Maybe I'm doing it wrong
tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\edit-metadata\
Here are some useful resources.
tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\template-instances\edit-metadata.xml
tomcat\webapps\share\WEB-INF\classes\alfresco\templates\org\alfresco\edit-metadata.ftl
tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\edit-metadata\
Here are some useful resources.
tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\template-instances\edit-metadata.xml
tomcat\webapps\share\WEB-INF\classes\alfresco\templates\org\alfresco\edit-metadata.ftl
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2015 07:35 AM
Edit-Metadata is basically a form. So I think the js you are looking for is forms-runtime.js. It has _submitInvoked function which is called on form submission. There you can write your customization.
