[英]Microsoft Dynamics CRM - Annotation(Note) entity's filesize attribute vs set filesize limit for attachments in Email tab
I have been recently working on creating Annotations(Notes/Attachments) in Microsoft Dynamics CRM 2016. I have noticed that there are different settings for attachment file size as below. 我最近一直在努力在Microsoft Dynamics CRM 2016中创建注释(注释/附件)。我注意到,附件文件大小有不同的设置,如下所示。
Microsoft Dynamics CRM -> Settings -> System Settings -> Email -> Set file size limit for attachments -> Maximum file size (in kilobytes)
Microsoft Dynamics CRM->设置->系统设置->电子邮件->设置附件的文件大小限制->最大文件大小(以千字节为单位)
The Annotation Entity Documentation specifies as below: 注释实体文档规定如下:
The maximum size of files that can be uploaded is determined by the Organization.MaxUploadFileSize property.
可以上载的最大文件大小由Organization.MaxUploadFileSize属性确定。 This property is set in the Email tab of the System Settings in the Dynamics 365 application.
在Dynamics 365应用程序的“系统设置”的“电子邮件”选项卡中设置此属性。 This setting limits the size of files that can be attached to email messages, notes, and web resources.
此设置限制了可以附加到电子邮件,便笺和Web资源的文件的大小。 The default setting is 5 MB.
默认设置为5 MB。
I suppose " Organization.MaxUploadFileSize " is the global setting and any other specific settings as in Email or Notes take precedence over it for corresponding entities. 我想“ Organization.MaxUploadFileSize ”是全局设置,而对于电子邮件或Notes ,任何其他特定设置都优先于相应实体。 But this behavior is different from the above documentation.
但是此行为与上述文档不同。
Could anyone please clarify whether all these settings are interrelated and if so then what's the order of preference among them. 任何人都可以澄清一下所有这些设置是否相互关联,如果可以的话,它们之间的优先顺序是什么。
There is only one setting in all this. 所有这一切只有一种设置。 To clarify:
澄清:
As the MSDN documentation quote says, the Organization.MaxUploadFileSize
defines the maximum size of a file that you can attach to an annotation or an email message. 就像MSDN文档中所说的那样,
Organization.MaxUploadFileSize
定义了可以附加到注释或电子邮件中的文件的最大大小。 That's the one setting you can define or change. 这就是您可以定义或更改的设置。
The user interface to set Organization.MaxUploadFileSize
is located at the bottom of the Email
tab under System Settings
(where you found it). 设置
Organization.MaxUploadFileSize
的用户界面位于“ System Settings
(找到位置)下System Settings
Email
选项卡的底部。
Valid values for Organization.MaxUploadFileSize
are in the range of 0 to 131072 KB. Organization.MaxUploadFileSize
有效值在0到131072 KB的范围内。
The FileSize
field of the Annotation
entity is not a setting, it's the actual size (in bytes) of a specific attachment in one specific annotation record. Annotation
实体的FileSize
字段不是一项设置,而是一个特定注释记录中特定附件的实际大小(以字节为单位)。 The field is populated once you upload (attach) a file. 上传(附加)文件后,将填充该字段。
To see an example, create a note somewhere (for example under an account or a contact) and attach a file to it. 要查看示例,请在某处(例如在客户或联系人下方)创建便笺,然后将文件附加到该便笺。 Now open
Advanced Find
and search for annotations. 现在打开“
Advanced Find
并搜索注释。 If you add the FileSize column to the output you'll see the size of the file you attached. 如果将FileSize列添加到输出中,您将看到附件的大小。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.