Ok I need to do the following, have action button in share forms, that calls a webscript, that webscript calls a java action,
this action creates a certain document and puts it in packageitems.
In order to accomplish this I am missing two things.
First: How to add document to package items in java
Second: I probably need to acces to get the nodeRef of package items to achieve this?
I fI need how can I retrieve package items node ref via forms
(does nodeRef, show somewhere in packageitems ftl, i could do something like document.getByName/Id)