Passing values from one page to another

I create an UiPath app where in one page, I have created a custom list. Now in another page, I want to use the values from custom list which is dynamic. Anyone know how to paas auch values?

Hi @Aditi_Jha ,
You can get customer list as data table
and you can use it to next page
To clear more, can you share image about your requirement
regards,

@Aditi_Jha

Welcome to the community

Here is an apporach for you using app variables

Cheers

@Aditi_Jha ,

Please create an app variable and use across the apps. Apps variable works to communicate between pages and this initialize during open page or set value and get destroyed once apps closed.

So you can use App variable while you are on current session on apps to communicate between pages.

Thanks’,
AK


See, from this image, I want to pass the values of the expression to another page when the button is clicked. How can I pass this value to another page dynamically?

The other page where I want to use the value is fetching the file from the storage bucket. So I want to use that value as the file name that I want from the storage bucket.


This the how i want to use the value to fetch the file from storage bucket

@aditi.kumari

I have shared some screenshots and how to use the new app data to get field value…please check

General syntax is PageName.ControlName.Value

Once you get the value …this value can be attached to an app variable…and that app varible can be used in any page

Cheers

@aditi.kumari ,

You can create an app variable of type entity and then set the app variable on selected or click and then u can access on other page as an object all.

If you have only single variable then you can use same.

How to create a variable of entity type in UiPath apps?

@Aditi_Jha @aditi.kumari

  1. On click on button you need to assign the textbox or the file value to an app variable
  2. The same app variable needs to be used in set value

cheers

This method is not working. the value is not getting reflected on next page.

@aditi.kumari

Did you create a run to save the data to app variable on click on button?

cheers

@Aditi_Jha ,

Make sure you have added an entity to app to create entity type app variable.

Lets do as below.

  1. Create an app

  2. Create a page

  3. Add entity into App

  4. Add display control table to display all the records

  5. Now assume you have to display the selected records on other page like edit or view page do as below.

  6. On select pass the selected row to variable object .

  7. On select implement below rule

MainPage.EditGrid.SelectedItem.Department

Its basically your PageName.Control.SelectedItem.Entity

Now if you want to transfer only a single value.

  1. Create a app variable of your desired type.
  2. On rule implement set value (anywhere where you want to transfer)

MainPage.EditGrid.SelectedItem.Department.Name

Thanks,
Arvind

How to create a run to save the data?

@aditi.kumari ,

what do you mean by run?

Thanks,
AK

you said na, you need to create a run to save the data.

In this case, will it be dynamic? I didn’t get this method.

Yes this will be dynamic.

what;s your convern @aditi.kumari

what do you mean by “save run”? @Anil_G

will the entity be made in data service and what fields should it contain? @Arvind_Kumar1