start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| start [12/30/2024 06:07] – [My Code] johnsonjohn | start [11/22/2025 05:05] (current) – johnsonjohn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Buttons===== | =====Buttons===== | ||
| ===List Button=== | ===List Button=== | ||
| - | <code>javascript:(function(){var myURL = window.location.href; | + | <code javascript |
| </ | </ | ||
| ===Frame Button=== | ===Frame Button=== | ||
| - | <code>javascript:(function(){var a=window.location.href; | + | <code javascript |
| ===Latest Docs Button=== | ===Latest Docs Button=== | ||
| - | <code>javascript:(function(){var a=location.href; | + | <code javascript |
| ===Debug Now Button=== | ===Debug Now Button=== | ||
| Line 34: | Line 34: | ||
| </ | </ | ||
| + | ===Assign To Me Button=== | ||
| + | <code javascript assignToMe.js> | ||
| + | //Credit to: https:// | ||
| + | |||
| + | //Onclick: runClientCode(); | ||
| + | // | ||
| + | |||
| + | // | ||
| + | function runClientCode(){ | ||
| + | g_form.setMandatory(" | ||
| + | //Call the UI Action and skip the ' | ||
| + | gsftSubmit(null, | ||
| + | }//Code that runs without ' | ||
| + | //Ensure call to server-side function with no browser errors | ||
| + | if(typeof window == ' | ||
| + | runBusRuleCode(); | ||
| + | |||
| + | // | ||
| + | function runBusRuleCode(){ | ||
| + | current.assigned_to = gs.getUserID(); | ||
| + | current.update(); | ||
| + | action.setRedirectURL(current); | ||
| + | } | ||
| + | |||
| + | </ | ||
| ---- | ---- | ||
| ======Welcome to S N F====== | ======Welcome to S N F====== | ||
| =====NON UTIL USER===== | =====NON UTIL USER===== | ||
| - | < | + | < |
| // Run DEBUG NOW only. Do not run EXECUTE NOW. This will give you a list of users that are NOT ITIL USERS. | // Run DEBUG NOW only. Do not run EXECUTE NOW. This will give you a list of users that are NOT ITIL USERS. | ||
| // This list of NON ITIL users will show up in the User Logs. | // This list of NON ITIL users will show up in the User Logs. | ||
start.1735567671.txt.gz · Last modified: by johnsonjohn
