FoodBankToast.Add.Task.xml

Version: This material pertains to version 3.0 of Blackbaud CRM SDK.

The Toast element displays a "toast" notification in addition to the post-action event. See PostActionEvent Toast.

<TaskSpec
	xmlns="bb_appfx_task"
	xmlns:common="bb_appfx_commontypes" 
	ID="04B7506B-928F-4171-9654-6025830EE9D3"
	Name="Add Food Bank (with Toast)"
	Description="*New for SDK 3.0* Add New Food Bank with Toast notification"
	Author="Technical Training"
	FunctionalAreaID="2b32333c-5cd7-4e54-a3d3-a41b382cdfa9"
	Sequence="7"  
	>

	<!-- indicate what this task should do (navigate to a page, show a form, etc. -->
	<common:ShowAddDataForm DataFormID="D580ABBD-2974-4ADB-BD8A-8CF6F76DE8E6">
		<common:PostActionEvent>
      <common:Toast Importance="High" Message="Food Bank Added!" >
        <common:ConfirmEvent>
          <common:GoToPage>
            <common:SpecificPage PageID="2ca4f7de-41d0-4131-8c1b-5a532385794a" 
                                 TabID="1cfdf9d2-7d0b-437a-9034-6cfbc6ba1a49"/>
          </common:GoToPage>
        </common:ConfirmEvent>
      </common:Toast>
    </common:PostActionEvent>
	</common:ShowAddDataForm>
</TaskSpec>