Implementing ISearchable
Last Post 09/02/2010 1:33 AM by Anton Burtsev. 2 Replies.
Author Messages
Stuart Dawson
Nuke Newbie
Nuke Newbie
Posts:4


--
04/15/2010 6:17 AM  
Hi I have a custom news module. To display a news article I use a single page (News.aspx) that looks at the querystring for an articleId and obtains the article from the database / displays the article within the page. My problem is in implementing ISearchable, my articles appear in the search results but the URL just points to News.aspx. I need it to be, for example, News.aspx?articleId=23. Is there any way to achieve this? My thanks in advance for any help! Stuart
Joseph Craig
DNN MVP
Posts:11667


--
04/15/2010 7:10 AM  
This is a question that is better suited for the developer forums at DotNetNuke.com, I think.

Joe Craig, Patapsco Research Group
Complete DNN Support
Anton Burtsev
Nuke Newbie
Nuke Newbie
Posts:1


--
09/02/2010 1:33 AM  
Hello, Just assign GUID property as follows: SearchItemInfo si = new SearchItemInfo(...) ... si.GUID = "articleId=" + article.ArticleID
Anton Burtsev
Develop For DotNetNuke With Pleasure


---