I'm experiencing an issue with listing property aliases in the searchFields and previewFields of the macro. I have two questions / concerns:
(1) Is there a general catch-all I can include in the macro for the searchFields and previewFields so that all of my property aliases are included, rather than listing all of them (tedious).
(2) It appears that my below macro is not giving all results with the search term: "experience". I have at least 8 property aliases that contain content with the word "experience", but since my previewFields are listed in order, it looks like it leaves out the later property aliases that would contain the word: "experience".
I don't know if this matters, but I commented out the following:
// ====================================================
// Comment the next if statement out if you want a root
// node id of -1 to search content across all sites
// and not just the current site.
// ====================================================
@if (model.RootContentNodeId <= 0)
{
model.RootContentNodeId = Model.Content.AncestorOrSelf(1).Id;
}@
ez search not working with all property aliases
Hi,
I'm experiencing an issue with listing property aliases in the
searchFields
andpreviewFields
of the macro. I have two questions / concerns:(1) Is there a general catch-all I can include in the macro for the
searchFields
andpreviewFields
so that all of my property aliases are included, rather than listing all of them (tedious).(2) It appears that my below macro is not giving all results with the search term: "experience". I have at least 8 property aliases that contain content with the word "experience", but since my
previewFields
are listed in order, it looks like it leaves out the later property aliases that would contain the word: "experience".My macro:
I don't know if this matters, but I commented out the following:
is working on a reply...