I am currently transitioning button rules from an adaptive form to client libs. In my rules I have the following.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
I am not able to comprehend the usecase where you want to make it a page level client library. In any case the issue is with
var myForm = window.myForm = window.myForm || {};
/**
* @function myForm.execute_service
* @Param {scope} scope in which code inside function will be executed.
*/
myForm.b2_evacuateIndependently_valueCommit0 = function (scope) {
with(scope) {
var operationInfo = {
"formDataModelId": "/content/test/formsanddocuments-fdm/myproject/samplepostgres",
"operationTitle": "Fetch From Attachment Form",
"operationName": "fetch"
};
var inputs = {
"id": id.value
};
var outputs = {
"id": id,
"name": name,
"description": description
};
guidelib.dataIntegrationUtils.executeOperation(operationInfo, inputs, outputs, null, null,);
}
Doc link: Check heading "Custom functions in rule editor" in https://experienceleague.adobe.com/docs/experience-manager-65/content/forms/adaptive-forms-advanced-...
Views
Replies
Total Likes
@Sakshi5 some reason the guidelib is undefined for me . In custom client lib . Any dependencies? The myform is empty . I am on AEMaaCS core form component and not using foundation template but new r version of template
Views
Replies
Total Likes
Views
Likes
Replies