We're trying create an HTML message (below) that o...
# administration
d
We're trying create an HTML message (below) that only shows upon meeting criteria. We can't seem to set an Image or HTML value via workflow, or have it check the Show box to a hidden field. We don't want a pop up message that will slow a user down either. Has anyone had success in making an alert message of this type where it's hidden until criteria is met?
c
I'd probably go with an N/ui/message "banner style message". Example is SuiteAnswers 83824. This is what i've done in the past and makes a nice UI for things like this.
🙏 1
j
I was able to do this from a dropdown selection.
it only shows if the customer meets the criteria, we also use it to alert customers On Hold based on a checkbox. If I remember correctly we included logic to show specific text in the box.
d
@JC That looks good. Was this using the N/ui/message?
c
That is definitely not using N/ui/message
N/ui/message displays a full width banner at the top of the screen.
j
as @creece mentioned. Not even using a script, just a plain field with SQL as logic
c
You can add a field in beforeLoad and stick whatever HTML you want into it.
j
@Daniel Flores
d
Awesome, thank you guys very much! I guess where I'm falling short is how to connect it to search results. So for example, when a bill contains an inactive account or department, a wf removes ability to copy that bill. this alert is intended to just display why copying is not possible. I couldn't figure out how to make it conditional to the search results in that HTML format. Can I call out 'if a department is Inactive' in the formula and bypass the search and wf?
j
then the other solution would work with the N/ui/message. You should be able to filter out results and give conditions for specific values to display an alert message
this might be sort of an approach, not exactly what you need but a concept and starting point https://aecc.ca/blog/2017/04/02/how_to_generate_a_pop_up_warning_in_netsuite/