I need to allow only one letter in the drive letter/mount point variable based on the server operati
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 08:07 AM
I need to allow only one letter in the drive letter/mount point variable based on the server operating type , if the server operation type is windows we need to allow only one letter like C or D.., and if the server operating type is linux we need to allow /usr/opt...
Please help me in scripting part.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 08:47 AM
Separate field for Drive Letter & Mount Point. The Drive Letter variable can have max_length=1.
Show Drive Letter or Mount Point variable based on Server Operating Type. I am assuming you know how to get the Operating Type using GlideAjax.
Alternative to not use GlideAjax code would be to add an Operating Type field on the form (read-only) and populate using Auto-populate on variables. Based on this read-only field, show/hide Show Drive Letter or Mount Point.
Regards,
Sharad