Need to use unsub WebApp inside Survey WebApp | Community
Skip to main content
May 2, 2023
Solved

Need to use unsub WebApp inside Survey WebApp

  • May 2, 2023
  • 1 reply
  • 604 views

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

 

 

 

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 ParthaSarathy

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

 

1 reply

ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
May 2, 2023

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

 

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups