Zoho CRM Widget not displaying 2 related lists (JS)
Okay so I basically have 2 relatedLists that I want to get and render:
ZOHO.CRM.API.getRelatedRecords({
Entity: data.Entity,
RecordID: data.EntityId,
RelatedList: "Notes",
page: 1,
per_page: 200,
})
ZOHO.CRM.API.getRelatedRecords({
Entity: data.Entity,
RecordID: data.EntityId,
RelatedList: "Time_entries",
page: 1,
per_page: 200,
})
However, the issue I am not facing is that, it's only rendering the one from the "Time_entries" rather than both. Both of them are inside the PageLoad event:
ZOHO.embeddedApp.on("PageLoad", function (data) {
I'm not sure why it's not rendering correctly. I was expecting it to render both Time_entries and Notes. Can I only 1 relatedRecord?