I want to add Info message in Portal view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 12:46 AM
Hi Team.
I want to add Info message in Poral view.
Currently this message showing in platform view
But I want to add this message in Portal view also
Condition : This message should remain display until "CAN PROVISION PROD (u_approved_for_production_provisioning) "box is checked.
Can please help me how to achieve this.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:55 AM
@Shree_G ,
In Portal not working.
I have modified as you mentioned above , but Not Working as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:05 AM
@JVINAY : My mistake, didn't change the method to showFieldMsg(). Try again :
function onLoad() {
var EnvironmentsValue = g_form.getValue('u_environments');
var CanProvProd = g_form.getValue('u_approved_for_production_provisioning');
var StateValue = g_form.getValue('state');
if (EnvironmentsValue == '45f9c6b9db9a4f00eed27bedae961953' && CanProvProd == 'false' && StateValue !== '110') {
//If the requested environment is prod only, and the Can Provision Prod checkbox has not been checked, and the state is not prod readiness, display this message
g_form.showFieldMsg('u_approved_for_production_provisioning' , 'This request is for production only. In order to proceed with this production-only request, a Cloud Intake admin will need to check the CAN PROVISION PROD box and click save.' , 'info');
}
}
If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 07:07 AM
@Shree_G ,
"CAN PROVISION PROD (u_approved_for_production_provisioning) " This field is available in Platform only , not available in Portal view .
I want achieve by Using Display Business rule and client script.
if it is possible or not. Please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:07 AM
@JVINAY
Info messages will b autoflushed automatically after certain duration based on the system property "glide.service-portal.notification_timeout.seconds"