Developer forum

Forum » Rapido » Extending Dynamic Article with new fields

Extending Dynamic Article with new fields

Michael Fenech-Andersen
Reply

Hi 

I'm trying to extend Dynamic Articles to have som extra fields that I would like to use when showing the dynamic list. 

I've created my own Field called Theme and I would like to use this Theme value when I display the article in a list. (Much like category colour but I want to specify it on the Dynamic Article)

I have my own copy of Dynamic Article with it's own template. But I am unsure of how to pass values from Rapido/ItemPublisher/List/DynamicList_custom.cshtml to Rapido/Components/Articles/ListItem_custom.cshtml

In ListItem_custom.cshtml I can access an instance of ArticleListItem called "settings" but I can't figure out how I can add/extend the information contained that instance. My idea was that I would pass the information to the ArticleListItem in created in DynamicList_custom.cshtml 

Any suggestions of how to access my Theme value in ListItem_custom?

And how is ArticleListItem defined? - I can't figure out where this class is specified. 

 

Hope my question makes sense... :)


Replies

 
Kim Søjborg Pedersen
Reply

Hi Michael,

Did you find a solution to this?

/Kim

 

You must be logged in to post in the forum