- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018 12:34 PM
I created a catalog item that works fine in the standard GUI but fails in the portal. The fields, UI actions, and clients scripts all behave as expected but the screen freezes when I select Order Now or Add to Cart. I did manage to find an error: "could not find script to run for this action" but I don't know what specific script/action it's referring to. I haven't made any changes to any core items (scripts, forms, etc.) so I'm not sure what the problem is. Any advice/direction would be appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 10:00 AM
Rookie javascript mistake. Although I use getIntValue for each box and then add the numbers I was writing a number into the 'total' field when setValue clearly calls for a String... Once I added a step to convert the value into a string the item works properly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2018 07:28 PM
First check the console for for errors..if you find any then post that below..we can check that further.(F12 in chrome)
In service portal some form functions are not supported so you need to add some modifications tto make taht working.
Thanks,
Satheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 12:15 PM
I see an error:
Failed to load resource: the server responded with a status of 404 (Not Found)
https://devxxxxx.service-now.com/api/sn_sc/v1/servicecatalog/items/2cf38019dbf92300a3d97fcfbf9619ee/order_now
The sysid in that URL belongs to the catalog item being ordered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 12:44 PM
Can you go into just the cart itself from the portal without it freezing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 12:47 PM
No. Adding to the cart causes the same problem