问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/2826426/field-types-in-dynamics-ax