Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Overview

In this document, 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, etc.

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 “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 “Continue” button and you can observe all the listed controls related to the selection that we made. Choose each control that you want to import or check “Select All” checkbox to import everything as a copy of the page. Then click “Import” button

New imported controls are displayed on the “Controls” section available.

How to mass update controls?

After imported the controls from another page, we need to make sure that the original connections that these controls contain are valid for the page that we are developing in this case. 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 retrieve the information and display in these controls.

Let’s going to create a new dataset and mass update the controls to learn a fast way to modify the settings.

Click “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.

Turn to “Data Binding”

Connect to the new Stored Procedure for this Dataset and click “Accept” to generate it.

Now that we have the new dataset created, turn to “Controls” section again.

Click “Massive Mod” button

It’s important to notice that Wayfast offers to modify multiple elements under the page.

 You can select between the following types:
  • PlaceHolder

  • Dataset

  • Conditional Visible, Editable and Requested

  • Style

  • Align

  • Order

  • Autopostback

  • Column Total and Format

  • Reload Values by Postback

  • Sorteable

  • Delete

In this case, select “Dataset” option and choose the new one created to modify the imported controls. Once the controls are checked, click “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 document, we reviewed two different features to manage the page’s controls in case you want to quickly import created elements from a different page or even different project. Also Wayfast offers the possibility to mass update these controls in case imported they need to be modified.

  • No labels