Migrating Customizations
It has been a constant pain for SP/PowerForms designers trying to migrate the customizations made in their development environment to their production environment.
PowerForms store the customization in a pure XML format, inside the BPC…
Right to Left support
Since v.2.5, PowerForms support Right to Left control positioning for the produced form design as well as for the designer itself.
For example here is a form customization before changing RLT options:
Opening the designer and navigating…
Setup Required Fields
Required fields are automatically identified and marked in the form designer (IsRequired property). You can mark any field as required.
Inside the designer, in the "Options" tab, there are 2 options for required fields:
Required Field…
Automatically activating the designer
While customizing a SharePoint form, you may add an invalid script or perform some other customization that throws an error before the form completes loading, not showing the form toolbar and making it impossible to fix the issue.
Additionally,…
Setting multiple forms for the same List/ContentType based on conditions
Sometimes in Sharepoint we have to make different forms with different fields for the same list depending on some field values. This feature is easily implemented with the button Customizations. By default when a form is customized for the…
How to use the Designer
It is very simple to change the position of the controls on any form. Click on Design Form and the view of the forms will change.Now you can view all the forms controls, drag any of them and drop it in a new cell. When you drop the control…
Calling external web services and displaying data
Users can create external web service calls and display the data using a datagrid on the form.
NOTE: Other controls can also be connected with a web service call. In that case only the first attribute for the first record will be used and…
SQL Queries in PowerForms
PowerForms HTML supports direct SQL Queries that can be used to provide lookup data for lookup controls (such ComboBoxes).
For security reasons, the actual sql query is not defined inside PowerForms designer but another setup model…
SetSectionCellSpacing, SetSectionCellPadding methods for Sections
SetSectionCellSpacing, SetSectionCellPadding are two new methods which when used, will control the internal cell spacing and padding of a section on a form.
The generic way of calling both methods is:
Code
form.SetSectionCellSpacing("Section…
SetDataSource method for DataGrid
SetDataSource is a new method used to bind a DataGrid to an array of objects during runtime.
c_Control5 is our example datagrid.
Code
var c = form.GetControl("c_Control5").InputControl;
var data = [];
var item = new…
