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
MiddhaMiddha 

Get Report Names from Folder using Metadata API

Hi, I am trying to get names of all the reports in a particular folder using Metadata API. ListMetadata only gives the Full name of the report which looks like "Custom_Folder/custom_sample_report" where as i want "custom sample report".

 

The only place where i can find a report name is in the Custom_Folder/custom_sample_report.report XML file. But if i have 1000 reports in a folder i have to parse all the 1000 files and get the report name, which does not looks like a good idea.

 

Is there any other easy way, please advise.

 

/G

PamSalesforcePamSalesforce

Hi,

 

 

 

Were you able to get the report names..Can you please share your code.

 

Thanks,

Shishir VKShishir VK

Hi,

Iam trying to create reports under a specific folder in SFDC, using the MetaData API.

But when i use the ReportFolder Class or the Report class (which come as part of the MetaData  API), I dont find any options to link both (Report with ReportFolder), Kindly help its Urgent....