How to customize code rule editor in aem 6.5 adaptive form | Community
Skip to main content
New Participant
May 8, 2023
Solved

How to customize code rule editor in aem 6.5 adaptive form

  • May 8, 2023
  • 2 replies
  • 1178 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by workflowuser

Not possible 

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

2 replies

Employee
May 9, 2023

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-rule-editor-aem-forms-technical-video-use.html?lang=en

New Participant
May 11, 2023

@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

workflowuserAccepted solution
Employee
May 11, 2023

Not possible 

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

Employee
May 8, 2023

you can prevent authors from accessing rule editor using groups

New Participant
May 9, 2023

@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