This topic contains 1 reply, has 0 voices, and was last updated by starlingMark 7 years, 7 months ago.

  • Author
    Posts
  • #2235

    starlingMark

    I’m customizing a Packing Slip. There is a custom column on the items sublist of type Select. Whenever I retrieve the column via freemarker it always returns the internal id of the select option instead of the text.

    For example, if the option says “This item must be strapped to a pallet”, instead I get the internal ID of this selection, which is 2.

    How do I grab the text value instead?
    This is a cached copy. Click here to see the original post.

  • #2236

    starlingMark

    So this was interesting. I was able to finally retrieve the text. For reference, for someone who finds this thread down the road, here’s what happened.

    I created the field with a display type of “Hidden”. I then tried to source it into my PDF but had no luck. I changed the display type to “Disabled”. This allowed me to source it into the PDF, but it would only retrieve the internal ID.

    After setting the display type to “Normal” and then back to “Disabled”, I was able to properly retrieve the text of the field. Another option that worked was deleting the field and re-creating it with the display type set to “Disabled”.

You must be logged in to reply to this topic.