I have a page with serveral galleries on it. Depending on the data being displayed in a field from my data source, I want only one gallery to be displayed at a time. So if "Apple" is displayed on my field, I want the gallery that has the product information to be visible aong with all the control within the gallery. However if "Orange" is displayed in my field, i want the gallery that will display the product information about oranges to be visible along with all the controls on the gallery.
On my page, I am declaring variables, then setting the visibility of the respective gallery, then trying to set an "If" statement to display the gallery (depending on what data I get from the data source".
The "Visible" property, I am setting directly on each gallery. The others (UpdateContext and If statements), are on the page.
Hi @Spawn10 I'm sorry to hear you're experiencing this issue. I came across a similar post earlier today that may help you. If the below information does help, please reply in this thread and I will research further.
For the purposes of this explanation, let's assume the first gallery is named Partners and the second gallery is named Contacts. For the Contacts gallery, try setting the Items to Partners.Selected.<Contacts field> where <Contacts field> is the filed you want to display from the Contacts entity.