Portal campaign call-to-action

Leri Andrews
Tera Guru

Hi

 

Hope someone can help me understand if this is broken. I have a campaign for employees in Germany and a call-to-action button to take them to a knowledge article for more information.  The campaign is translated and the article is also translated (so there are two articles - one 'translated from' the other).

 

I cannot get the English campaign button to take people to the English article and the German button to the German article. Changing the button link changes it in both.

 

Thanks

Leri

3 REPLIES 3

Alex Coope - SN
ServiceNow Employee
ServiceNow Employee

Hi @Leri Andrews,

Without knowing exactly how you've set things up, the first thing I'd look at trying would be in the English written campaign, have the link URL point to the English article, and have the German translations point to the German article by adding the sysparm_query of article language as documented in this docs article. 

In theory, you should be able to do that in the actual translations of the campaign assuming you are linking to the article where the href is included in a translation entry.

 

Hopefully that makes sense,

Many thanks,
Kind regards

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization

Hi Alex

 

The href is not a translation entry - it's 'link content'.  My solution is to have two styled content and set the audience of each to a different language.  I wondered if there was a better way.

 

Thanks

Leri

Hi @Leri Andrews,

I've just had a quick look at the set up of Portal Content. The "button link" field points to a table called [sn_cd_url_asset] which holds the label and url that it's pointing to. So, I'm wondering if the sysparm_query to call the user's language as the parameter in the sysparm_query (as per the docs article I previously linked) can be entered in that "url" field of the related record?

If that doesn't work, please raise an IDEA and let me know the link and I'll upvote it for you as well as raising it in our next strategy meeting 👍

Many thanks,
kind regards

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization