Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

MultiSelect Checkbox value disappear in deep link

(0) ShareShare
ReportReport
Posted on by 227

HI,

 

I have a form that has a data card with a gallery and checkboxes within the gallery to create a multiselect feature. The checkboxes retain their values when I am in the app or when I am in the published version of the app. The only time it doesn't work is when I access the request from a deep link. Anyone else face this issue?

  • NP-18101421-0 Profile Picture
    227 on at
    Re: MultiSelect Checkbox value disappear in deep link

    HI,

     

    I can only use the Monitor function when I am in play mode within the app. 

     

    The issue only occurs when the request goes in to edit mode from the deep link. In play mode and preview mode within the app and even when using the app from the weblink, works completely fine. 

     

    The only time the issue occurs is when I get the deeplink via email, it takes me to the edit screen, populates all of the information on the form except the checkboxes.

     

    Here is the code for checkboxes

     

    Onvisible of the form screen:

    Clear(colRequiredForms);
    If(
     Form1.Mode <> FormMode.New,
     Collect(
     colRequiredForms,
     Gallery1.Selected.'Attach Required Forms'
     )
    )

     

    Gallery of checkbox, Items:

    Choices([@'Vendor Setup'].'Attach Required Forms')

     

    Datacard update and default:

    colRequiredForms

     

    Checkbox default:

    If(IsBlank(LookUp(colRequiredForms, Value = Checkbox1.Text)),false,true)

     

    Checkbox oncheck

    Collect(colRequiredForms,ThisItem)

    Checkbox on uncheck

    Remove(colRequiredForms,ThisItem)

    Checkbox Text:

    ThisItem.Value
  • Michael E. Gernaey Profile Picture
    40,375 Super User 2025 Season 1 on at
    Re: MultiSelect Checkbox value disappear in deep link

    @NPatel12498 

     

    Are you %100 sure that the data is being loaded correctly and that the Default is Set?

     

    I would add a text Label just as a test and write the checkboxes record value there. Because thats the first thing to validate. That the data is available

     

    Also Use Monitor to help. You could add Trace Statements to validate as well.

    Step 1. Close your App (stop it running)

    Step 2. Click the Stethoscope in the Top Right

    Step 3. On the bottom click Open Monitor

    Step 4. Once Monitor is running go back and run your app

    Step 5. Cause your issue to happen

    Step 6. Close the app

    Step 7. Go to the Monitor and Filter (top right) based on Error, or key word. Go to the line or lines that match this

    Step 8. Look at the Response Tab and you will have to expand the Body > and the Header >. Then look at the body to see more details on the error
    Do this for each line you find


    Step 9. On each line, also check the Code being executed on Tab 2

     


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard