Skip to main content
This question requires the Entity Data Manager feature to be enabled in FlowForma Settings > Features.
The EDM Lookup question is used to look up items from SQL entities created using Entity Data Management. EDM Lookup question configuration Question title: each question must have a title. It’s a required field and will appear on the form as a label when the user fills in the question Question code: each question needs a unique code. One is generated by default when you start creating a new question, but you can overwrite this and give it a different code if you prefer. The question code won’t appear on the form itself, but you can use it to search and filter by when adding questions Question type: EDM Lookup Required: you need to specify whether the question is required or not. If you set a question as required, the user must provide an answer to it on the form in order to submit the form. However, the user can save as draft without answering all required questions. If you try to submit a form without answering all required questions, an error message will appear showing a list of questions that haven’t been answered Question description: it’s optional whether you enter a description or not. The description is used as a tooltip on the form and adds an exclamation point beside the question on the form. If the user clicks on the exclamation point, the description (tooltip) will appear Publish question as list field: check this box to save the question to the SharePoint forms list. This allows you to report on the question from there Entity set: this is a dropdown of all the SQL entities (tables) contained in the database entered in the Entity Data Manager Entity fields: these are all the fields (columns) included in the database entity selected in Entity set. You can select one or multiple items, and these will be displayed when the dropdown opens on forms created. The value saved is always the entity ID Input width: you can decide the width of the dropdown control displayed when a form is rendered Show question title on form: check this option if you want to display the question’s title to the left of the actual input field. If you uncheck this option, the input field is moved out to the left and appears right under the other questions/question titles Place title on top: check this option to display the question’s title above the input field. If you uncheck this option, the title appears to the left of the input field, as normal Render, but hide question on form: if you check this option, the question will behave as normal (default value, publishing and calculation will apply). However, the question will not be displayed on the form Once you’ve entered all relevant information, click save. If you don’t want to save the question or the changes you’ve made, click close

Example

The following Customers table has been created using the Entity Data Manager Customers table in SQL Server An extract of the data in the table is as below Extract of Customers table data Create an EDM Lookup question to display the “Customer name” and “Contact number” fields EDM Lookup question with Customer name and Contact number fields selected When a form is created, the dropdown will be rendered as below, with a combination of the Customer name and Contact number Rendered EDM Lookup dropdown on a form The EDM Lookup question is primarily designed to be used in conjunction with the Execute EDM operations business rules where you can return the entity id and use this id to get, update or delete items from an entity.