Beta 5.2.0: Parameter groups

Hi @alexander!

I’m not sure what If I’m missing something or there is a bug.

I tried to create a Button with the separate Content and Design group.

This is the Content part:

{
  "content" : {
  "type"   : "group",
  "params" : {
    "primary"           : "Primary button text",
    "secondary"         : "Secondary  button text",
    "url"               :	{ "label" : "URL", "initial" : "#"  }
      }
    }
} 

I get the Group showing normally:

image

The dynamic output in the button looks like this:

{{dc:param:content:primary}}
{{dc:param:content:secondary}}
{{dc:param:content:url}}

Unfortunately, I cannot get it working. I am getting this:

image

Is this my error or there is something else going on?

Thank you!

Gotcha! So you’ll just want to use dot notation instead like:

{{dc:param:content.primary}}
{{dc:param:content.secondary}}
{{dc:param:content.url}}

The colon is used as a delimiter high level in Dynamic Content to indicate the type of data being requested. Once you’ve written in param, what follows is the path to the data you need.

I think this was in the most recent beta, but we also added p shorthand like:

{{dc:p:content.url}}
1 Like