0

I'm using Sitecore 9.3

Is it possible to add Sitecore validations to the parameters of a marketing automation activity type? I have a parameter called "Title" for example, and I'd like to add a length validator to it.

I tried checking the "Validation Rules" of the Parameter item, but they are mostly validations related to the content editor, and I can only choose "item" validators from within them, not "field" validators.

I've been searching but I couldn't find any information related to this, is it possible to do?

1 Answer 1

0

If this is for a custom activity type you will have to do the validation in the client-side JavaScript code for the Activity. I am not aware of any way to achieve this in the Sitecore activity parameters item that will be reflected in the Marketing Automation UI.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.