You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,11 @@ Many fields in your FileMaker database will be read-only, such as summaries and
97
97
### Container Fields
98
98
This package supports both reading and writing container field data. Container fields are retrieved from FileMaker as attributes on your model which will contain a URL which can be used to retrieve the file from the container.
99
99
100
+
Please note: The FileMaker Data API does not allow you to write to container fields in related records:
101
+
102
+
[FileMaker Data API Container Documentation](https://help.claris.com/en/data-api-guide/content/upload-container-data.html)
103
+
> The container field must be a field in the table occurrence of the specified layout. It cannot be a container field in a related table.
104
+
100
105
#### Writing to container fields
101
106
When setting a container field you should set the value to be an `Illuminate/HTTP/File` or `Illuminate/HTTP/UploadedFile` object. These attributes will be written back to your container fields along with any other model updates when the `save()` method is called on your model object.
0 commit comments