New optional action parameter for upload function. This parameter can be used to set the post-processing action to execute after upload. Defaults to 'publishIfNeeded'. Also supports 'none' which will execute no action
Related Issue
Current implementation of upload function will automaticaly publish the uploaded resource as a public resource in Campaign. This is correct for attachments, or public resources used in email, but is not correct for other type of resoures, for instance an uploaded audience.
The default value (i.e. no action given) defaults to a pubish action for backwards compatibility
Motivation and Context
Work in progress to support upload functionality.
How Has This Been Tested?
Unit tests
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
New optional action parameter for upload function. This parameter can be used to set the post-processing action to execute after upload. Defaults to 'publishIfNeeded'. Also supports 'none' which will execute no action
Related Issue
Current implementation of upload function will automaticaly publish the uploaded resource as a public resource in Campaign. This is correct for attachments, or public resources used in email, but is not correct for other type of resoures, for instance an uploaded audience. The default value (i.e. no action given) defaults to a pubish action for backwards compatibility
Motivation and Context
Work in progress to support upload functionality.
How Has This Been Tested?
Unit tests
Types of changes
Checklist: