Could you please share more details about the formula you typed within the Items property of the Attachments control?
Actually, the Attachments field of a SP list item is required to provide a Table value consists of Attachment type data. The standard data structure of Attachment type data as below:
DisplayName: "File Name",
Value: "File Content",
So if you want to provide a Collection of images (or files) within the Items property of the Attachments control, your Collection data must have the following data structure:
I have made a test on my side, please take a try with the following workaround:
Add a Add Picture control and a button within your Edit/New screen (as above screenshot, on your side, it is FormScreen1), set the OnSelect property of the "Add" button to following:
Unlock the Attachments Data card, set the Items property of the Attachments control to following:
Add the following formula within the OnSuccess property of the Edit form:
The GIF screenshot as below:
Hi @v-xida-msft, thanks a lot for your answer. But it didn't work as expected.
Here is my formula:
'Teste_Gestão de Relacionamento';
'Qual é a sua Coodernação':[@Dropdown4].Selected.Value;
'Pauta da reunião':[@TextInput1].Text;
'Qual a data do Engajamento':[@DatePicker2].SelectedDate;
'Funcionários Anglo American Presentes':[@Label2].Text;
'Avaliação Geral da Reunião':[@Slider2_1].Value;
In the Attachment "AppSample_2" there are my Sharepoint list columns. In "AppSample_3" the details of the formula problem. In "AppSample_4" I have my full formula and one of my app screens, as you can see as I use multiple sharepoint list connections I use a custom app, not a prebuilt form.
Every time I try to upload Attachments through the formula I get this error of incompatibility. Hope this makes my problem more clear.
Again, thanks a lot for your help.
Check it out!
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand