You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 28
Next »
Web Forms are an interactive feature that allows you to create a form to transfer data from a source to destination. Adeptia Connect supports Sencha Architect to design Web Forms. Web Forms are so simple to use that a business user can easily create it by adding controls, customizing the appearance and layout, and adding rules that decide the behavior of the form.
Use Sencha Architect to design a Web Form that can be used in a Transaction/Template.
You can Design a Web Form using Sencha Architect in two ways.
Using Transaction/Template Form
- Install Sencha Architect on your system. Click here for latest version of Sencha Architect.
- Download and unzip the Transaction/Template Form and place it in your system at desired location (e.g. c:\projects\dashboard\resources\).
Open the Sencha Architect and click Open to select the unzipped Transaction/Template Form for editing. Click here for Sencha Architect Tutorial.
Design a form by using Sencha drag-and-drop feature. Choose components from the right hand panel and drop them on the center canvas.
Search the from the right hand attribute panel and enter the Name which will appear in the JSON schema.
Click and select Build Settings from the drop-down list.
Select Product as Environment and provide the publish path. Click Save and the application will appear with specified project name in the selected Publish Path.
Using New Project Option
- Install Sencha Architect on your system. Click here for latest version of Sencha Architect.
- Open the Sencha Architect and click New Project to create a Web Form. Click here for Sencha Architect Tutorial.
- Choose the framework: Ext JS 6.6.x Modern at the top-right of the New Project screen.
- Choose a project format: Select the Blank Project and click Create.
Design a form by using Sencha drag-and-drop feature. Choose components from the right hand panel and drop them on the center canvas.
Search the Name from the right hand attribute panel and enter the Name which will appear in the JSON schema.
Create Submit button with the help of Project Inspector and Attribute panel.
onButtonClick from Project Inspector Panel and add the code window.parent.Ext.ComponentQuery.query('transactionswrapper')[0].getController().submitWebForm(button.up('form')); in Code Tab.
Click Save. The application will appear with specified project name in the selected Publish Path.
Follow one of these steps to deploy the application:
- Copy the folder created and place it directly in the web-apps folder of web server where the connect application is running. OR,
- Provide the web-apps path of web server in the Save path field and it will create the application directly in the web-apps folder of web server.
Restart the web server to publish the Web Form.
Once you have designed a Web Form using Sencha Architecture, you can create a Web Form in Adeptia Connect. To create a Web Form, refer to Creating a Web Form.