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?
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
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
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional