Expand my Community achievements bar.

SOLVED

How to customize code rule editor in aem 6.5 adaptive form

Avatar

Level 4

Hello,

 

Could any one provide inputs how to customize code rule editor in AEM 6.5 adaptive form.

 

Requirement:-

 

1>We have form config values mentioned in the FORM using code rule editor

2>We don't want authors to change the data entered  , if they try to change any value mentioned in the form rules ,then it must show an error message to authors .

 

Any code samples on this will be helpful.

 

Thanks,

Srinivas

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Not possible 

you can restrict access to the rule editor for all the forms not on a per form basis

View solution in original post

5 Replies

Avatar

Employee Advisor

you can prevent authors from accessing rule editor using groups

Avatar

Level 4

@workflowuser 

When we add groups those set of members will have access to edit it right.

 

We would to show an  error message to all authors.

 

How to achieve it

 

Any code samples will be helpfull.

Regards,

Srinivas

Avatar

Employee Advisor

you can prevent some authors from accessing the rule editor. you cannot prevent people from accessing the rule editor and not making changes

 

https://experienceleague.adobe.com/docs/experience-manager-learn/forms/adaptive-forms/restricting-ru...

Avatar

Level 4

@workflowuser 

 

Thanks for the input

Can we restirct groups to certain forms

I meant we have say 10 forms

is it possible to restrict 5 forms to certain groups and other 5 forms to the other group

 

Thanks,

Srinivas

Avatar

Correct answer by
Employee Advisor

Not possible 

you can restrict access to the rule editor for all the forms not on a per form basis