Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Hi Johan,
Did you manage to overcome or arrive at a solution when OriginalObjectGetter is null. I am trying to do similar thing to get web content from search, but fails because my OriginalObjectGetter is null.
Thanks,
Rams
Hi Johan and Ram,
Did you find a solution to this? My method looks like this today:
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); }
Thanks
Hi,
OriginalObjectGetter is missing for WebContent. Is this by-design? This means we can't do following: