Describe the bug
When selecting "ActivityHistories" for a Related List, there following error message when component is displayed by a non administrator user.
_"There is an implementation restriction on ActivityHistories. When you query this relationship, security evaluation is implemented for users who don't have administrator permissions, and you must specify a LIMIT with a maximum of 500"__
To Reproduce
Steps to reproduce the behavior:
Go to 'Lightning App Builder'
Add component "sfpegRelatedListKpisCmp"
Select "ActivityHistories" for a "Related list"
Save
Logon as a non admin user
Display the lightning page (for a record)
Expected behavior
The KPI should be displayed without error message.
Screenshots
Desktop (please complete the following information):
Describe the bug When selecting "ActivityHistories" for a Related List, there following error message when component is displayed by a non administrator user. _"There is an implementation restriction on ActivityHistories. When you query this relationship, security evaluation is implemented for users who don't have administrator permissions, and you must specify a LIMIT with a maximum of 500"__
To Reproduce Steps to reproduce the behavior:
Expected behavior The KPI should be displayed without error message.
Screenshots
Desktop (please complete the following information):