开发者

Add Page Tags Programatically in DotNetNuke

I am creating a new tab in dotnetnuke but I also want to add tags for my tab (pages). I don't know I how to accomplish this task. I have use taxonomy class but in that class we can define tags but I want to add tags programatically for my pa开发者_运维知识库ge when I am adding a new page (tab).


Try using a DotNetNuke.Entities.Content.ContentController to get a ContentItem instance based on the tab's ContentItemId. You can then add to the Terms list and use the ContentController to update the content item.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜