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.
The problem is that your "Anexos" column is an image column. It can only store a hyperlink to an image.
In order to store more photos to an item, you need an attachments column. The solution provided assumed you were using this column type.
We're excited to announce our first cross-community 'Can You Solve These?' challenge!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
We are excited for the next Super User season.
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021