- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2019 03:28 AM
Hi All,
I have a catalog item/record producer that I don't want it to have any fields. I simply want to redirect the user to a specific page. In other words, when the user opens this (catalog item/record producer), it should redirect the user to a specific page. Is this possible?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2019 03:43 AM
why don't you use content items here.
you can define it as an catalog item and whenever user will click on that it will redirect to other page or same window
select Content type as external content.
adding doc link here.
Procedure
- Navigate to Service Catalog > Catalog Definition > Content Items.
- Click New.
- Fill in the form to define the item.
Content Item form Field Description Name, Category, Icon, Roles, Active, As for standard catalog items. Content type The type of information to display when a user selects the item. - KB Article: a ServiceNow knowledge article available to users with the specified roles.
- Catalog Content: a static block of text, formatted with HTML.
- External Content: documents or web pages stored outside the base system instance.
Target Location where the content appears. - Within Catalog: displays the content within the catalog iframe window (which may not render some external websites properly).
- New Window/Tab: displays the content in a new browser window or tab. Choose this option if the content does not display properly within the catalog.
URL The full URL (including the prefix http:// or https://) for external content to display when a user selects the item. This field is available only if the Content type is External Content. Note: Since base system instances are accessed via HTTPS, links to HTTP sites could result in a mixed mode content error or warning, depending on browser security settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2019 12:16 AM
Hi Mohammad,
Are you trying this script after the solution was proposed or after it. Because I believe if you have applied the solution posted above then this won't work since onLoad itself may not work.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2019 03:44 AM
Hi Ankur,
I tried your solution first and when it didn't work I tried the solution proposed by Harshvardhan.
The problem is that the code I wrote inside the onLoad was never executed so I feel like I missed something and I want to know what I missed in case I need this in the future.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2019 03:51 AM
would you mind to share your catalog item screenshot which you had created before and the script which ankur given that should also work.
i am not sure here, right now are you running the onload script on content item or catalog item ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 04:11 AM
Ankur I am facing the same kind of issue. I tried what you suggested but that doesn't work. Can you elaborate little more

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2019 03:43 AM
why don't you use content items here.
you can define it as an catalog item and whenever user will click on that it will redirect to other page or same window
select Content type as external content.
adding doc link here.
Procedure
- Navigate to Service Catalog > Catalog Definition > Content Items.
- Click New.
- Fill in the form to define the item.
Content Item form Field Description Name, Category, Icon, Roles, Active, As for standard catalog items. Content type The type of information to display when a user selects the item. - KB Article: a ServiceNow knowledge article available to users with the specified roles.
- Catalog Content: a static block of text, formatted with HTML.
- External Content: documents or web pages stored outside the base system instance.
Target Location where the content appears. - Within Catalog: displays the content within the catalog iframe window (which may not render some external websites properly).
- New Window/Tab: displays the content in a new browser window or tab. Choose this option if the content does not display properly within the catalog.
URL The full URL (including the prefix http:// or https://) for external content to display when a user selects the item. This field is available only if the Content type is External Content. Note: Since base system instances are accessed via HTTPS, links to HTTP sites could result in a mixed mode content error or warning, depending on browser security settings.