I need to show a pop up message using UI page. Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 07:39 AM
I need to show a pop up message using UI page. Please suggest.
I want to show the below text when the user selects below conditions on the catalog item.
vSystem Type = “SAP ECC System”
vSAP System = “AP8, AP9”
vSAP Module = “system_Security” or “system_USY”, Display a Popup message
ØProposed message in the Popup screen – Create request directly in Uwasy for following type of security requests (for both PROD & Quality systems); Do not create ticket
vCreate New User
vChange user role
vRole addition / Role deletion
vChange role validity date
vExtend user (“User Validity Date”)
vDelete User (“Expire User”)
vUnlock User
vPKI exception
vUpdate SNC data
vChange User and User Access
ØIf User unaware of what roles/OLS are to be requested, please contact key user, a power user, or an LBL.
Ø
ØExceptions to raise ticket
vAll other type of requests not mentioned above; For ex -
- User group changes
- Role changes
- Role Owner update
- Roles not available
vAuthorization / Access Issues
vUeasy is down
Ø
ØLink to Ueasy in the popup message :-
ØAP9 : https://mcdefranwzsfgdh/aspl/ax
ØAP8 : https://cnshazedgtdgbx/aspl./ax
Ø
ØLink to knowledge article in the popup message
ØAP9 : Uwasymnual.display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 12:28 AM
Hello @Archana23 ,
Please refer to: https://davidmac.pro/posts/2022-02-08-glidemodal/
If you find my response helpful, please consider marking it as the 'Accepted Solution' and giving it a 'Helpful' rating. Your feedback not only supports the community but also encourages me to continue providing valuable assistance.
Regards,
Amitoj Wadhera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 12:38 AM - edited 05-01-2024 12:38 AM
Hi @Archana23 ,
you will need to create a onChange client script with below logic and do a condition check if the field value matches to the conditon that you need.
FIX THE CODE AS PER YOUR REQUIREMENT :
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue === '') {
return;
}
var field1= g_form.getValue('fieldvalue');
var field2= g_form.getValue('field value');
var field3= g_form.getValue('field value');
if ( field1 =='x' && field2 == 'y' && field3 =='z') { // on change of SAP model check for all 3 field values
var body = '<p><b>Selected system type :</b> ' + field1+ '</p>';
body += '<p><b>SAP System:</b> ' + field2 + '</p>';
body += '<p><b>SAP Module:</b> ' + f + field3'</p>';
var gm = new GlideModal('my_modal');
gm.setTitle('Popup Message');
gm.setBody(body);
gm.render();
}
}
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....