Field types in Dynamics Ax
-
26-09-2019 - |
Question
Is it possible to store binary information in a Dynamics field? For example, I'd like to store an MS Word document inside the Dynamics database.
Solution
Yes, add a container field to the table, then use the BinData Class to read the file and convert the data to a container. For an examples of this, look at how the standard Document handling feature stores files in the database in the table method DocuValue.writeDocuValue()
, or look at how image files are stored in the CompanyImage
form.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow