- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2017 01:43 AM
Hello,
I need to mask field on the form as we mask on record producer by using mask type. I doesn't want to use password type.
Can anyone help me out??
Thanks,
Nitesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2017 02:02 AM
Hello Nitesh,
From Istanbul and Jakarta version, If you use a password(encrypted type 2). it will automatically mask the field on service portal. there by you can decrypt that by the following code:
var Encrypter = new GlideEncrypter();
var encrypted = current.variable name;
var decrypted = Encrypter.decrypt(encrypted);
current.u_client_instance_password = decrypted;
current.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2017 11:14 PM
Thanks Vipul,
Its working as expected on form. Is there any way to work as same as form on service portal? Field should be masked on service portal page also,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2017 11:55 PM
There is an option on the client script form - UI Type. Please select All to run this script on mobile, desktop, service portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2017 12:04 AM
Yes i selected UI type as ALL, but its not working as expected on service portal. Under UI type its showing service portal option in Istanbul and Jakarta but i am using Helsinki version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2017 02:02 AM
Hello Nitesh,
From Istanbul and Jakarta version, If you use a password(encrypted type 2). it will automatically mask the field on service portal. there by you can decrypt that by the following code:
var Encrypter = new GlideEncrypter();
var encrypted = current.variable name;
var decrypted = Encrypter.decrypt(encrypted);
current.u_client_instance_password = decrypted;
current.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2017 02:24 AM
Yes surya, its working on jakarta and istambul.. its working good in helsinki if using password 2 type and that code... keep doing good work.
Thanks for your help..