Comments on: GlideDialogWindow – Terms and Conditions Acceptance Page https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 20:51:45 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Rick Saunders https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7599 Thu, 21 Sep 2017 08:48:55 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7599 We have found recently that when Cancel is clicked on this UI popup it does not cancel or redirect to the catalogue. It seems to work fine in Chrome. Anyone else had this issue?

]]>
By: Vinoth https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7598 Wed, 11 Jan 2017 13:42:07 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7598 Hi,

For me close button is working on the homepage loading page(which should not be) and the same close (X) is not shown if I open in new page. Can you please advise me, X should not be available even if I load on the same page

]]>
By: Praveen https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7597 Fri, 04 Sep 2015 10:54:57 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7597 In reply to Mark Stanger.

Hi Michael,

i tried this script but when i click on Ok button its not submitting order it is just collapsing window,please guide me to proceed.

Regards,
Bharath

]]>
By: Mark Stanger https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7596 Thu, 30 Jul 2015 12:09:54 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7596 In reply to Richard Saunders.

Sounds like maybe a timing issue in IE. You might try using ‘setTimeout’ to slightly delay the rendering of the terms and conditions page. You can google ‘setTimeout’ to see how that is done.

]]>
By: Richard Saunders https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7595 Thu, 30 Jul 2015 07:56:55 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7595 Hello, Thanks for this is exactly what we are looking for. One odd thing is the popup renders halfway down the page and then you have to scroll back up to Add to Basket. This is only affecting IE and works seamlessly in Chrome. Any ideas?

]]>
By: Mark Stanger https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7594 Fri, 22 May 2015 16:48:16 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7594 In reply to Chris.

In that case, it might be easier just to go with a checkbox and an HTML variable on the catalog item. This would allow you to capture point-in-time terms pretty easily. You could also set up the dialog to write the HTML terms to an HTML field on the RITM form, but you’re essentially getting that with the variable approach without any fancy scripting. You’ll want to restrict the ‘Create roles’ to ‘nobody’ on the HTML variable if you go that route.

]]>
By: Chris https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7593 Fri, 22 May 2015 16:44:29 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7593 Mark,
This works great and I’ve put it to use on our cell phone request by putting our Wireless Policy on the screen that the user has to accept before submitting the request. Now our HR department would like us to capture the user acceptance in the activity section RITM. They would even like to go as far as capturing the verbiage of the Wireless Policy (UI page) in the activity section of the RITM. That way, in the event the policy is updated in the future then we know what version of the policy the user had accepted at that time. Can this be done, and if so, how?

Thanks,
Chris

]]>
By: Mark Stanger https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7592 Mon, 18 May 2015 19:33:09 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7592 In reply to GeoffM.

I don’t think there’s an existing call like this just for an ‘OK’ button, but it would be very easy to create one. You can find the ‘dialog_buttons_ok_cancel’ UI macro record in your system and then use that as a template to create your own custom UI macro with just the one button. Once you’ve done that you can reference it in the same way by whatever name you choose for the macro.

]]>
By: GeoffM https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7591 Mon, 18 May 2015 19:29:18 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7591 Hi all – is there another call besides g:dialog_buttons_ok_cancel that will display just an OK button? I can’t seem to find a reference for it. The reason would be in situations where you want to use a better looking, formatable UI page instead of an ugly javascript alert to impart info to the user.

Cheers,

G

]]>
By: Joel E https://servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/#comment-7590 Fri, 30 Jan 2015 06:33:40 +0000 https://servicenowguru.wpengine.com/?p=2168#comment-7590 Hi,

This script is very helpful. I am trying to get this to work on an Order Guide in Eureka. It works well except the following script that simulates that order submission.

// This will submit the order
gel("order_now").onclick = "";
var item_guid = gel("sysparm_item_guid");
if (item_guid) {
  item_guid = item_guid.value;
}
g_cart.order(gel("sysparm_id").value, getQuantity(), item_guid);

I inspected the element of the “Check Out” button in Order Guide, it does not have an element id. Also, all the references in the above code snippet is not in the Order Guide. Is there a way to make this work on Order Guide – i.e. once the user accepted the Term and Condition, the order is submitted?

Thanks and regards,
Joel

]]>