cancel
Showing results for 
Search instead for 
Did you mean: 

Create Element Menu and call java

jpexposito
Champ in-the-making
Champ in-the-making

Hello!, 

I am doing something similar to this:

https://hub.alfresco.com/t5/alfresco-content-services-forum/how-use-pagelink-to-call-a-action-backen...

My code:

<param name="page">create-content?destination={nodeRef}&amp;itemId=test:Mytype</param>

How can I call the backend in java and generate specific properties?

1 REPLY 1

4535992
Star Collaborator
Star Collaborator

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/shar...