Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

After Saving is emptying my dropdownmenu and SP why? Sharepoint List + Power Apps

(0) ShareShare
ReportReport
Posted on by 45

Guys,

 

I am duplicating the same grid in 2 different pages. 

First page grid with few columns.

Second page *SAME GRID* but with different columns of the same sharepoint list!

When I save in 2nd page I don´t know why but sometimes it clears my dropdownmenu and save empty in SP.

here is the formula:

 

ferby2023_0-1704948042525.png

 

TEXT:

Patch(
'test fernando',
ShowColumns(
colGridUpdates,
"Category",
"kpi_name",
"planejado",
"Units",
"Main_Team",
"ID"
)
);
Notify("Updates Saved Successfully!", NotificationType.Success, 3000);
Clear(colGridUpdates);
Set(varReset, false);
Set(varReset, true);

 

Also have this formula in a "hidden button", each field of the grid has a "ON CHANGE" press this "Hidden button"...not sure if will help but:


ferby2023_1-1704948101717.png

text:

If(
IsBlank(
LookUp(
colGridUpdates,
ID = ThisItem.ID
)
),
Collect(
colGridUpdates,
ThisItem
)
);
UpdateIf(
colGridUpdates,
ID = ThisItem.ID,
{
Category: ddpcat.Selected,
kpi_name: txtkpi.Value,
planned: txtplan.Value,
Units: DropdownCanvas2.Selected,
main_team: {Value: "Chartering"}
}
)

 

Basically this is the GRID in page 1 (contains some fields)

ferby2023_1-1704948287065.png

 

and the SAME GRID in page 2, with more fields and some fields from page 1:

ferby2023_2-1704948338269.png

 

 

 

 

Categories:

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard