Skip to main content

Notifications

Copilot Studio - Bot Extensibility
Answered

Help with File Upload using custom canvas (solved)

(0) ShareShare
ReportReport
Posted on by 2

Hello everyone,

I'm working on a project based on this example: File Upload in Chat using CoPilot Studio, where I'm trying to initiate a file upload in the chat to distribute the file further. The file is correctly uploaded to Azure, and my flow in CoPilot Studio also starts as expected.

However, I'm unable to read a value (in this case, I'm just testing with "hello 123") in CoPilot Studio using Activity.Text.Value, as the .Value access doesn't work. Additionally, directly sending text doesn't work either, as the value then doesn't appear in the payload, so it can't be processed in CoPilot Studio.

Has there been a change in the requirements for the dispatch method where different parameters in the payload are needed? I've searched extensively but haven't found the right parameters.

Here's the dispatch code I'm using:

 

 

 

 

 

dispatch({
 type: "WEB_CHAT/SEND_EVENT",
 payload: {
 name: "triggerfileupload",
 type: "event",
 value: "hello 123",
 },
});

 

 

 


Thank you for any assistance!


Edit.: Using Fx, we can now System.Activity.Value successfully.

 

 

 
 



Categories:
  • Verified answer
    Re: Help with File Upload using custom canvas (solved)

    HI @mrdsn,

    Glad that you have resolved your problem.

    I will mark here to close this case so that other users who may have the similar issue will be navigated here directly.

    Thanks for your cooperation.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard

Featured topics