Tag: MsgSplash

The MsgSplash function will display a message in a splash screen (non-blocking HTML dialog), in a list that can be scrolled.


<MsgSplash/>
XML

Tag Attributes

AttributesAttribute ValuesValue DescriptionComment
TileN/AText for the message list headerN/A
SetMsgN/AReplaces the current message list with this textN/A
AddMsgN/AAdd text to the current message listN/A
ResetLastMsgN/AReplaces the last text in the message listN/A
StopButtonTextN/AText to display in the "stop" buttonN/A

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 Script

<ytriaAutomation Application="sapio365" console="false">
	<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>
XML

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/>
XML