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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,661)