How to build a button to open a delivery

Avatar

Avatar

jferreira10

Avatar

jferreira10

jferreira10

27-04-2018

Hello,

I'm developing a Report that displays some info about a certain delivery.

I can get the delivery ID by SQL, but how can I create a HTML button that will open that delivery in Adobe Campaign?


Thank you for your help!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

MarcelSzimonisz

MVP

Avatar

MarcelSzimonisz

MVP

MarcelSzimonisz
MVP

27-04-2018

Hello,

Yes you need to grab that link and try to create your own

In your case the link is:

view/operation?id=137113479&backview=%7B"view"%3A"campaign"%2C"params"%3A%7B%7D%7D&__universe=campaign&__securitytoken=@fHFNc8zQEhVv3Pis0fOAUafCXt2mCg==

this part you do not need to view page:

&backview=%7B"view"%3A"campaign"%2C"params"%3A%7B%7D%7D&__universe=campaign&__securitytoken=@fHFNc8zQEhVv3Pis0fOAUafCXt2mCg==

so the link would be simple as:

your_server_url/view/operation?id=<%= your_campaign_id %>

same applies for other objects e.g

--delivery

your_server_url/view/delivery?id=<%= your_campaign_id %>

--report

your_server_url/report/<%= report_internal_name %>

...

Marcel

Answers (4)

Answers (4)

Avatar

Avatar

MarcelSzimonisz

MVP

Avatar

MarcelSzimonisz

MVP

MarcelSzimonisz
MVP

27-04-2018

You do not have to generate security token in web browser. It is already in session when you log in.

Avatar

Avatar

jferreira10

Avatar

jferreira10

jferreira10

27-04-2018

Perfect!
I didn't tested because I didn't know how to generate the security token, but without it works good.

Thank you very much!

Avatar

Avatar

jferreira10

Avatar

jferreira10

jferreira10

27-04-2018

Hello Marcel,

Thank you very much for your answer.

I was trying to emulate what this button in the below image does:

1474886_pastedImage_0.png

I'm not sure if I can reproduce this window on a report, is it doable?

Thank you once again!

Avatar

Avatar

MarcelSzimonisz

MVP

Avatar

MarcelSzimonisz

MVP

MarcelSzimonisz
MVP

27-04-2018

Hello,

You can do transitions in the report to the next page or any other transition in which you display information you want

--page activity

---- create transitions you want

1474847_pastedImage_0.png

---- ceate link object

1474849_pastedImage_2.png

1474848_pastedImage_1.png

---- enable transiotion you want

OR

you can directly use OOTB or custom report URLs

1474859_pastedImage_3.png

I have not tried this option whether you can compute URL string with context (ctx) variables

OR

You can create your own HTML pages

1474860_pastedImage_4.png

Where links will open another OOTB/ custom report

OR

you can do all above in JSSP pages (have not tried)

Good luck

Marcel