Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
This should work (pseudo code)
Conventions.ForInstancesOf<PdfFile>()
.ShouldIndex(x =>
{
var ancestors = _contentLoader.GetAncestors(x.ContentLink);
return !ancestors.Contains(folder2ContentLink);
}
);
Hi,
We want index pdf's from Folder 1 and Folder 4, how we do that ?
Folder 1
-- pdffile1
Folder 2
--SubFolder
-----Pdfflile2
Folder 4
-- pdffile3
Thanks!