Expand my Community achievements bar.

SOLVED

Javascript template rendered by method and extracted i workflow

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

4 Replies

Avatar

Level 10

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

Avatar

Level 2

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

Avatar

Correct answer by
Level 10

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.

Avatar

Level 10

Hi Elias,

Did you have the time to take a look into it?

Florent.