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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom page opens from...
Power Apps
Unanswered

Custom page opens from subgrid view some records display in gallery some start to display correctly then go blank

(0) ShareShare
ReportReport
Posted on by

I have custom page I open from the subgrid view in model driven app. Upon opening the custom page the parameter is passed correctly which i verified via labels. There are three combo boxes where the default selected items have code to match the parameter. Based on those combo box selections a gallery displays information. The issue is two of the records from the subgrid open correctly. The remaining four open with the combo box populated correctly and the gallery loads the correct information it flickers then disappears. I've checked the visibility on the gallery and even just made it true for testing purposes, the data still flickers and disappears but it is there. I have no clue why it works for two records and none of the others.

 

Param("recordId") which is tied to this variable VarRecordTeamID

Javascript entity is Progress

 

Three Combo boxes use the following:

Combo1 Items: Choices('Goal Plans'.Year)

Default Selected Items:

If(!IsBlank(Param("recordId")),LookUp(Choices('Goal Plans'.Year),Value = varRecordTeamID.'Original Goal Plan'.Year),CurrentYear)
 
Combo 2 Items:
Filter ( SortByColumns('Goal Plans',"cli_name"), Year = cmbYear.Selected.Value)
 
Default Selected Items:
 If(!IsBlank(Param("recordId")),LookUp('Goal Plans',Name = varRecordTeamID.'Original Goal Plan'.Name),LookUp(
        'Goal Plans',
        Year = CurrentYear.Value && Employee = ThisUser))
 
Combo 3 Items:
SortByColumns(AddColumns(
    Filter(
        Progress,
        'Original Goal Plan'.Goal = cmbGoalPlans.Selected.Goal && 'Original Goal Plan'.Year = cmbYear.Selected.Value && Status = 'Status (Progress)'.Active),
    "StartDate", Cycle.Start, "CycleName", Cycle.Name
), "StartDate")
 
 
Default selected items:
If(!IsBlank(Param("recordId")),LookUp(Progress,Cycle.Cycle = varRecordTeamID.Cycle.Cycle),

LookUp(SortByColumns(AddColumns(
    Filter(
        Progress,
        'Original Goal Plan'.Goal = cmbGoalPlans.Selected.Goal && 'Original Goal Plan'.Year = cmbYear.Selected.Value && Status = 'Status (Progress)'.Active),
    "StartDate", Cycle.Start, "CycleName", Cycle.Name
), "StartDate"),StartDate <= Now() && Cycle.End >= Now()))
 
 
Gallery Items:
Filter(
           SortByColumns(
                ProgressToCompetencies,
               "cli_progresstocompetencynr"
            ),
                PTCPRogressLookup.ProgressToGoal =  cmbProgressToGoals.Selected.ProgressToGoal  && OriginalGoalPlanID.Goal = cmbGoalPlans.Selected.Goal)
Visibile =
If(IsBlank(Combox3.Selected), false, true)
 
Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 321 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 289 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 200 Super User 2026 Season 1

Last 30 days Overall leaderboard