How to display conflict field message when the conflict type is blackout Freeze on change form???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-16-2022 01:17 PM
Hi All,
If there is a Conflict and its conflict type is Blackout period freeze , it should display below message
'CONFLICTS DETECTED, There is a Blackout schedule - Holiday freeze period, review the Conflict Tab for more details.
or leave message as is out of the box. (There is a Out of the box -- Notify Conflict Client Script)
Notify Client Script
function onLoad() {
if (g_form.getValue('conflict_status') == 'Conflict')
g_form.showErrorBox('conflict_status', getMessage("Conflicts detected, see the Conflicts section below"));
//g_form.showErrorBox('conflict_status', getMessage("CONFLICTS DETECTED, Blackout schedule - Holiday freeze period, review the Conflict Tab for more details."));
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-16-2022 01:29 PM
Hi,
For my instance by default this Client Script is inactive. Try activating it and see if it works.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-16-2022 01:39 PM
Hi,
The above client script was already is in active but if the conflict type is Inside Blackout period, display message should display under conflict field is
CONFLICTS DETECTED, Blackout schedule - Holiday freeze period, review the Conflict Tab for more details.
or else if any other conflict type like not in maintaince window than out of the box message that Conflicts detected, see the Conflicts section below
how to do this???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-16-2022 11:27 PM
Hi Divya
You will get the message on top of the form, not the field message.
Make sure to check this property change.conflict.show_conflict_message and on the form you have conflict_status field or not?