Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

Need to use unsub WebApp inside Survey WebApp

Avatar

Level 1

Hi,

 

I am trying to add the Unsub web app to the Survey web app. 

I have tried the below steps:

1. create an option with the internal name of the unsub web app

 

2. defined the var to fetch it in Webapp using the following code.

 

var intName = getOption('optionInternalName');
ctx. vars.webappInternalName = intName;

 

3. then, I used this code to obtain the unsub page in my survey web app

 

<a href="<%= ctx.vars.intName %>" data-nl-type="entranalLink">

 

So, the Survey Webapp is working but the unsub link is not working. Can anyone please help resolve this?

 

Warm Regards,

Pallavi

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

In option try giving full unsub URL. eg, https://******/internalNameOfWebpp

And in href, 

var intName = getOption('optionInternalName');
ctx. vars.webappInternalName = intName;

<a href="<%= ctx. vars.webappInternalName %>" 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

In option try giving full unsub URL. eg, https://******/internalNameOfWebpp

And in href, 

var intName = getOption('optionInternalName');
ctx. vars.webappInternalName = intName;

<a href="<%= ctx. vars.webappInternalName %>"