cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Big_S
Post Patron
Post Patron

Display Item to the Gallery

Hi Guys,
Does anyone know how to do this, I wanted to edit the information and when I pressed the Add Transaction button the items should be displayed on the Gallery Table

My problem is, the items from Gallery coming from the data source.

Big_S_0-1627547499452.png

 

6 REPLIES 6
CNT
Super User
Super User

@Big_S Can you clarify a bit,

Is it an Edit Form in the top. If so, what's its datasource?

Is it a Gallery in the bottom. If so, what's its datasource?

Could you explain a bit more on what exactly you want to happen when you Add Transaction button is pressed.

PG_WorXz10
Community Champion
Community Champion

@Big_S 

You can try patching the data into the Gallery data source and refresh the data source. If you can share a screenshot of Add Transaction code I can help you more in this topic. 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Hi @CNT ,
I used excel as data source for now, yes its a gallery everytime the Add Transaction button click the items will be displayed in the gallery

Hi @PG_WorXz10 
here's my code
Patch(
RequestDetails,
LookUp(RequestDetails, Id = Gallery2.Selected.Id),
{
RequestId: Last(Requests).Id,
BusinessUnit: 'business-unit-dropdown_1'.SelectedText.Value,
Department: 'departmentt-dropdowm_1'.SelectedText.Value,
Program: 'program-dropdowm_1'.SelectedText.Value,
Project: 'projectt-dropdowm_1'.SelectedText.Value,
Activity: 'activity-dropdown_1'.SelectedText.Value,
ChartOfAccount: 'chartofaccount-dropdowm_1'.SelectedText.Value,
Amount: 'amount-input_1'.Text,
AccountCode:'account-code-label_1'.Text,
Status: "1"
}
)

PG_WorXz10
Community Champion
Community Champion

@Big_S Would you please share the Gallery item property code ? 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Hi @PG_WorXz10 
heres the code
Items Property
Filter(RequestDetails, Status = "1" && RequestId = _viewGallery2Details.Id)

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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