MsgSplash: display a message with an HTML dialog
Tag: MsgSplash
The MsgSplash function will display a message in a splash screen (non-blocking HTML dialog), in a list that can be scrolled.
Tag Attributes
Attributes | Value Description |
---|---|
Tile | Text for the message list header |
SetMsg | Replaces the current message list with this text |
AddMsg | Add text to the current message list |
ResetLastMsg | Replaces the last text in the message list |
StopButtonText | Text to display in the "stop" button |
When the user clicks the STOP button, automation ends after the current action is completed. No action is executed after STOP is clicked, the rest of the script or job is entirely bypassed (so no reports, emails etc)..
Example Scripts
<MsgSplash/>
<ytriaAutomation>
<MsgSplash Title="JOB IS RUNNING" SetMsg="Loading users" StopButtonText="Stop Job"/>
<ShowUsers/>
<MsgSplash AddMsg="Show me your box"/>
<MsgBox Title="MSGBOX" Message="CAN YOU SEE ME?" MessageExtended="Hein?" Type="questioN"/>
<MsgSplash AddMsg="Show me your input"/>
<userinput Title="TEST USER INPUT">
<Variable name="varGuest" value="false" Label="Files shared directly with guests" Type="BoolToggle" />
<Variable name="varNumPeople" value="false" Label="Files shared with a certain number of people or more" Type="BoolToggle" />
<Variable name="varNumber" value="0" Label="Enter the minimum number of file shares" Type="Text" readonly="false" />
<Event target="varNumber" mode="disableifnoteq" source="varNumPeople" value="true"/>
</userinput>
<MsgSplash SetMsg="Processing groups" AddMsg="<a href=http://www.viandetiede.com>LE BONHEUR</a>"/>
<ShowGroups>
<Filter columnID="isTeam" Value="Team"/>
<Select lines="all"/>
<MsgSplash AddMsg="LOAD MORE - Please wait..."/>
<SelectedGroupLoadMore/>
<MsgSplash ResetLastMsg="LOAD MORE - Done"/>
<MsgSplash AddMsg="ADD COMMENT - Please wait"/>
<AddComment columnTitle="Note:" text="Show me your team" ColumnID="ownerusernames"/>
<Move ColumnID="ownerusernames" Position="6"/>
<Move ColumnID="ownerusernames-A" Position="7"/>
<Remove ColumnID="groupType"/>
<Remove ColumnID="visibility"/>
</ShowGroups>
</ytriaAutomation>
All messages may be HTML-formatted - it must then be escaped in your XML script.
Tag: MsgSplashClose
The MsgSplashClose function removes the splash screen at the end of the automation.
<MsgSplashClose/>