cancel
Showing results for 
Search instead for 
Did you mean: 

add children to bpm_package (adv workflow)

lorenz
Champ in-the-making
Champ in-the-making
hi all

I'm trying to add some content (cm:content) to a workflow. I was sarching for a function like addNode or addChild in the wiki and the forums but couldn't find anything. So if somebody knows how to accomplish that I'd be happy to get a hint 🙂

Just as a sidenote: Is there a "complete" documentation of the JavaScript API somewhere on the net?

Cheers
Lorenz
5 REPLIES 5

davidc
Star Contributor
Star Contributor
http://wiki.alfresco.com/wiki/JavaScript_API

Unfortunately, there addNode does yet exist.  It's something I'd like to get implemented for 2.1, if time, as your use-case is not unusual.

lorenz
Champ in-the-making
Champ in-the-making
thanks david

i'm looking forward to 2.1 in that case 🙂

rhofkens
Champ in-the-making
Champ in-the-making
Hi,

I need this functionality as well.  Did you find a workaround that could be used with 2.0?

best regards,
Roeland

lorenz
Champ in-the-making
Champ in-the-making
Hi rhofkens

Since my project got postponed I didn't investigate this issue any further.

Maybe you want to check out this thread. I didn't read through it, but as it seemed to me that might be a solution.

Good luck and please post here if this actually worked Smiley Wink

Cheers
Lorenz

davidc
Star Contributor
Star Contributor
2.1 now has support for addNode and removeNode javascript methods.  Workflow may use these for adding content to a workflow package.