This discussion is archived
2 Replies Latest reply: Apr 3, 2013 5:09 AM by DFy RSS

How to print Felx Asset attribute value in jsp?

655526 Newbie
Currently Being Moderated
I have shared an Asset Type called "Article" from avisports site to my site.

i created an Asset for Article in my contributor interface. Now i would like to print one of the attribute value of that Article asset.

I tried the below code but it is not working. please help me.

I don't know how to get the Asset id dynamically so i just hardcoded it.

<assetset:setasset name="Sample" type="Article" id='1337377897396' />
<asset:get name="Sample" field="Headline" output="printHL" />
<ics:getvar name="printHL"/>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points