admin
-
5/6/2005 8:46:51 PM
Re: Somethings about "relationship"
Hello,
I'm sorry for the delay. Let's say you want to display all related articles to the currently selected article. You need to use one of the following controls:
CMSDataGrid CMSDataList CMSRepeater CMSViewer
You set the control properties so that it displays all articles first. Please check that it works now. Then, you need to set the following properties:
RelationshipWithNodeId RelationshipName RelatedNodeIsOnTheLeftSide
The RelationshipWithNodeId usually needs to be assigned dynamically with NodeID of the currently selected document.
The RelationshipName specifies the name of the relationship.
The RelatedNodeIsOnTheLeftSide property indicates if you want to display articles that are on the right side or left side of the relationship with node specified by the RelationshipWithNodeId property.
When you set up these three parameters, you should see only related articles instead of all articles.
Please let me know if it helps.
Best Regards,
|