Hi @ALL,
it is driving me crazy,I have a form with several datacards and on of them is the attachment data card of my sharepoint list. It is enabled that someone can attach a file to this field.
Below is my "Save" Button Code for Updating the data cards under condition. I also need to update the attachment column but it is not working, it always shows me an error that the name is invalid. But 'Attachments' is the name of data card made by PowerApps and right now I am not able to reference to it
If(Value5.Text<>"Closed",
UpdateIf(Requests,ID=EditRecord.ID,{Status:Value5.Text,
SupplierMail:_SupplierMailDropdown.SelectedText.SupplierMail,
SupplierContactPerson:_CCMailDropdown.SelectedText.CCMail,
AssignedTo:assign,
DateClosed:"--",
BusinessServiceTypes:_DataCardValue1.Text,
Priority:Value8.Text,
Comment:Value3.Text}),
UpdateIf(Requests,ID=EditRecord.ID,{Status:Value5.Text,
'Attachments':_DataCardValue2.Attachments,
SupplierMail:_SupplierMailDropdown.SelectedText.SupplierMail,
SupplierContactPerson:_CCMailDropdown.SelectedText.CCMail,
AssignedTo:assign,
DateClosed:_DatumHeute.Text,
BusinessServiceTypes:_DataCardValue1.Text,
Priority:Value8.Text,
Comment:Value3.Text}));
Navigate(DashboardPage,ScreenTransition.Fade) I would appreciate it if you could help me. This step is really crucial for the employees to save other attachments.
BR
Pitfrog