Hi
I have a SP list with two sets of very similar data - HalalCertBody, HalalEnd, HalalStatus / KosherCertBody, KosherEnd, KosherStatus.
I have a gallery which currently displays labels for Certifying Body, End Date, Status
I have created 2 buttons: Halal and Kosher
I want to use context variables so that if the Halal button is pressed the gallery displays HalalCertBody, HalalEnd, HalalStatus, or if the Kosher button is pressed the gallery displays KosherCertBody, KosherEnd, KosherStatus.
How do I update context to the name of the column, and then how do I get the label in the gallery to display based on the context variable? This is what I've tried for the Halal button and the Certifying Body column...


Looking forward to your replies,
GraemeNZ