Create Element Menu and call java

cancel
Showing results for 
Search instead for 
Did you mean: 
jpexposito
Member II

Create Element Menu and call java

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
4535992
Senior Member

Re: Create Element Menu and call java

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