Snippets and Use of

Hello,

Relatively new user to Connect here, but I have a simple question. I have two snippets that can either be Snippet A or Snippet B depending on the data flag in the data table.

I have 12 labels on the page and I was hoping that I only need to maintain either of the two snippets if changes are required rather the having 12 of Snippet A and 12 of Snippet B.

Is there a way to load either of the snippets using Java Script inside a conditional element script and apply Xor Y offsets to move the correct Snippet to the correct location on the sheet of labels.

I have looked and I cannot find a method or example that shows this.

Regards,

Muzza

To solve your question, I would create two sections (Label A and Label B) and show or hide them based on the data. Each label would represent a record in your dataset. Then, I would use the impositioning feature to place the 12 labels on the sheets. Not sure if that would make sense for your designs.

Erik

Hi Erik,

Thank you for this idea. Hadn’t come across this. Will try this and let you know.

regards

Muzza