Backend
When you create a Web App project, the following project structure is created in the X4 Designer:
|
|
|
|
If you right-click the name of the Web App project, you can create the following files using the New command in the context menu:
|
The Resources, Services, and Translations folders do not contain any files when a project is created. The files containing the data protection information (Project.dpr) and the imprint information (Project.imprint) also have no content after the project creation. Both files can be deleted if they are not needed in the project.
Note:
Note that all file resources in the Resources folder are provided via HTTP(S) relative to the path of the Web App.
Frontend
The frontend of a Web App is structured as follows:
|
1 |
User menu Note: Selecting the icon displays the logged-in user and the functions for changing the password and logging out. The user menu is displayed only for Web Apps with the Authorization Flow Resource Owner Password Flow. |
|
2 |
Automatically generated links to the privacy policy and imprint |
|
3 |
Automatically generated menu of the Web App. The content is based on the display names of the Components you create. |
|
4 |
Web App logo and display name Note: If no logo is defined in the configuration, the display name of the web app is displayed here. |
|
5 |
Area for the content of the component. The display depends on the type of component, the layout used, and the controls used. |