Difference between OrderNow (Service Catalog) and Submit Button(Service Portal)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2018 03:34 AM
Hi All,
May I know what is the difference between "Order Now" Button in Service Catalog (Normal View) compared to the "Submit" button in Service Portal?
Because, I have a catalog client script written on onSubmit() of a form which is working correctly in normal view but not in the service portal.
Thoughts?
Thanks & Regards,
Ram Prakash
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2018 03:43 AM
If you have some form validations in script and those validations use of glideAjax call then it will not work on Service Portal. Synchronous Glide Ajax is not supported by SP and ASynchronous glide ajax cannot be used for validations in onsubmit client script. This is because the form is already submitted by the time response received from server.
You could replace onSubmit script with onChange though. Make the variable mandatory and blank it out in onChange script if validation failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2018 06:19 AM
Hi Gurpreet,
My requirement is not something related to making variable mandatory.
But, it needs to create the number of RITMs under same REQ based on the selection of list collector values.
For Example:
If the user is selecting "3" values in List Collector, it needs to generate 3 RITMs under same REQ.
This is correctly happening in Normal View but not via Service Portal.
I have used Asynchronous Glide Ajax inorder to make the script support in SP too but its not working currently.
Thanks & Regards,
Ram Prakash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2018 09:54 PM
This should be possible using Order Guide as well. A list collector variable on order guide and a rule base to include related catalog items into order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2018 02:51 AM
Hi Gurpreet,
Currently this is working via Catalog Client Script (OnSubmit()) which is working correctly in normal view but not via Service Portal.
Eventhough this script contains the "Asynchronous Glide Ajax" to make it work in Service Portal but its not.
Hence looking for a solution how to make it work in Service Portal.
Thanks & Regards,
Ram Prakash