I need to show a blue banner message when clicking save for IT knowledge article that in draft state. I try to use UI policies to show pop up message but it will break the ATF, but when use gs.showInfoMessage, it not appear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 05:06 PM
I need to show a blue banner message when clicking save for IT knowledge article that in draft state. I try to use UI policies to show pop up message (alert) but it will break the ATF, but when use gs.showInfoMessage, the message not appear. Please help to suggest solution for this item
- Labels:
-
Team Development
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2022 03:27 AM
Hi Muhammad,
Sol 1:
You can write on submit client script & in script you can use condition as when state is draft.
when record state is draft and when ever they tries to click on save the message will show on screen
if(state == "draft"){
g_form.addInfoMessage("write the text what ever you want");
}
------------------------------------------------------------------------------------------
Sol 2:
You can write business rule : Condition is state is Draft, you can use "Display" option.
Regards,
Naveen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2022 07:14 PM