AEM Foms (On-premisis -OSGI forms add-on )--Rule editor enable configuration for Adative forms core components | Community
Skip to main content
Level 5
March 4, 2025

AEM Foms (On-premisis -OSGI forms add-on )--Rule editor enable configuration for Adative forms core components

  • March 4, 2025
  • 3 replies
  • 998 views

Hi Team


Currently I am working developing the custom components using adative form core components but by defeault "Edit rule" disabled  , Please let me know if any configuration to enable "rule editor" so that i can write java script instead using only viusal editor core component level.

we are using AEM Forms (6.5.21) Projects on-premisis with OSGI Forms add-on)

AEM Foms (On-premisis -OSGI forms add-on ) --rule editor enable configuration for Adative forms core components

3 replies

Adobe Employee
March 4, 2025

Hi @varaande,

By default, only certain user groups might have access to the rule editor. You can configure which user groups have access to the rule editor by modifying the Adaptive Forms configuration service.
AEM Forms lets you limit rule editor access to users based on their role or function. In the Adaptive Forms Configuration Service settings, you can specify the user groups that can view and access the rule editor.

More details can be found in the documentation on: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-advanced-authoring/rule-editor-access-user-groups

Also, To enable JavaScript editing in the Rule Editor, ensure that the users who need to write scripts are added to the appropriate group with sufficient privileges. Users in the 'forms-power-users" group can create and edit scripts. Users added to the "forms-power-users" group can create the scripts and edit the existing ones. Users in the forms-users group can use the scripts but not create or edit the scripts.

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-core-components/rule-editor-core-components

Thanks
Pranay

varaandeAuthor
Level 5
March 5, 2025

Thank you.

 

In My local AEM , login as admin  but core component-->rule editor no option to use the "code editor" only visual editor which difficult so not able write own java script code to perform some logic.

 

Regards

vara

Adobe Employee
March 5, 2025

Hi @varaande,

By default admin user is also not part of the "forms-power-user" group. You will need to add the admin user to the "forms-power-user" group before accessing the rule editor.

 

Thanks

Pranay

kautuk_sahni
Community Manager
Community Manager
March 5, 2025

@varaande Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
rahulp76079001
Level 2
March 6, 2025

Please check if you are having all of form related bundles active.