Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How to enable SupportProtectedContent for an external index in Umbraco 11?
Hi Marius,
You need to customise the External Index.
See here:
https://docs.umbraco.com/umbraco-cms/reference/searching/examine/indexing#creating-a-configureoptions-class
Inside the Configure method:
if (name.Equals(Constants.UmbracoIndexes.ExternalIndexName)) { options.Validator = new ContentValueSetValidator(true, true, _publicAccessService, _scopeProvider, null, null); }
setting second parameter of ContentValueSetValidator to true enables SupportProtectedContent.
Cheers,
Marc
Thanks that solved my problem
Great, thanks for letting me know that worked.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to enable SupportProtectedContent for external index?
How to enable SupportProtectedContent for an external index in Umbraco 11?
Hi Marius,
You need to customise the External Index.
See here:
https://docs.umbraco.com/umbraco-cms/reference/searching/examine/indexing#creating-a-configureoptions-class
Inside the Configure method:
setting second parameter of ContentValueSetValidator to true enables SupportProtectedContent.
Cheers,
Marc
Thanks that solved my problem
Great, thanks for letting me know that worked.
is working on a reply...