How to Invoke Form Data Model Service Using Custom JS in AEM Cloud Core Component Adaptive Forms?
Hi,
I am using AEM as a cloud core component based adaptive form and want API to invoke form data model service from using custom javascript rule editor function.I am referring
But I have not found any topics for API to invoke form data model service from using custom javascript rule editor function.
there are some document form AEM6.5 like : https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-advanced-authoring/invoke-form-data-model-services
But want to do in AEM as a cloud core component based adaptive form not found any document for the same.
Kindly share if there is any available API to invoke form data model service from using custom javascript rule editor function
/**
* CallApiOnButtonClick
* @name CallApiOnButtonClick
* @param {object} field
*/
function CallApiOnButtonClick(field) {
// 1. code to invoke form data model service
// business logic based on response
// 2. update form fields
}