How to build a button to open a delivery | Community
Skip to main content
jferreira10
Level 2
Apr 27, 2018 7:44 AM UTC
Solved

How to build a button to open a delivery

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Marcel_Szimonisz
Marcel_SzimoniszAccepted solution
New Participant
Apr 27, 2018 11:02 AM UTC

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

5 replies

Marcel_Szimonisz
New Participant
Apr 27, 2018 11:48 AM UTC

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

Translate
jferreira10
Level 2
Apr 27, 2018 11:30 AM UTC

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!

Translate
Marcel_Szimonisz
Marcel_SzimoniszAccepted solution
New Participant
Apr 27, 2018 11:02 AM UTC

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

Translate
jferreira10
Level 2
Apr 27, 2018 10:44 AM UTC

Hello Marcel,

Thank you very much for your answer.

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

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

Thank you once again!

Translate
Marcel_Szimonisz
New Participant
Apr 27, 2018 10:06 AM UTC

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

---- ceate link object

---- enable transiotion you want

OR

you can directly use OOTB or custom report URLs

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

OR

You can create your own HTML pages

Where links will open another OOTB/ custom report

OR

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

Good luck

Marcel

Translate