### XBL Components Guide Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 This section offers a guide to XBL (XML Binding Language) components, explaining how they can be used to create reusable UI elements and extend XForms functionality. ```XML ``` -------------------------------- ### XML Platform Developer's Guide Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/docs/dynamic-forms A guide for developers focusing on the XML Platform aspects of SAP Dynamic Forms. It explains how to leverage the XML platform for form development. ```English Information for developers about the XML Platform. ``` -------------------------------- ### Form Runner User Guide Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/docs/dynamic-forms User guide for end-users on operating the Form Runner feature of SAP Dynamic Forms. It provides instructions on how to fill and submit forms. ```English Information for end users about the Form Runner feature. ``` -------------------------------- ### Template Management Guide Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/docs/dynamic-forms Learn how to create, manage, and configure form templates for SAP Dynamic Forms. This guide is essential for efficient form lifecycle management. ```English Learn about how to create, manage and configure form templates. ``` -------------------------------- ### XForms Developer's Guide Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/docs/dynamic-forms Technical documentation for developers working with XForms within SAP Dynamic Forms. It covers the specifics of XForms implementation and usage. ```English Information for developers about XForms. ``` -------------------------------- ### Form Explorer User Guide Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/docs/dynamic-forms Guide for end-users on utilizing Form Explorer in SAP Dynamic Forms. It explains how to manage the relationship between SAP business objects and forms. ```English Information for end users about how to use Form Explorer, which is the central tool for managing the relationship between SAP business objects and forms. ``` -------------------------------- ### Form Builder Developer's Guide Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/docs/dynamic-forms Information for developers on using the Form Builder component of SAP Dynamic Forms. This guide details how to design and build forms within the platform. ```English Information for developers about the Form Builder. ``` -------------------------------- ### XForms Output Control Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 This section details the XForms output control, used for displaying data to the user. It explains how to present data from the model. ```XML ``` -------------------------------- ### SAP Dynamic Forms API Documentation Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/docs/dynamic-forms Developer guide for the SAP Dynamic Forms API, enabling custom development and integration. This documentation is crucial for extending the functionality of SAP Dynamic Forms. ```English This section provides developer guides for the SAP Dynamic Forms API to create custom development. ``` -------------------------------- ### XForms Input Control Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 This section describes the XForms input control, used for capturing user data. It covers its attributes and how it binds to data models. ```XML ``` -------------------------------- ### XForms XPath Expressions Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 This section provides guidance on using XPath expressions within XForms for data navigation, manipulation, and condition evaluation. ```XML ``` -------------------------------- ### XForms Variables Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 This section covers the use of variables within XForms to store and manage data. It explains how to declare and utilize variables in form logic. ```XML ``` -------------------------------- ### XForms Repeat, Insert, and Delete Actions Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 This section details the XForms actions for repeating elements, inserting new instances, and deleting existing ones, crucial for dynamic form structures. ```XML ``` -------------------------------- ### XForms Scripting Actions Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 This section explains how to use scripting actions within XForms to execute custom logic, often involving JavaScript, to enhance form behavior. ```XML ``` -------------------------------- ### Embed SAP Dynamic Forms using JavaScript API Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_form_runner_user_guide_locale=en-US&state=PRODUCTION&version=2505 This section explains how to embed SAP Dynamic Forms into web applications using the JavaScript Embedding API. It covers the necessary JavaScript code to initialize and interact with the form runner within a browser environment. ```JavaScript // Example of using the Form Runner JavaScript Embedding API // This is a conceptual example and requires the SAP Dynamic Forms JavaScript library to be included. // Assuming you have a container element in your HTML, e.g.,
// const formContainerId = 'form-container'; // Load a form definition (e.g., from a URL or a JavaScript variable) // const formDefinitionUrl = '/path/to/your/form-definition.xml'; // Replace with actual URL // Initialize the Form Runner // if (window.SAPDynamicForms && window.SAPDynamicForms.FormRunner) { // const formRunner = new window.SAPDynamicForms.FormRunner(formContainerId); // formRunner.loadForm(formDefinitionUrl, { // onSuccess: function(formInstance) { // console.log('Form loaded successfully!'); // // You can now interact with the formInstance, e.g., get values, set values // }, // onError: function(error) { // console.error('Error loading form:', error); // } // }); // // Example of submitting form data // // const formData = formRunner.getFormData(); // // fetch('/api/submit-form', { // // method: 'POST', // // body: JSON.stringify(formData), // // headers: { // // 'Content-Type': 'application/json' // // } // // }) // // .then(response => response.json()) // // .then(result => console.log('Submission result:', result)) // // .catch(error => console.error('Submission error:', error)); // } else { // console.error('SAP Dynamic Forms JavaScript library not loaded.'); // } ``` -------------------------------- ### XForms JSON Support Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 This section covers the support for JSON data formats within XForms submissions, enabling data exchange with JSON-based services. ```XML ``` -------------------------------- ### XForms Binds Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_xforms_development_guide_locale=en-US&state=PRODUCTION&version=2505 XForms binds are used to associate data elements with UI controls and define properties like relevance, readonly, and required. This section covers their implementation. ```XML ``` -------------------------------- ### Embed SAP Dynamic Forms using Java API Source: https://help.sap.com/docs/SAP_DYNAMIC_FORMS/mobile-eam-and-field-service_dynamic-forms-documentation_form_runner_user_guide_locale=en-US&state=PRODUCTION&version=2505 This section details how to embed SAP Dynamic Forms into your applications using the Java Embedding API. It outlines the necessary steps and considerations for integrating the form runner functionality within a Java environment. ```Java /* * Example of using the Form Runner Java Embedding API * This is a conceptual example and may require specific SAP Dynamic Forms libraries and configurations. */ // Assuming you have a FormRunnerService available // FormRunnerService formRunnerService = ...; // Load a form definition (e.g., from a file or database) // String formDefinitionXml = "