Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Javascript template rendered by method and extracted i workflow

Avatar

Avatar
Give Back 3
Level 2
eliasa31934321
Level 2

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 1
View profile

Avatar
Give Back 3
Level 2
eliasa31934321
Level 2

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 1
View profile
eliasa31934321
Level 2

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)

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

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)

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

21-03-2017

Hi Elias,

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

Florent.

Avatar

Avatar
Give Back 3
Level 2
eliasa31934321
Level 2

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 1
View profile

Avatar
Give Back 3
Level 2
eliasa31934321
Level 2

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 1
View profile
eliasa31934321
Level 2

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

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

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