cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JabbarCRM
Helper II
Helper II

Not able to send generated file of Custom Table to Power Automate

Hey Guys,


What I want is that I have created a Power Automate which will have a trigger i.e "When a HTTP request is received" wherein in My Business Central I have created a Custom Table which has a BLOB field so I want to call that Power Automate that will be responsible to obtain that generated file and store it into OneDrive when a new file gets generated from that Custom Table of Business Central.

But I have called that Power Automate from the POST MAN which was able to obtain the file which was sent by POST MAN and then store it into OneDrive.

Now I do want some kind of help from you that how should I achieve this from Business Central ?

I am trying to give you the screen shot of my Power Automate.This is being called sucessfully from POST MAN but don't know how to be called from Business CentralThis is being called sucessfully from POST MAN but don't know how to be called from Business Central

 
3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

Hi @JabbarCRM ,

 

Could you give us a sample of Body output by the trigger?

The method you are currently using is basically correct, we need to convert the file content using the specified function.

Maybe you didn't get the File content contained in the body, please provide more details.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

a8.JPGa9.JPG

 

You can see I got the body without putting anything as JSON schema into "When a HTTP request is received" trigger from POST MAN.

Everything works fine from POST MAN but I want to get the generated file from External System i.e [Business Central] and store it into One Drive.

DamjanZ
Frequent Visitor

Hi,
can you please describe this: "I want to get the generated file from External System i.e. [Business Central] and store it into One Drive"

BC latest release (V19.1) has already the functionality where OneDrive for business is integrated with BC (SaaS). 

I believe you need to develop an extension to download (read) and upload (save) files from/to OneDrive directly from BC application. Start with these:
https://docs.microsoft.com/en-us/dynamics365/business-central/across-onedrive-overview

https://robertostefanettinavblog.com/2021/09/10/business-central-onedrive-cloudstorage-integration/

 

below link explains the setup. Please make sure that you use at least Office 365 Business Standard where OneDrive for business is already included.

https://yzhums.com/17888/

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,000)