- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 06:32 PM - edited 08-08-2024 10:26 PM
Hello Expert
There is a URL written in a knowledge article. I am looking for a way to redirect this to suit the portal or mobile.
■Problem
The knowledge article has the following URL written as a URL to refer to other knowledge articles:
https://<instance_name>.service-now.com/<portal_name>?id=kb_article&sys_id=<sys_id>
This was written in this way because I was only using the portal at first.
A problem has arisen when developing mobile from now on.
I want to display knowledge articles natively on mobile, but the above URL will access the web portal on mobile.
■What I want to solve
-If the URL is from the portal, what kind of URL should I use to open knowledge or catalog content on the portal, and if the URL is accessed from mobile, what kind of URL should I use to open the content on mobile?
-The URL is inserted into many knowledges, and it is difficult to change each one. Is there a way to change or redirect them all at once?
I look forward to your ideas.
Best Regard.
senon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 01:23 AM
I found a way to make content accessible for portals and mobile devices.
It's by using dynamic links.
we will update the way of attach link as: ?id<table name>&sys_id=<record sys_id>
For catalog: ?id=sc_cat_item&sys_id=<catalog sys_id>
For article: ?id=<kb_knowledge>&sys_id=<KB knowledge sys_id> or ?id=kb_article_view&sysparm_article=<KB_number>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 07:38 PM
Hello,
Doesn't this automatically convert to the mobile equivalent? Have you checked?
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 10:11 PM
ご返信ありがとうございます。
はい、モバイルに表示されたナレッジからURLにアクセスすると、Webポータルのナレッジ記事が表示されることを確認しました。

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2024 07:43 AM - edited 08-09-2024 07:44 AM
Hello,
Unfortunately, there doesn't seem to be an easy way to handle this since you can't use UI Script on mobile. You would want to consider reviewing those Knowledge Articles that have links and possibly add a mobile equivalent to it or the users will just need to understand that they are going to use portal links for past articles, but in new articles, you all start to add a portal and mobile friendly link as well.
I don't really see it being feasible to try and go use script to accomplish adding another link to these articles since most flows require approval for article edits, etc.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 01:23 AM
I found a way to make content accessible for portals and mobile devices.
It's by using dynamic links.
we will update the way of attach link as: ?id<table name>&sys_id=<record sys_id>
For catalog: ?id=sc_cat_item&sys_id=<catalog sys_id>
For article: ?id=<kb_knowledge>&sys_id=<KB knowledge sys_id> or ?id=kb_article_view&sysparm_article=<KB_number>