As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello!,
I am doing something similar to this:
https://hub.alfresco.com/t5/alfresco-content-services-forum/how-use-pagelink-to-call-a-action-backend/m-p/31519#M1737
My code:
<param name="page">create-content?destination={nodeRef}&itemId=test:Mytype</param>
How can I call the backend in java and generate specific properties?
Is not simple, you must create
- a page
- a template
- a template instance
- a client webscript (the one call the alfresco server
- a server webscript
You can check out how is done the same component here:
https://github.com/Redpill-Linpro/alfresco-document-templates
Another approach is the one from he onlyoffice project :
https://github.com/ONLYOFFICE/onlyoffice-alfresco/blob/7111204007efe94ce4292f8dd84e02a8cab48863/share/src/main/resources/alfresco/onlyoffice-config.xml#L49