Creating a new record in UiPath Data Services entity from UiPath Apps

UiPath Apps allows you to interact with information and elements relevant to your automation. Apps don’t need to be complex and could be used to simply view and interact with data that is stored in an entity that exists within your Data Services environment.

This post is a following from the post: Creating an UiPath App to view data stored in a Data Services entity

Let’s enhance our existing app by adding a button that navigates to a page that allows new data to be captured and stored in the Data Services Entity.

Create a New Page

Start by navigating to the ‘+‘ that is present in the pane on the left hand side of the page, next to the app name:

Rename the page by clicking on the pencil next to the page name in the pane on the right hand side of the screen:

Now let’s add a label to the new page by clicking Add new control and dragging the Label onto the from from the Display section:

Next, let’s add a textbox by dragging a Textbox from the Input section of the pane on the right-hand side of the screen, onto the page. While focused on the textbox, click on the Value Binding property. Then create a new variable and name it avProcessName:

Drag the newly created variable into the Value Binding property:

Now add a Button and name it Add:

While focused on the button, select Events on the pane on the right hand side of the page and click + Create Rule. Select Create/Update Entity Record:

Assign the entity by dragging the appropriate entity across and assigning the variable to the correct column/field. Then add a Show Message activity which indicates success:

Go back to the Main Page and add a button, named Add New. In the Events pane, add a new rule to Open a Page:

Drag the appropriate page across, into the field.

Now save and test!

Author: Jacqui Muller

Feel free to reach out or browse through:

Up ↑

%d bloggers like this: