London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Even after adding EPiServer.Find.Cms.Conventions namespace, I'm getting the same error.
In the Object Browser of EPiServer.Find.CMS (double click on the referenced dll in VS). Open the EPiServer.Find.Cms.Conventions-namespace and make sure that VisibleInFilemanagerVPPIndexingConvention is missing. If so please post the EPiserver.Find-version you are using and download the latest one from http://world.episerver.com/Download/Categories/Modules/EPiServer-Find/
Regards,
Henrik
Hi,
Its working now. It was my fault, as I had typed it : FileIndexer.Instance.Conventions.ShouldIndexVPPConvention = new VisibleInFileManagerVPPIndexingConvention(), instead of : FileIndexer.Instance.Conventions.ShouldIndexVPPConvention = new VisibleInFilemanagerVPPIndexingConvention(). And we also need to use EPiServer.Find.Cms.Conventions-namespace. Thanks for your suggestions.
Im trying to index the files in VPP folder by placing the below code in Application_Start event of Global.asax.cs file:
FileIndexer.Instance.Conventions.ShouldIndexVPPConvention = new VisibleInFilemanagerVPPIndexingConvention();
However, I get - "the type or namespace name 'VisibleInFilemanagerVPPIndexingConvention' could not be found" error. I have added the namespaces - EPiServer.Find and EPiServer.Find.Cms namepaces in Global.asax.cs. Kindly let me know what else am I missing. Thanks.