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 / MultiSelect Checkbox v...
Power Apps
Unanswered

MultiSelect Checkbox value disappear in deep link

(0) ShareShare
ReportReport
Posted on by 237

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?

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at

    @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

  • NP-18101421-0 Profile Picture
    237 on at

    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

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard