...
...
...
...
...
...
...
...
View file | ||
---|---|---|
|
Overview
In this documentlesson, we will learn how to import controls from different project to the page that we are developing. Also this option allow us to mass update the elements imported to make the correct association between the controls and dataset, stored procedure , etcand other objects.
How to import controls from one Project to another?
Turn to “Controls” section. In this case, we don’t need need to select any control from the dropdown list. Click on “Import Controls” button.
...
A popup is displayed to select the Project and subsequently the Page where you want to retrieve the controls and allocated in the current page.
...
Click on “Continue” button and you we can observe all the listed controls related to the selection that we made. Choose each control that you we want to import or check “Select All” checkbox to import everything as a copy of the page. Then click on “Import” button
...
New imported controls are displayed on the “Controls” section available.
How to mass update controls?
After imported the controls were imported from another page, we need to make sure that the original connections that from these controls contain are valid for the page that we are developing in this casecurrently developing, otherwise the data won’t be displayed. For example, if the controls are associated to any invalid dataset or stored procedure, we need to create a new dataset that we are going to will retrieve the information and to display in these imported controls.
Let’s going to create a new dataset and mass update the controls to learn a fast way to understand how fast we can modify the settings and secure the new connections for imported controls.
...
Click on “New Dataset” button
...
A popup is displayed to complete the required fields on “General” Tab. Identify the new dataset with “Name” and “Execution Type” equals to “Pre” in order to make the page retrieve the data at the time is being loaded.
...
Connect to the new Stored Procedure for this Dataset and click on “Accept” to generate it.
...
Now that we have the new dataset created, turn to “Controls” section again.
...
Click on “Massive Mod” button
...
It’s important to notice that Wayfast offers to we can modify multiple elements under the this page. :
Expand | ||
---|---|---|
| ||
|
In this caseexample, we want to select “Dataset” option and let’s choose the new one newly created to modify the imported controls. Once the controls are checked, click on “Modify” button
...
Notice that the “Dataset” column is updated on the popup and after closing it, check the “Controls” section to verify that the new dataset is displayed as reference.
...
Recap
Under this documentlesson, we reviewed two different features to manage the page’s controls in case you we want to quickly import created elements from a different page or even different project. Also Wayfast offers give us the possibility to mass update these controls in case imported they need to be modifiedif any adjustment is needed.