<core:FragmentDefinition
		xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
		xmlns="sap.m" xmlns:build="sap.build" xmlns:core="sap.ui.core">

	<template:if test="{= ${tmpEntitySet>EntitySet} === ${parameter>/entitySet} }">
		<template:repeat list="{tmpEntitySet>Actions}" var="customAction">
			<!-- create a button if the action is global-->
			<template:if test="{= ${customAction>global} === true}">
				<Button id="action::{customAction>id}"
				text="{customAction>text}"
				press="{customAction>press}"
				type="{= ${parameter>/isFiori3Enabled} ? 'Default' : 'Transparent'}">
					<layoutData>
						<OverflowToolbarLayoutData priority = "{customAction>importance}"/>
					</layoutData>
				</Button>
			</template:if>
		</template:repeat>
	</template:if>
</core:FragmentDefinition>