Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule content not finding in dnn searchModule content not finding in dnn search
Previous
 
Next
New Post
6/13/2013 9:59 AM
 

i am unable to find the content of my custom module i had implement isearchable interface but still i am unable to find content in  dnn search.

i had installed module again but unable to find my modules data( text and values)  in search. 
 i had checked that indexer in schedular is running and consult with following links but dont get my problem solved 

My code for isearchable implementationis as follows

public class FeatureController : ISearchable

{

public DotNetNuke.Services.Search.SearchItemInfoCollection GetSearchItems(DotNetNuke.Entities.Modules.ModuleInfo ModInfo)
        {
        SearchItemInfoCollection SearchItemCollection = new SearchItemInfoCollection();

        List<BusinessCategory> colDNNModule3s = Christoc.Modules.DNNModule3.Components.BusinessCategoryController.GetBusCats(ModInfo.ModuleID);

        foreach (BusinessCategory objDNNModule3 in colDNNModule3s)
        {
            //SearchItemInfo SearchItem = new SearchItemInfo(ModInfo.ModuleTitle, objDNNModule3.BusCatName, objDNNModule3.CreatedByUserId, objDNNModule3.CreatedOnDate, ModInfo.ModuleID, objDNNModule3.BusCatID.ToString(), objDNNModule3.Content, "ItemId=" + objDNNModule3.BusCatID);

            SearchItemInfo SearchItem = new SearchItemInfo();
            SearchItem.Title = objDNNModule3.BusCatName;
            SearchItem.Author = objDNNModule3.CreatedByUserId;
            SearchItem.Content = objDNNModule3.Content;
            SearchItem.Description = objDNNModule3.BusCatName;
            SearchItem.ModuleId = objDNNModule3.ModuleID;
            SearchItem.SearchItemId = objDNNModule3.ContentItemId;
            SearchItem.SearchKey = objDNNModule3.BusCatName;
            SearchItem.TabId = objDNNModule3.TabID;
            SearchItem.PubDate = objDNNModule3.CreatedOnDate;
           
            SearchItemCollection.Add(SearchItem);
        }

        return SearchItemCollection;

        throw new System.NotImplementedException("The method or operation is not implemented.");
        }

}

Please help 

 
New Post
6/17/2013 3:12 PM
 

Try commenting out the Throw New System.NotImplementedException line.

Also check the manifest file and ensure the Business Controller Class is correct. 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule content not finding in dnn searchModule content not finding in dnn search


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out