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

SOLVED

Generate mirror url for export

mikaelb4687966
Level 2
Level 2

Hi

I need to export all mirror page urls for an email delivery in a workflow.

The idea is that we want another application to be able view the mirror pages so we need to generate the urls based on the recipient delivery logs using the unique message id:s.

Does anyone have an example for that?

/Mikael B

1 Accepted Solution
wodnicki
Correct answer by
Community Advisor
Community Advisor

Can only do it in JS, due to cryptString(). You can alter the file after export populating the col with js.

View solution in original post

3 Replies
wodnicki
Community Advisor
Community Advisor

Hi,

You can encode the url's yourself in js, it's just url-encoded cryptString('-1|<broadlog id in base16>|<delivery id in base16>'). Not sure what -1 is. If you want to do it the hard way there's jsapi call nms.delivery.GetMirrorURL().

Thanks,

-Jon

mikaelb4687966
Level 2
Level 2

Hi Jon

Ok. The problem is that this is not for a js context. I need to do it in an export workflow where I don't have access to js execution. I need to do it in Data extraction or Enrichment activity in a workflow.

Do you know how to that?

Mikael

wodnicki
Correct answer by
Community Advisor
Community Advisor

Can only do it in JS, due to cryptString(). You can alter the file after export populating the col with js.

View solution in original post