- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2017 03:07 AM
Hey,
I basically want some functionality that creates a random password of 8 characters usings a-z,A-Z, and 0-9. I was thinking of just having a UI page with a button and a text box with the output. I only need something as simple as that, unfortunately I am awful at HTML and Jelly so any help would be appreciated.
Note: we are on Geneva and also don't have the plugin for Ouath security or any of those, so we cannot use that out-of-box functionality.
Thanks in advance...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2017 03:37 AM
Hi John,
This entry available on ServiceNow Share should do what you are wanting with minimal effort:
Regards,
Paul.
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2017 03:37 AM
Hi John,
This entry available on ServiceNow Share should do what you are wanting with minimal effort:
Regards,
Paul.
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2017 03:47 AM
Thanks Paul,
I just registered for Snow Share to get it, but I unfortunately don't know how long it will take, is there any way of getting the information faster? sorry about this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2017 04:30 AM
Try this: Create a button to produce a random number.
Or this: Generate random string/characters in JavaScript - Stack Overflow
Or this UI action:
Name: Random
Client: true
onClick: generateNumber()
Script:
function generateNumber() {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for( var i=0; i < 15; i++ ) //will generate 15 characters pasword
text += possible.charAt(Math.floor(Math.random() * possible.length));
alert( text);
}
harel