'Event' is a lookup column. It looks up 'Title' from the list "Calendar." So, it will store data in the form "7:#MyEvent." When I choose matchOnId: false, the query parameter is "MyEvent" and when I choose matchOnId: true, the query parameter is 7. So, that part appears to work for me as designed. However, when SPDisplayRelatedInfo creates the GetListItems call, it constructs the Query option and uses "Title" as the filter field whether it is trying to match on text or an ID. When matchOnId: false, the query correctly looks for "My Event" in the title field. However, when matchOnId: true, it is looking for 7 in the Title field (which it will never find, regardless of "LookupId='True'" because Title isn't a Lookup field.
↧