Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Accessing QualifiedName or SOMExpression in a custom rule function

Avatar

Level 4

We are developing a custom function to update the values of several fields depending on some logic. 

We would like this to be configurable through the Rules Editor so that the fields can be dragged onto the Input parameters.

However we seem to be unable to get hold of the field Object directly or pass in either the QualifiedName or SOMExpression (we are using Core Components, hence the QualifiedName) - All we can get is the value of the field.

 

I had also though we could try getting the QualifiedName from a property and passing that to the input for the custom function.

 

Has anyone got any suggestions?

 

We used to be able to access the SomExpression from the Rules Editor but not in the Cloud / Core Components setup

IainClucas_0-1705421472561.png

 

1 Reply

Avatar

Level 1

Ability to pass fields in parameters and modify field properties of core-components based form inside custom functions will be available in future release of AEMaaCS.