Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield1655

ActionField1655

Beschrijving: Open portal mtbook for this equipmentType. Custom: Nee

Propertiesbewerken

Property Type Accessor
EquipmentType EquipmentType Root
OpenInNewWindow Boolean Optional

XMLbewerken

<Workflow Name="ActionField1655" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Open portal mtbook for this equipmentType.</Description>
	<Properties>
		<Property	Name="EquipmentType"	Type="EquipmentType"	Accessor="Root"		Direction="In" />

		<Property	Name="OpenInNewWindow"	Type="Boolean"			Accessor="Optional"	Direction="In"		Default="True"										Comment="Open mtbook portal in a new window True or False" />

		<Property	Name="UrlPortalMTbook"	Type="String"			Accessor="Internal"						Default="#{Settings.EquipmentType.UrlPortalMTbook}" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="Name" Condition="${EquipmentType.ExternalId} == Empty">
			<Stop Name="Stop" Mode="EndAll" />
		</When>

		<When Name="Name" Condition="${UrlPortalMTbook} == Empty">
			<Assign Name="Name" Property="${UrlPortalMTbook}" Value="https://portal.mtbook.nl/equipmenttype/detailview/" />
		</When>

		<Assign Name="Name" Property="${UrlPortalMTbook}" Value="=#concat(${UrlPortalMTbook},${EquipmentType.ExternalId})" />

		<UserContent Name="Post" />

		<View Name="Url" ViewName="Url">
			<Parameter	Name="OpenInNewWindow"	Direction="In"		Value="${OpenInNewWindow}" />
			<Parameter	Name="Url"				Direction="In"		Value="${UrlPortalMTbook}" />
		</View>
	</Execution>
</Workflow>