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.
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.