Use the node type from the category Component references to reference new components. Normally, you have to define additional information, which is expected by the referenced components, on the child nodes of type Node mapping, Function mapping and/or Collection mapping.
NOTE: If all the mapping nodes expected by the component are not defined it results in compiling errors.
The Mapping generator wizard reads the expected mapping nodes for the component to be referenced and creates a component reference. As a result, the user does not need to check the mapping nodes. The mapping nodes added by the wizard may only be partly configured. You therefore need to rework these automatically generated mapping nodes.
For example, if you switch components, the mapping is automatically modified. In a dialog, you are prompted as to whether you want to modify the mapping or not.
Use the wizard when the mapping nodes required for the called up component have been modified so much that manually adjusting the structure is too time-consuming. The wizard generates the new node.
NOTE: When you use the Mapping generator wizard, all existing nodes are overwritten. Values from defined nodes are deleted.
You can start the Mapping generator wizard from the context menu but it is only available for Component references nodes and Call action nodes.
To create a mapping
- Mark a Container(reference) type node, for example, and select the Wizards | Mapping generator menu item.
The wizard runs automatically and generates a mapping node below the component without displaying a dialog.
- Mark this related node in the definition tree view.
In the lower area of the definition tree view, the Mapping node is displayed in the Node editor view next to the node label. You can add more information about the referenced component in the next step.
- In the Virtual node* and Type* menus, select the relevant settings.
Detailed information about this topic
You can create a report to be saved in the database with the Embed report wizard. This wizard can be found in the context menu of the action node. The web application determines values for the report parameter, if required. The calculated report is displayed in the web application.
To embed a report
- Wizards | Embed report.
The Embed report wizard is opened with a list of reports.
NOTE: Reports are created and edited with the tool.
- Select a report from the list and click Next.
- On the Allocate Parameters page, click the button next to the field you want to edit.
NOTE: The data you enter depends on the report you selected. Normally, there is one primary key per parameter. Other, quite different types of parameter are also possible. If no parameters are required for the report, the wizard displays a corresponding message.
- Define the parameter used in the SQL input box and click Apply.
Your entry is displayed on the Allocate parameters page.
- Repeat steps 3 and 4 until all the parameters have been assigned.
- Click Finish.
As a result, the wizard creates a Compile report node and a Forwarding node.
Forwarding is based on a default component. This takes over the task of displaying the compiled report.
NOTE: The Web SQL expressions used when the parameters were defined are saved under the Compile report node in the definition tree view and can be edited in the Node editor at any time.
Links can be set for certain Web Portal modules. Use the following template for setting a link:
<BasisURL>/page.axd?ContextID=<Module name>
To set a hyperlink to a specified page in the Web Portal
- Use the base URL of the Web Portal instead of <BaseURL>.
NOTE: The base URL is saved in the system under the configuration parameter QER\WebPortal\BaseURL.
- Use the name of the target module instead of <module name>.
NOTE: If there are mandatory parameters, you must give values for these parameters.
Context parameters can be attached as parameters to the URL, for example:
<BasisURL>/page.axd?ContextID=<Module name>&<parameter name>=<parameter value>
NOTE: If a user is not yet authenticated when the link is called, the Web Portal opens the login page before the linked page is called.
Detailed information about this topic
This section is all about the basics of Web Designer programming. Collections are explained here in detail, among other things.
Detailed information about this topic