Javascript template rendered by method and extracted i workflow

eliasa31934321

01-03-2017

Hello,

How can I get the rendered content of a javascript template, programatically and from using a javascript file in a workflow? I sort of wish to ask a publication model to render it's javascript template and serve it to me and thinking that there has to be a method for this extraction.

Regards

Elias

Accepted Solutions (1)

Accepted Solutions (1)

florentlb

09-03-2017

Hi Elias,

I'm not sure I have the right solution here but here are some additional hints that you could make use of:

Hope this helps,

Florent.

Answers (3)

Answers (3)

eliasa31934321

03-03-2017

florentlb wrote...

Hi Elias,

Can you share more details about your use case? Is it to extract data or to load some content/data in another activity?

Also have you checked the JSAPI documentation? It is available on the Download Center of the support website. If you don't see it in there, you can request to get access to it by asking the support team. (Note that it is under license).

Thanks,

Florent

 

Hi Florent,

 

thanks for replying and making an effort here! I have not yet checked the documentation but I've gone thorugh and tested a lot of functions in the files I believe are related to my challenge. I have requested access to it but I do not believe that it will clariy a solution for me(since there are no hints regarding this anywhere).

To clarify the need: In my workflow, where I automatically send out email, I get the email triggered but with the same content as the first time I opened and saved the delivery template. If I change something in the javascript file or content wise it does not update in the delivery, but I need this to happen in order to be able to fully automate a bunch of tasks. 

Do you know of any solution?

Eegards

Elias

florentlb

02-03-2017

Hi Elias,

Can you share more details about your use case? Is it to extract data or to load some content/data in another activity?

Also have you checked the JSAPI documentation? It is available on the Download Center of the support website. If you don't see it in there, you can request to get access to it by asking the support team. (Note that it is under license).

Thanks,

Florent