Hi,I'm sorry for my english. Is it possible to show in share, the edit metada form and the web document previewer,on the same page at the same time?So that when I would fill in the document metadata, I could look on the document preview at the same time,in order to read the data from the document, that I need to write in metadata form.Is this possible and if it is, any suggestions how to do this?I Use Alfresco 4.2c (bitnami Virtual Appliance)I already have try the proposite solution here:https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/edit-metadata-vie...Always, my problem is the same, I modify these files as I read in the previous discussion:- edit tomcat\webapps\share\WEB-INF\classes\alfresco\templates\org\alfresco\edit-metadata.ftl- edit tomcat\webapps\share\WEB-INF\classes\alfresco\templates\org\alfresco\document-details.ftl- edit tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\template-instances\edit-metadata.xmlWhen I restart Tomcat, the log print this:
Template processing error: "Expression doclibType is undefined on line 18, column 9 in org/alfresco/document-details.ftl."
Expression doclibType is undefined on line 18, column 9 in org/alfresco/document-details.ftl.
The problematic instruction:
———-
==> if doclibType?starts_with("dod5015") [on line 18, column 4 in org/alfresco/document-details.ftl]
in user-directive templateHeader [on line 3, column 1 in org/alfresco/document-details.ftl]
———-
Java backtrace for programmers:
———-
freemarker.core.InvalidReferenceException: Expression doclibType is undefined on line 18, column 9 in org/alfresco/document-details.ftl
How can I import javascript file that contains "doclibType" variable?Can you help me? I'm novice and I'm working to this problem from 4 days.Thank you for your answers