Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Chaining multiple S4D Submit Actions is a flexible way of creating multiple related entities with a single form submission. However you may encounter this error when you attempt to save the form:

The error message is a little misleading, it’s actually referring to having more than one Submit Action instance with the same name.

In most recent versions of Sitecore the AllowDuplicateItemNamesOnSameLevel configuration option can be set to simply allow duplicate names under the same node in the tree site-wide. However this does not work in Sitecore 9.3, or you may not wish to allow duplicates site-wide.

Sitecore 10.2 automatically renames items with numeric suffixes to resolve this issue.

S4D offers a workaround that will resolve this issue for S4D-specific Submit Actions only. In the S4D.config file, set the FuseIT.S4D.EnableSubmitActionDuplicateHandler value to true.

<settings>
	<setting name="FuseIT.S4D.EnableSubmitActionDuplicateHandler" value="true" />
</settings>

This will suffix the form instances of the Submit Action item name with its Id to ensure unique names.

  • No labels