Hi There,
I have a very designed simple dataverse table with one text column for customer Name and 3 file attachments for saving customer files in three different attachment column.
I am using Canvas app screen with form in editmode. My form has Text field to display customer name from database table and 3 attachment controls to allow user to attach 3 different types of fies.
I have set the default property of form attachment control to
ThisItem.FileAttachments.
Its bit strange that I am unable to add Default: ThisItem.Attachment
I dont know why PowerApps gives me FileAttachment instead of Attachment.
When I created Dataverse data table, I used Data type: File for Attachment control
I have used Data type: File in designing earlier applications also but never saw Default property as ThisItem.FileAttachments. It was always ThisItem.Attachments.
I am using SAVE button outside form with code: SubmitForm(Customer_form_Name);
Once I play the application, I am able to attach the files ( images, text files, PDF's etc) to attachment controls and on clicking SAVE button I able to save the form.
When I attach the files, I am able to view the attached files names. however after submitting I cant see attachment file name. File name disappear from the attachment window.
When I add 3 or 4 files in attachment, after saving it I can view only one row in Attachment control without name. So not sure of why it shows only 1 row without name in file attachment control.
One more issue is, I attached 3 files on First Attachment control "Customer Order Attachments" and after Saving form all 3 file attachment disappeared from Customer Order attachment control. However both attachment controls "Customer Order Attachments" and "Customer Service Files Attachments" shows me 1 blue color row without any file name.
I only attached text files on one control and after saving I am able to see one attachment row in both attachment controls.
Both attachment controls Default is set to: ThisItem.FileAttachments
Both attachment controls Items is set to: Parent.Default
Both attachment controls Max Attachment is set to: 10
Both attachment controls Maximum attachment size is set to: 10MB
My text file attachment size is hardly 2kb to 8KB in size.
I am not sure something wrong I am doing while configuring attachment card and attachment control or something else is wrong here.
Please view the screenshot here.
Any suggestion on how to rectify it.

Report
All responses (
Answers (