- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019 10:59 AM
Important note: I am able to submit the record producer (RP) in native with the mutli-row variable set (MRVS) with expected results. I have a RP that was working fine on the HR portal without the MRVS, but as soon as I added the MRVS when I click the submit button from the portal the submit button stays stuck on "Submitting" and never actually submits. The error I receive in my browser console says "(g_form) [NOACTION] Could not find UI Action: submit".
When I looked this up in the community I came across a thread that said they had to change the widget instance from these OOB widgets "SC Catalog Item Deprecated" to "SC Catalog Item" and it worked. I did this in my PDI and it works fine. When I did the same in the client's instance I received 3 distinct errors:
- Failing widget: 'SC Catalog Item Cloned' (this was my cloned SC Catalog Item widget)
- js_includes_sp.jsx?v=09-20-2018_1514&lp=Thu_Dec_20_07_39_08_PST_2018&c=27_389:67257 Server JavaScript error Cannot call property size in object com.glide.script.fencing.ScopedChoiceList@10347c6. It is not a function, it is "number".
- Line number 74 (this is in reference to the server script line 74 which ties into #2)
Line 74 of the server script for that widget is a part of this block of code:
71 var clGenerator = new GlideChoiceList();
72 var choiceListQuantity = clGenerator.getChoiceList("sc_cart_item", "quantity");
73 var choicelistQuantityData = [];
74 for (var i = 0; i < choiceListQuantity.size(); i++) {
75 var choice = choiceListQuantity.get(i);
76 if (!isNaN(choice.getValue()))
77 choicelistQuantityData.push({value : parseInt(choice.getValue()), label : choice.getLabel()});
78 }
Any help is greatly appreciated.
Solved! Go to Solution.
- Labels:
-
Employee Service Center
- 3,352 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2019 08:53 AM
SN answered back saying to use the widget "SC Catalog Item" which I already knew (and is posted in the original question). As I stated before it does work once you use that widget, but once you clone and customize it it no longer works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019 08:28 PM
I have the same exact issue, please let me know if you figured out anything.
Thanks,
Niranjan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2019 12:38 PM
Niranjanreddy,
The client has put in a HI ticket for this issue. Once SN responds with a fix I will post it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2019 08:53 AM
SN answered back saying to use the widget "SC Catalog Item" which I already knew (and is posted in the original question). As I stated before it does work once you use that widget, but once you clone and customize it it no longer works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2019 09:33 AM
Thanks for Updating on this. even i raised a ticket to servicenow. i will let you know once they get back to me. Also please let me know if you resolved this using some-other workaround.
Thanks,
Niranjan.