I have created a new format definition for an Address data item, so the appropriate subfields show up within my application. I would like to default this format definition whenever someone is entering in an address within my application, so the Address Full subfield is always consistent.
There are various ways to accomplish this, but the most flexible would be to provide a module setting where a user could define the default address format to use. Then in a logic block, you can use the Retrieve Module Settings action to retrieve that setting and use a Set Action to set the FormatUsed value of the Address data item (that is type Address). Keep in mind, that the end user can always manually change the format used for the address, so you’d never want to override a format if an end user changed it. The FormatUsed should always be kept accurate for how the end user entered in the data. Do not override the FormatUsed once data has been entered since each format could be specifying different fields to expose and require.