cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LennartWalldén
Helper II
Helper II

Linking of Sharepoint lists

I have an app that is a project management system and I have been using one list to contain all the data. Now I am working on a new version where I split the data to different Sharepoint lists. I want to have a list called ProjectList as master containing ProjectID and ProjectName and some other base data.

 

In antoher list called ProjectParticipants, I will have names of the project participants. The second list is connected to the ProjectList via the ProjectID. But I also want to display the ProjectName in the second list. Which is the best way to get the ProjectName from the ProjectList. I want to keep it maintained if someone changes the name of the project. I know that I can write a rename function which takes care of the problem, but is there a smarter way to link the lists and get an automatic update?

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User
Super User

@LennartWalldén 

You can call the LookUp function to retrieve the ProjectName in the second list.

Let's say you display ProjectParticipants in a gallery control. In the gallery, you can add a label and set the Text property to:

LookUp(ProjectList, ProjectID=ThisItem.ProjectID).ProjectName

View solution in original post

2 REPLIES 2
timl
Super User
Super User

@LennartWalldén 

You can call the LookUp function to retrieve the ProjectName in the second list.

Let's say you display ProjectParticipants in a gallery control. In the gallery, you can add a label and set the Text property to:

LookUp(ProjectList, ProjectID=ThisItem.ProjectID).ProjectName
LennartWalldén
Helper II
Helper II

Initially I looked for  a way to create a direct link between the Sharepoint lists, but now I think I go for your solution which is easier and more robust. Thanx!

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,352)