Is there a way to synchronize with getXml?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 03:02 AM - edited 11-20-2023 03:12 AM
When I try to use getXmlWait, the error
'Access to getXmlWait is not available in scoped applications' appears as shown in the picture.
Even if return from callback, synchronization is not possible when use getXML.
After getting the value from callback, if it is over 10000, I try to return false in onsubmit and not proceed.
Please Help me.
==example==
Catalog Client Script - onSubmit
============================
============================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 10:04 AM
Hi,
You can create a temp field which basically should use for making sure the value is returned from server and marked this field as mandatory. Once return populate it.
Thanks and Regards,
Saurabh Gupta