
Announcements
Hi
I have a form where I add widgets for a Selected contact. On the 'add a widget' screen, I also have a gallery showing this contact's existing widgets.
I want the Datasource of the gallery to be updated, so that all records, including the new widget, are visible after I add a new one.
I use this code to do that:
Refresh(Filter('Widgets',Contact.ID=galAllContacts.Selected.ID))
However, in the editor this code is marked as an error and and has this message: "Only managed connections can be refreshed."
I am using DataVerse.
Can anyone tell me how to resolve this problem, either by resolving the cause of the error message or perhaps by refreshing in the gallery in a different way? The screen works fine, but I would like to understand what is happening here.
Thanks!
Refresh(Filter('Widgets',Contact.ID=galAllContacts.Selected.ID))
I solved it by removing the 'Refresh' command.