How to retrieve all fields of a report without manually selecting

Answered
Aashish Chavan asked on October 6, 2023

Hi All,
 
I'm trying to retrieve a report in a flat form using Custom Data API But after the handshake & fields call I have to select all fields manually by clicking the checkbox. Is there any way to get them automatically
Please Help me out with this issue.
 
Thanks,
Aashish Chavan

3 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster October 6, 2023

Hello, Aashish!

Thank you for reaching out to us.

Kindly note that this is a default behavior for Flexmonster connected to the custom API server when the SliceObject is not defined. This object is a definition of what data subset is going to be shown in the report and should be predefined in Flexmonster's report. You can either manually set the slice in the report's settings or programmatically select all necessary fields:

Please let us know if one of the suggested solutions works for you.

Best Regards,
Maksym

Public
Aashish Chavan October 10, 2023

Thanks Maksym Diachenko for the solution. It works fine.

Public
Maksym Diachenko Maksym Diachenko Flexmonster October 11, 2023

Hello, Aashish!

Thank you for your feedback.
We are glad to hear that the provided solution works for you.
Feel free to contact us if more questions arise.

Best Regards,
Maksym

Please login or Register to Submit Answer