Skip to main content
May 2, 2023 9:19 AM UTC
Solved

Need to use unsub WebApp inside Survey WebApp

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.
ParthaSarathy
ParthaSarathyAccepted solution
Community Advisor
May 2, 2023 9:24 AM UTC

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

1 reply

ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
May 2, 2023 9:24 AM UTC

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

 

Translate
~  ParthaSarathy S