Announcements
i need to export the items with their pictures to an excel file on cloud, I tried doing the report and using SAVEASEXCEL function but this function only works on premise, is there any other way to do that on the cloud?
would tempblob work?
Thank you,
if i copy the data to a new excel file i can import it with no problems
the export now works great i was missing the filemanagment line, but now the import is giving me an error :
'', hexadecimal value 0x03, is an invalid character. Line 1, position 81.
For this task you could create an API page that exposes Item and Item Picture and then consume it from Excel or othet OData clients.
Other possibile solution is something like described here (with Streams):
navnilesh.blogspot.com/.../reportsaveaspdf-in-business-central.html
try to use Report.SaveAs and use Tempblob to stream the result
André Arnaud de Cal...
294,261
Super User 2025 Season 1
Martin Dráb
232,994
Most Valuable Professional
nmaenpaa
101,158
Moderator