Content Publishing News Articles - Linking Non-Preview Version

maxstnr
Tera Contributor

Hello, wondering if others have ran into this & how they have solved. Our company sends out a newsletter each week containing links to News Articles created in our instance via the Content Publishing application. The issue is some of these news articles aren't set to be available until the newsletter is sent out. How can we copy the URL of the news article for our newsletter if it's still in a preview state? If we copy the preview link, then users will always be directed to the preview link.

I was able to take the sys ID of the news article & modify the URL, and while that worked, it seems cumbersome. Is there a better way?

1 ACCEPTED SOLUTION

Pooja_Patil
ServiceNow Employee
ServiceNow Employee

@maxstnr , preview link is mainly for content creators to preview their contents


OOB page for news article is cd_news_article, so URL would be

/<portal>?id=cd_news_article&sys_id=<sys_id_of_content>

 

You can create a script that gives you sys_ids matching your criteria and use that in your newsletter.

 

 



 

View solution in original post

1 REPLY 1

Pooja_Patil
ServiceNow Employee
ServiceNow Employee

@maxstnr , preview link is mainly for content creators to preview their contents


OOB page for news article is cd_news_article, so URL would be

/<portal>?id=cd_news_article&sys_id=<sys_id_of_content>

 

You can create a script that gives you sys_ids matching your criteria and use that in your newsletter.