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!
AI OnAI Off
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!
public static T GetOriginalObject<T>(this UnifiedSearchHit hit) { if (hit.OriginalObjectGetter != null) { var original = hit.OriginalObjectGetter.Invoke(); if (original is T) { return (T)original; } } return default(T); }
How would I impliment this in the Alloy FindSearchPage?
I'd love to have more complete sample code for Find.
Hi there,
Not sure if I'm missing something simple here, does anyone know an efficient way of getting the PageData or IContent reference from a Unified Search result in Episerver Find?
I know one way it could be done is doing a content repository lookup from the URL, but I would've thought the UnifiedSearchResult object would include a content reference buried somewhere in the results?
Cheers