The rule editor enables users to add logic to AEM Adaptive Forms. AEM 6.3 improves the rule editor in several ways making it easier and faster for both technical and non-technical users alike to add intelligence.
In addition to pre-populating all of this content for non-technical users, we’ve also added the ability to add Web services directly to the rule editor itself. Let me show you what I mean. I’ve got this IP address here, that we’re using to populate an IP address, Going to take that IP address and look up the country based on that. So using nothing more than the visual editor, I’m going to choose my IP address We’ll look at when the IP address has changed, in other words, when we’ve added a value to it and then we’ll invoke an action. In this case we’re gonna use the invoke service action I’m going to paste a WSDL, a web service, directly into the rule editor itself Now the rule editor goes out and finds the properties with that web service In this case, getGeoIP is the one I’m gonna want to use. And now I can simply drag and drop some values into these fields. I’m going to do that by opening my sidebar and dragging the IP address itself, as the value for our input, then dragging the country as the value for our output for the country code.
And clicking done, so we’re now able to incorporate Web services directly into the rule editor. If I hit close, we can test this formula, by clicking preview you’ll notice that the form automatically fetches my IP address and pre-populates the country. One of the other abilities we’ve added in the rule editor whether you’re using the visual editor, or the code editor, is the ability to easily disable rules as well. So if we go back to the rule editor. Select any of the objects on my form that have a rule on them which I can see by the little green light on this object I’ve now got the ability to click disable. To disable that rule, temporarily or permanently making it easier to test my forms. Those are some of the new features that we’ve added to the rule editor In Adobe Experience Manager 6.3 forms. Thanks for your time.
Some of the improvements to the Rule Editor include: