Displaying Custom Data as the Label and not the Value - Many Posts on this, but no Answers! | Community
Skip to main content
BrandonNW
Level 6
July 12, 2024
Question

Displaying Custom Data as the Label and not the Value - Many Posts on this, but no Answers!

  • July 12, 2024
  • 1 reply
  • 1529 views

Does anyone know the correct valueformat to use when trying to get custom data to display as the label rather than the value?

 

customDataAsLabel = shows value

val = shows value

html = shows blank

 

I tried valuefield= and valueexpression= with and without the CONCAT. Who wants to be my hero today? :{)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Doug_Den_Hoed__AtAppStore
Community Advisor
Community Advisor
July 12, 2024

 

Hi @brandonnw,

 

I suggest you try this:

 

 

valueformat=customDataValuesAsString

 

 

Regards,

Doug

BrandonNW
BrandonNWAuthor
Level 6
July 12, 2024

Hey Doug... just the person I was hoping to summon! Unfortunately, that too displays the value and not the label of the parameter option.

displayname=Product
linkedname=direct
namekey=Mktg - Taxonomy - Product
querysort=DE:Mktg - Taxonomy - Product
textmode=true
valuefield=Mktg - Taxonomy - Product
valueformat=customDataValuesAsString

 

I tried this as an expression as well with the same result. I could do IF statements, but there are about 50 options and I would much prefer the system to just show me the answer that is already there!! 🙂 You would think "customDataLabelAsString" would show the label and "customDataValueAsString" would show the value, but they both produce the value. Boooo

Doug_Den_Hoed__AtAppStore
Community Advisor
Community Advisor
July 12, 2024

 

Harrumph. Guess that doesn't work anymore @brandonnw .

 

But this does:

 

 

displayname=valueexpression as HTML
namekey=Mktg - Taxonomy - Product
querysort=DE:Mktg - Taxonomy - Product
textmode=true
valueexpression={DE:Mktg - Taxonomy - Product}
valueformat=HTML

 

Regards,

Doug