
Announcements
Hi all,
I have created a component for a dialog popup message. The message and input fields can be customized based on the component input table field. One of the fields in the component is a combobox to select people, with the following properties:
I found that using the ListGroupMembers gave me the most flexibility to use the dialog popup in different apps.
When used in the app, I sometimes get the following error message = Office365Groepen.ListGroupMembers has an invalid group ID (see also attached image). What really irritates me, is that the error message is not consistent.
Sometimes the error message appears when starting the app; when navigating to a new screen; or when the dialog was closed and a different operation was started (for instance to create a task). The second one is really strange to me since the component is not even triggered and the input is not changed when navigating to a different screen.
I tried to solve the issue by adding a "IfError" statement for both Input and DefaultSelectedItems. I hardcoded the group ID, to make sure it is has a valid ID. Unfortunately, this is not working.
So the code is:
I also created an OnStart collection to make sure the input field is always filled. Even when the dialog is not triggered yet.
The default group ID is the one with all users, to make sure it can always find the email.
Does anyone else experience this error? and does anyone know how to solve it? Would be of great help, so thank you in advance!!!
Kind regards,
Reinier