- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 07:57 AM
Hi All,
While trying to submit the request through portal. It just says Submitting..... When i inspect the portal it says on console that could not find UI Action.
Please suggest what is the error. I am not able to get the error.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 12:46 PM
Hi,
It looks like maybe some sort of command (possibly issue with a g_form line) is causing issues in maybe the UI Action for submit? I would investigate this UI Action and see if anything was altered with it, if so, evaluate/troubleshoot and/or go back to OOB version.
Also try with another request item and see if you get the same result.
Please mark reply as Helpful/Correct, if applicable. Thanks!
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
04-02-2019 12:25 AM
This was super helpful! Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2019 08:47 PM
In earlier versions of the "SC Catalog Item" widget the g_form.submit() method call returned a value, which would then execute the submission of the catalog item from what I recall.
if (g_form.submit()) {
// run submission POST API code...
}
In the later versions, g_form.submit() now uses a callback/promise to execute the form submission which POSTS to the catalog item API. So, one would need to run the submission code on that callback to ensure the form is submitted.
g_form.submit();
...
g_form.$private.events.on('submitted', function(){
...
// run submission POST API code
})
However this does not solve the console error but does fix the issue of the form not being able to be submitted.
This "SC Catalog Item" widget I've been working on, has been highly modified and is the first instance of this widget, we're currently on the 3rd iteration of this widget as of New York.
So this fix may only apply to those that maybe using a modified older version of the widget. If not, make sure you're using the later version of the SC Catalog Item widget for the "sc_cat_item" portal page