Lesson658 - Power Pages - File upload - Create Flow - Power Apps 1000 Videos

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 2

  • @rahatsyed6038
    @rahatsyed6038 3 วันที่ผ่านมา

    Thank you sir🎉

  • @PowerAppsVideos-eb3pt
    @PowerAppsVideos-eb3pt  3 วันที่ผ่านมา

    Power Pages - File upload - Create Flow
    Power Automate
    Create Flow
    Flow_UploadFile
    add step
    When a HTTP request is received
    Make sure Who can trigger the flow - Anyone
    Add Action
    Initialize variable
    File Name
    expression
    triggerMultipartBody(1)['$content']
    Initialize variable
    File Name String
    expression
    base64ToString()
    select File Name
    base64ToString(variables('File Name'))
    Add Step
    SharePoint
    Create File
    Site - SPS1000Videos
    Folder Path - pick select Shared Documents
    File name - File Name String
    File Content
    base64toBinary(triggerMultipartBody(0)['$content'])
    Add Step REsponse
    Status Code - 400
    Body - Bad Request
    Configure Run After
    Create File
    Check Failed
    Add Parallel Branch
    Add REsponse
    Status Code - 200
    Body - Uploaded
    Configure Run After
    Create File
    Check Successful