积极答复者
CRM中如何生成一个附件文档,然后放到一个实体中?

问题
答案
-
The annotation entity represents an annotation (note) and contains information that includes: the annotation (note) text, who created and modified the annotation (note), and if a file is attached to the annotation (note).
An attached file can be any standard PC file format, including Microsoft Word documents, Microsoft Excel spreadsheets, CAD files, and PDF files. An attachment can be associated with any object, other than an annotation (note), in the Microsoft Dynamics CRM system.
To upload or remove an attachment, use the Update message, setting the filename and mimetype properties. This uploads an attachment that has been decoded into a base64 string format. The System.Convert.ToBase64String method can be used to convert the contents of a data file into base64 formatted string. There is a maximum file size limit on the uploaded file data. That limit is defined in the system registry. For more information, see maxuploadfilesizeV4d0_SP5700r_maxrecordsforexporttoexcel.
Batistuta Cai-刀客 | 蔡敏生 | MS CRM MVP | Blog:http://caims.cnblogs.com- 已标记为答案 Jim Wang (Microsoft)Microsoft employee, Moderator 2009年7月19日 20:44
-
我想你需要通过 plug-in 或 custom workflow activity 才能把实现你的需求。 使用 mail merge 行吗?
Darren Liu | 刘嘉鸿 | MS CRM MVP | English Blog: http://msdynamicscrm-e.blogspot.com | Chinese Blog: http://liudarren.spaces.live.com- 已标记为答案 Jim Wang (Microsoft)Microsoft employee, Moderator 2009年7月19日 20:44
全部回复
-
我想你需要通过 plug-in 或 custom workflow activity 才能把实现你的需求。 使用 mail merge 行吗?
Darren Liu | 刘嘉鸿 | MS CRM MVP | English Blog: http://msdynamicscrm-e.blogspot.com | Chinese Blog: http://liudarren.spaces.live.com- 已标记为答案 Jim Wang (Microsoft)Microsoft employee, Moderator 2009年7月19日 20:44
-
The annotation entity represents an annotation (note) and contains information that includes: the annotation (note) text, who created and modified the annotation (note), and if a file is attached to the annotation (note).
An attached file can be any standard PC file format, including Microsoft Word documents, Microsoft Excel spreadsheets, CAD files, and PDF files. An attachment can be associated with any object, other than an annotation (note), in the Microsoft Dynamics CRM system.
To upload or remove an attachment, use the Update message, setting the filename and mimetype properties. This uploads an attachment that has been decoded into a base64 string format. The System.Convert.ToBase64String method can be used to convert the contents of a data file into base64 formatted string. There is a maximum file size limit on the uploaded file data. That limit is defined in the system registry. For more information, see maxuploadfilesizeV4d0_SP5700r_maxrecordsforexporttoexcel.
Batistuta Cai-刀客 | 蔡敏生 | MS CRM MVP | Blog:http://caims.cnblogs.com- 已标记为答案 Jim Wang (Microsoft)Microsoft employee, Moderator 2009年7月19日 20:44