Error with Activities related list from custom lookup field
Closed this issue · 6 comments
Hi Lee,
I'll investigate and follow up. Could you share a screen shot of the custom field details in Setup of your lookup field on Task object?
Thanks,
Doug
Question, does this error occur when you leave the "Child Relationships" attribute blank in App Builder? By default all relationships will be shown.
If it works that way then save the page in App Builder. On the page in normal view (not App Builder), hover your mouse over the relationship labels in the vertical navigation. A tooltip should appear that displays the API name of the relationship. Confirm what the API name is listed there.
Thanks
Thanks @leeBringg,
I've confirmed that for custom lookup fields on Activity object that the SObject Describe info for the child relationships gives me special object name LookedUpFromActivity
which is not queryable and is causing the issue.
I believe I simply need to update the code to look for that object name and swap out for a standard queryable object name instead like Task
and Event
.
I'll notify you once a new version of the app with this fix is made available. Until then, do not specify child relationship names for custom lookup fields on Activity object.
Thanks for the feedback and catching this issue,
Doug
@leeBringg - I've got fix in the develop branch and will get this out in the next release. Thanks!
Hi Douglas,
Thank you !