function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sajiv Kartha 3Sajiv Kartha 3 

Report.SObjectType.getDescribe().getKeyPrefix()).getUrl() throws error in iPad. Works on Desktop and iPhone without any issues

This is sporadic.  At times it works and at times it just throws the error attached.

User-added image
If I directly go to the Report Menu, it works just fine even in iPad.  

Is there anything that I am missing..  I irony is that we have similar links for other standard objects and they are all working fine.  It is only for the link to the Report tab it is not working

Report.SObjectType.getDescribe().getKeyPrefix()).getUrl()

There is no issue for these following standard object urls

Account.SObjectType.getDescribe().getKeyPrefix()).getUrl()
Contact.SObjectType.getDescribe().getKeyPrefix()).getUrl()

Thanks
Sajiv



 
Sajiv Kartha 3Sajiv Kartha 3
Here is the complete line of code that is written for the url link
new PageReference('/' + Report.SObjectType.getDescribe().getKeyPrefix()).getUrl(), 'standard-sprite/svg/symbols.svg#report', null));
Sajiv Kartha 3Sajiv Kartha 3
Is this something I can reach out to Salesforce support ?  How can I reach them ? Is there a valid email address?