Getting a specific Mirror page URL and getMirrorURL method

sagil23995776

13-11-2017

Hi.

I'm trying to create a recipient delivery report in Adobe Campaign showing all the deliveries a recipient received over time.

In addition I want to add by each of the deliveries the link to the mirror page of this recipient.

for example:

http://myUrl/nl/jsp/m.jsp?c=%XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX%3D

The 'XXX...' part is the different part for each recipient/delivery

I'm trying to get the url programmatically using javascript.

I've looked in the documentation and also in this forum, and saw a similar issue (https://forums.adobe.com/message/9792714#9792714)

but still couldn't figure out how to do it.

According to the answer there I can use the 'GetMirrorURL' method but I'm not sure what parameters I should give to this function.

Looking in the jaspi help I saw it gets 'eventHistoId' from schema nms:eventHisto.

This table is empty on my system, and I'm not sure how it is related.

Also tried running this method with different parameters like broadlogID but I get an error saying 'Error while compiling script - GetMirrorUrl is not defined.'

Can someone please help me understand how to handle this method or is there a different way of getting the URL

Adobe Campaign Version 6.1.1 build 8754

Server version 6.1.1 build 8754

Thanks,

Sagi

View Entire Topic

sagil23995776

19-11-2017

Hi Florent,

Tried using it but it didn't work.
Also I'm not sure I'm using the right 'message'

I only found Message ID in nms:broadlogMsg table and its the same value (1402) for all recipients that the email was sent to.

This message id is indicating if an email was sent or not and failure reason, I don't think this is what the GetMirrorURL expect to get.

Can you advise where can I find the required message ID?

When trying to run it like that I get the same error:

var url = GetMirrorURL (232676406,1402)

19/11/2017 09:30:11 JST-310000 Error while compiling script 'WKF2545/js2' line 2: GetMirrorURL is not defined.