RocketCDS
Installation
Integration
RocketCDS
Installation
Integration
Installing AppThemes
Partial And Shared Templates
Razor Tokens
Dependancy
JQuery Validation
DNN Search
File Download
Rocket Tools
ChatGPT
DeepL
Simplisity JS
Command Attributes
Methods
Class Events
Field Data
Utility Functions
Ajax DropDownList
RocketContent
Create an AppTheme
Adding CSS and JS
Adding Resx
Multi-Row AppTheme
DataObjects
Razor Tokens
Shared Templates
Snippets
ArticleLimpet
ArticleRowLimpet
RocketDirectory
Create an AppTheme
DataObjects
Razor Tokens
Shared Templates
MenuManipulator
Category Menu
Text Search
Property Filter
Tag Filter
Secure Document
Snippets
RSS feed
Related Articles
ArticleLimpet
RocketForms
Create an AppTheme
DataObjects
Functionality
Module Settings
# Related Articles Related articles are articles that are related in some way to the product being viewed. RocketDirectory uses an auto association method to make the link between articles. Properties are used and any article with a matching property is automatically asscoiated. The display of related properties can be controlled by using property groups. ## Related Property Display *Get a list of 4 related articles in **RANDOM** order.* ``` var relatedArticles = articleData.GetRelatedArticles("",4); ``` *Get a list of articles that are only in the "related" property group* ``` var relatedArticles = articleData.GetRelatedArticles("related",4); ``` *Example of displaying related particles* ```
@ResourceKey("ProductsFood.relatedarticles")
@foreach (var relatedArticleData in relatedArticles) { var urlparams = new Dictionary
(); urlparams.Add("articleid", relatedArticleData.ArticleId.ToString());
@relatedArticleData.Name
@relatedArticleData.Summary
}
```