How do I display value from Data Service after a user types into a textbox?

Hello,

My first time using the Apps feature! Essentially I have a Data Service entity with two columns, XID and STATUS. I want the user to be able to type in the XID, click search.. and then the STATUS appears. Been banging my head against the wall for this but can’t seem to figure it out!

Hi @David_Hernandez2
Try this,
To implement UiPath Data Service activities, install UiPath.DataService.Activities, add a “Data Service Scope,” and use “Get Entity Records” to filter by XID. Assign the status with out_Status = dataEntityList.FirstOrDefault().STATUS, set in_XID as Input and out_Status as Output. Deploy the process, connect it to UiPath Apps, bind the input and output, and test by entering XID, clicking search, and displaying STATUS.

Follow below link for more.

Do following steps to achieve the same

Prerequisite - Required Entity / Data Service is already added under Entities using Add Entity Option

Step 1: On load of Home Page Event - Assign your entity to a new variable using Set Variable option. While creating the variable - Make sure the type is as given below

Step 2: Create a Page for your search option

Step 3: Goto Even of your button and click Edit Rule

Step 4: strUserEmail=Get the value entered in the text box to a variable using Page.TextBox.value

Step 5: Set the final filtered value using the expression

Filteredvalue=Dummyvariable.data.AsEnumerable.Where(function(x) x.Email.ToString.Equals(strUserEmail)).Select(Function(x) x.Id)(0)

Kindly modify filter criteria based on your requirement

Dispaly wherever required

@David_Hernandez2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.