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

Getting a specific Mirror page URL and getMirrorURL method

Avatar

Avatar
Validate 10
Level 2
sagil23995776
Level 2

Likes

17 likes

Total Posts

32 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 2
sagil23995776
Level 2

Likes

17 likes

Total Posts

32 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
sagil23995776
Level 2

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

Avatar

Avatar
Validate 1
Level 2
courtneyd578424
Level 2

Likes

3 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
courtneyd578424
Level 2

Likes

3 likes

Total Posts

19 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
courtneyd578424
Level 2

21-11-2017

It was helpful! I am getting this error though:

11/21/2017 4:37:20 PM JavaScript: error while evaluating script 'WKF1117/js'.

11/21/2017 4:37:20 PM Error while executing the method 'GetMirrorURL' of service 'nms:delivery'.

11/21/2017 4:37:20 PM Cannot load document of type 'Deliveries (nms:delivery)' satisfying condition '(@id = 332656168) AND ((@deleteStatus = 0))'.

11/21/2017 4:37:20 PM The requested database record does not exist.

11/21/2017 4:37:20 PM AND ((D0.iDeleteStatus = :2))' could not be executed.   Param(0)=332656168   Param(1)=0

11/21/2017 4:37:20 PM SQL statement 'SELECT   D0.iMappingId, D0.iDeliveryMode, D0.iMidRemoteId, E1.sMirrorURL, E1.sAccount, E1.sPassword, E1.sServer, D0.mData FROM NmsDelivery D0 JOIN NmsExtAccount E1 ON (E1.iExtAccountId = D0.iDeliveryProviderId) WHERE (D0.iDeliveryId = :1)