cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
demipoulpe
New Member

Struggle with power apps with the french syntax (colon/semi colon)

Hi folks , maybe you can help me .

I struggle with the syntax of my chatbot 🙂 I have a button wich send the content of TextInput and retreive the response for a flow , then insert the question and the response inside the a collection name collection1 and display then

 

Collect( Bot;(TextInput1.Text);(FAQBOT.Run(TextInput1.Text).reponse))

 

the flow response is

 

{ "reponse": "blablabla", "jeton": "0" }

 

The display in a gallery  is ok but when I look into my collection jeton and reponse field are empty , everything  goes to value instead. what is the correct syntax to populate the field of the collection ?? ( I follow tutorials but the french syntax of collect  is different than the english one )? thanks in advance

1 REPLY 1
RandyHayes
Super User
Super User

@demipoulpe 

Please consider changing your Formula to the following:

Collect( Bot;
    Patch({Value:TextInput1.Text}; {FAQBOT.Run(TextInput1.Text).reponse})
)

See if that produces the results you would like.

 

I hope this is helpful for you. 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,238)