How to build a button to open a delivery | Community
Skip to main content
jferreira10
Level 2
April 27, 2018
Solved

How to build a button to open a delivery

  • April 27, 2018
  • 5 replies
  • 2117 views

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.
Best answer by Marcel_Szimonisz

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
Community Advisor
Community Advisor
April 27, 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

---- 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

jferreira10
Level 2
April 27, 2018

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!

Marcel_Szimonisz
Community Advisor
Marcel_SzimoniszCommunity AdvisorAccepted solution
Community Advisor
April 27, 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

jferreira10
Level 2
April 27, 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!

Marcel_Szimonisz
Community Advisor
Community Advisor
April 27, 2018

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