Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Lookup Controls are User Interface elements that can be placed in a workflow to allow users to search for EmpowerID objects. This topic demonstrates how to use the Lookup Designer to create a Lookup Control that allows users to search for another person.
Create a lookup
From Workflow Studio, right-click on the package you just created and
select Addselect New
Item >User Interface >
EmpowerIDLookup
Control.
Image RemovedImage Added- In the Add New Lookup Control window that appears, type a name for the Lookup Control in the Name field, ensure the package is correct and then click OK.
Image Removed
This opens the new Lookup Control in the Workflow Studio Designer.This opens the new Lookup Control in the Workflow Studio Designer. You can save the lookup control with a meaningful name, click on the Save button, and select the path to save the lookup. Make sure you choose the correct folder for the package and save it inside the User Interface> Lookup Controls.
Image Added
Image Modified From the Properties grid, set
the Title property tothe Title property to Hello World Person Lookup
and the Description property toand the Description property to Search for a Person.
Image ModifiedFrom the Properties grid, set
the Type property tothe Type property to Single. Setting the Type to Single allows users to select only one object.
Image ModifiedIn the Lookup Control Data Pane located at the bottom of the designer, do the following to allow the Lookup Control to return a list of people.
Click
thethe Component Object
dropdrop-down list and
selectselect PersonView. The Component Object drop-down list contains a list of class definitions that relate to the objects EmpowerID protects, and the PersonView object provides a consolidated view of all the data fields associated with EmpowerID people.
Click
thethe Data Method
dropdrop-down list and select
thethe GetAllSearch(string columnsToSearch, string textToSearch) method. This method returns all people contained in the EmpowerID Identity Warehouse to the Lookup Control.
Image Modified
The following image shows what the Lookup Control Data Pane looks like with the above selections made.
Now that the component object for the Lookup Control has been set, click
thethe Set Grid Type
button in the Lookup Designer ribbonin the Properties pane to set the grid type for the designer.
Image Removed
In the Set Grid Type window that appears, select Person fromSelect Person from the drop-down and
clickclick OK. Setting the grid type for Lookup Controls in this way automatically adds the columns associated with the component object you are binding to the Lookup Control. This allows you to provide a consistent look to your Lookups and makes it easier for localization as the default grid type columns are already localized.
Image Removed- In the Confirm dialog that appears, click Yes to continue.
- Image Added
Save your changes.
Image RemovedImage Added
To publish a lookup
Image Removed
In the Lookup Publishing wizard that appears, click the Next button.
Image Removed
Select the server to which you want to publish the Lookup and click Next.
Image Removed
Image Removed
In the Active Services window, select the Web Role Service on the hosting server and click the Restart button.
Image Removed
style | margin-top: 30px |
---|
The forms developed above will have to be deployed to make them available to workflows. Build and deployment topics are detailed in the articles below,
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Div | | |||||
|
Table of Contents | ||
---|---|---|
|