Skip to main content
Nintex Community Menu Bar
Question

Merge syntax for snippet name

  • July 10, 2024
  • 4 replies
  • 29 views

Forum|alt.badge.img+18

Apparently this doesn’t work?

This topic has been closed for replies.

4 replies

Forum|alt.badge.img+18
  • Author
  • July 10, 2024

I was trying to save myself from creating and conditionally rendering a handful of pagetitle buttons… but it looks the name of snippet field doesn’t process merge syntax?

Seems like it should!


Forum|alt.badge.img+18
  • Author
  • July 10, 2024

Skuid, can we make this an idea?


Forum|alt.badge.img+10

Do you have a snippet that is titled every page title? We currently don’t have any merge syntax there because we wanted it to only be used as a selection tool. We even toyed with only having it as a picklist but then thought some would have more.

Can you elaborate on this: “I was trying to save myself from creating and conditionally rendering a handful of pagetitle buttons…”?


Forum|alt.badge.img+18
  • Author
  • July 10, 2024

This page is a kind of record detail page, wherein I have a field called Interaction Purpose which is a picklist and serves kind of as a record type. I also have a ui-only formula field called NoteToGenerate which basically takes the spaces out of the Interaction Purpose field. In a static resource, I have a snippet for each Interaction Purpose which generates a standard Note for that type of interaction, based on a bunch of other values in the record.

If I could dynamically supply the name of the snippet to the button based on the NoteToGenerate field, I would only need one button to trigger whichever snippet was relevant. As it is, I need a different conditionally rendered button for each Interaction Purpose.