web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Kaizala Howto use: Mic...
Power Apps
Unanswered

Kaizala Howto use: MicrosoftKaizala.UploadMediaFileContent( fileContent )

(0) ShareShare
ReportReport
Posted on by 401

So, trying to upload some media from pc to kaizala.
Should be easy on our "low code" platform 🙂
There is a predefined function for that, so all I need to do is provide the right argument.

 

MicrosoftKaizala.UploadMediaFileContent (file fileContent)

file

Summary: File Content

Description: The media should be in multipart form.

 

That is not very clear to me.

No way I can upload from a html form in powerapps.  🙂 

What could they mean by that "multipart form".

And anyway, multipart means, provide the right names with the right content. 

 

So I've tried multiple varieties of "file" type stuff I used in other apps, just to see if anything matches:

 

 

MicrosoftKaizala.UploadMediaFileContent( {file:{ name:First(attach.Attachments).Name, content:First(attach.Attachments).Value } });

 

 

It does say that it expects a "blob"

So I tried to give it a blob:

 

 

MicrosoftKaizala.UploadMediaFileContent( Image1.Image );

 

 

But this, just like everything else I tried gives me:

 

MicrosoftKaizala.UploadMediaFileContent failed: {
"message": "No file to upload!",
"errorCode": "InvalidParameters",
"errorCategoryKey": "InvalidParametersException"
}

 

Did anyone try this?

Anyone got a clue?

 

Cheers,

 

Michel

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hi mate,

     

    Have you tried using the Microsoft Kaizala sections in PowerAutomate? 

    See here: https://docs.microsoft.com/en-gb/connectors/kaizala/#upload-a-media-file

    Sometimes PowerApps doesn't handle stuff like this well. You can pass the image content as Base64 to Flow, and then work out what the action needs. PowerAutomate should also give you a bit more information as to what is breaking as well.

     

    Message me if you need a hand, happy to take  look 🙂

     

    Regards,

    Jacob Shand | Automation Specialist

    NextStep Creations


    Taking your PowerApps Skill the NextStep

  • MichelH Profile Picture
    401 on at
     

    I've given this a try.

     

    I made a fileupload flow that can accept the media and a kaizala groupID and adjusted the powerapp to use that. 

     

     
     

    image.png

     

    But unfortunately I am where I was.

     

    Seems I will need to wait with Kaizala development, until some day Microsoft gets the act together on the Kaizala connector.

     

    I'm not finding very much to work as expected.

    Even though I'm definitely not yet doing anything special.

     

  • MichelH Profile Picture
    401 on at
     

    When I hover the "Upload media from attachment" control, it helpfully says: 

     

    Media file in base64 format

     

    Don't be like me. Don't believe it.  Use binary instead.

     

    dataUriToBinary(body('Parse_JSON')?['FileContent'])

     


    Let's see where this gets me 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard