How to download a report as a CSV directly from Salesforce Lightning?

前端 未结 1 1238
星月不相逢
星月不相逢 2021-01-14 05:18

I am creating a Python script for downloading a report from Salesforce as a CSV.

My script is working perfectly fine for Salesforce Classic. However, I need to get

相关标签:
1条回答
  • 2021-01-14 06:05

    Try with isdtp parameter. In classic it was used to force view pages without sidebar or header, for example add isdtp=vw to a random page and see what happens.

    https://my_company.my.salesforce.com/00O.....?isdtp=p1&export=1&enc=UTF-8&xf=csv ?

    (no idea what's 'p1' but that's what I see in Chrome's download history as part of the report's source URL)

    0 讨论(0)
提交回复
热议问题