Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have custom pluggin that returns a JToken as bellow.
[{"Heading":{"Text":"Trade Center","Tag":"h1"},"SubHeading":{"Text":"","Tag":"h1"}}]
the nested field aliase is "frameHeading"
on the nested templae field i have {{frameHeading}}
which returns an item name of [{"Heading":{"Text":"Trade Center","Tag":"h1"},"SubHeading":{"Text":"","Tag":"h1"}}]
How do I decode this in the template field to "Trade Center"
[ { "Heading":{ "Text":"Trade Center", "Tag":"h1" }, "SubHeading":{ "Text":"", "Tag":"h1" } } ]
With it being an array of objects, it would have be something like the following: {{frameHeading[0].Heading.Text}}
Thanks Ryan. Solved
That's so simple.
Glad I could help!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
nested item name extracted from JSON value
I have custom pluggin that returns a JToken as bellow.
[{"Heading":{"Text":"Trade Center","Tag":"h1"},"SubHeading":{"Text":"","Tag":"h1"}}]
the nested field aliase is "frameHeading"
on the nested templae field i have {{frameHeading}}
which returns an item name of [{"Heading":{"Text":"Trade Center","Tag":"h1"},"SubHeading":{"Text":"","Tag":"h1"}}]
How do I decode this in the template field to "Trade Center"
With it being an array of objects, it would have be something like the following: {{frameHeading[0].Heading.Text}}
Thanks Ryan. Solved
That's so simple.
Glad I could help!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.