cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Khairul_Amri
Regular Visitor

how to display/Edit my gallery GroupBy data into new screen.

Hi everyone,

 

currently I’ve creating a Timesheet apps, using SharePoint as a data sources. this data sources originally came from SAP system.

The data has details such as below;

Khairul_Amri_0-1648136696041.png

 

 In share point, there are lines of data and when I look back, some line items can be categorized under same group for filtering. So, I decided to group the line items by “Maintenance Order” and “Title” in PowerApps. As such, when I click a Maintenance Order titled “xx Pilot Servicing”, all the timesheet line items number and description No. 10,20,30 registered under the Maintenance Order will be appeared.  This will ease the user to enter their timesheet.

Khairul_Amri_1-1648136696047.png

 

Using Gallery in PowerApps, I am able to perform the grouping with the related line items below the selected ‘Maintenance Order’ and ‘Title’. But my issue is, to pass the argument to details/edit screen by clicking the ‘next’ icon and show all line items number and line items description into the new screen.

 

Khairul_Amri_2-1648136696050.png

 Seek anyone who can help me rectify this. 

 

Thank you.

`

 

 

 

 

 

 

 

 

3 REPLIES 3
Drrickryp
Super User
Super User

@Khairul_Amri 

Without getting into the details, you are using a context variable to carry over your data to the next screen.  This will only apply to one screen.  It sounds like you want to have that variable available to many screens.  For this, you should use a global variable and the Set() function to create it.  Use Set(SelectedItem, Gallery3.Selected); Navigate(... instead of including the curly braces in your Navigate() function. 

Khairul_Amri_0-1648179937346.png

thank you.. the coding look working very well. 

 

Khairul_Amri_1-1648180096638.png

on this details screen, at item property i use a selectedItem, but data still not appear. please correct me if i am wrong.

 

Khairul_Amri
Regular Visitor

i really don't know how to make this happen. if can teams, could be more easier to understand.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (3,771)