web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Projects and Project s...
Power Apps
Suggested Answer

Projects and Project spare parts

(0) ShareShare
ReportReport
Posted on by 8
I am building (or trying to build) and app that will allow users to add a Project
First part is going ok. I have mapped this form to update my Sharepoint list with the projects
 
NewForm(Form1); UpdateContext({ newMode: true });
 
I have two Sharepoint lists MIR Project and MIR Materials there's a lookup column so I can manually add materials and link them to the MIR Project
 
 
If I select the Project from the Gallery and then click the "Materials" button I am only shown that project 
 
"Materials for PROJECT: " &RecordsGallery1.Selected.Title
 
What I need to do now if have the ability for the user to add multiple materials to the slected Project
 
The values are
SAP ID (number)
Description (letters)
Qty Required (number)
UoM (Unit of measure letters)
 
Categories:
I have the same question (0)
  • narayan225 Profile Picture
    2,547 Moderator on at
    You can create a collection that saves these materials and post them when you are saving the form.
     
    I have used the following video as a reference: https://www.youtube.com/watch?v=76RJyaoW0BQ
     
    Everything is same but instead of saving the gallery on its own, use that code when saving the form.
  • craigfer Profile Picture
    8 on at
    Thank you for the response. I will look at the video.
    I only want the user to be able to load materials to a specific project. How can I do this?
  • Suggested answer
    Rajvinder Profile Picture
    5 on at
    If I understood your question correctly, you want to filter the material gallery for selected project. 
     
    When adding new material set the DefaultSelectedItems property of lookup column to
     
    { Value: Lookup('MIR Project' , ID = gallery.Selected.ID).ID}
     
    Apply filter on item property of the material gallery for lookup filed equals to selected project.
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 860

#2
Valantis Profile Picture

Valantis 548

#3
Haque Profile Picture

Haque 417

Last 30 days Overall leaderboard