
Announcements
I've followed more than 10 tutorials and think have all ok, but doesn't work.
I've created an attachment control and a button, when click button Run a flow that get attachment and write to Sharepoint.
I have this code on button:
Subir_fichero_hash.Run({file:{contentBytes:First(AttachCard.Attachments).Value; name:First(AttachCard.Attachments).Name}})
and get the errors:
1. The function 'Run' has some invalid arguments. (on flow.Run).
2. Unexpected characters. The formula contains 'Semicolon' where 'CurlyClose' is expected.
3. Invalid argument type (Error). Expecting a Record value instead.
4. Name isn't valid. 'name' isn't recognized.
5. Unexpected characters. The formula contains 'Colon' where 'ParenClose' is expected.
6. Unexpected characters. Characters are used in the formula in an unexpected way.
Have try with comma too (i'm on Spain and may use semicolon but for try).
Subir_fichero_hash.Run({file:{contentBytes:First(AttachCard.Attachments).Value, name:First(AttachCard.Attachments).Name}})
And then i get that errors:
1. The function 'Run' has some invalid arguments.
2. Missing column. Your formula is missing a column 'contentBytes' with a type of 'Blob'.
I think the problem is on comma/semicolon. I've set Powerapps language to English but nothing.
What can try or change for make it work?