cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Glaga
Helper I
Helper I

Item: Form.view from list other

Good morning all,

Do you know how to display the details of a record on a form in view mode from a different list in the list where the record is.

I have three sharepoint lists:
* Clients
* Products
* Order: (Customer_ID; Product_ID; Number; Price; ...)
(The order list thus integrates the IDs of the Customer and Product records.

I would like when I am on the ORDER list, at the click to navigate to the Customer file: screen_detail_client

For the screen_detail_client
I do not know which function to put in Item =
(to find the enregestriment: ID = ID_Client)

 

Do you have a solution ?

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User III
Super User III

@Glaga 

Setup a new button with the text "View Customer" and put the following code in the OnSelect property of the button.

 

Set(customerID, your_customer_ID_value);
Navigate(screen_detail_client,None);

 

Then on the screen_detail_client I assume you have the client details in a View Form.  Put this code in the Item property of the View Form.

 

LookUp(your_customer_datasource,ID=CustomerID);

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
mdevaney
Super User III
Super User III

@Glaga 

Setup a new button with the text "View Customer" and put the following code in the OnSelect property of the button.

 

Set(customerID, your_customer_ID_value);
Navigate(screen_detail_client,None);

 

Then on the screen_detail_client I assume you have the client details in a View Form.  Put this code in the Item property of the View Form.

 

LookUp(your_customer_datasource,ID=CustomerID);

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Thks @mdevaney 

LookUp is so good !!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,369)