属性
|
说明
|
||
---|---|---|---|
DynamicsApiVersion
|
指定 Dynamics 365 CRM API 版本。默认情况下,此首选项设置为 9.0。
|
||
EntitySetDefinitions
propertyDefinitions
|
定义想要在 ThingWorx Flow 用户界面上显示的 Dynamics 365 CRM 实体集。
例如:要在用户界面上包括 accounts 实体集,请在 EntitySetDefinitions 属性下指定以下内容:
"name": "accounts",
"include": true, "label": "Account", 其中,name 用于指定 Dynamics 365 CRM 实体集名称。
将 include 设置为 true 将在用户界面上显示实体集。
label 属性用于定义要在用户界面上显示的实体集名称。
每个实体集都具有属性。定义要在用户界面上 propertyDefinitions 属性下显示的实体集中的属性。可通过提供属性的 name 和 label 数组来限制要在用户界面上显示的任何实体集中的属性数。
例如:要显示 accountid 属性,请在 accounts EntitySetDefinitions 属性的 propertyDefinitions 属性下指定以下内容:
{
"name": "accountid", "label": "Account ID" } 其中,name 用于指定属性名称。
label 属性用于定义要在用户界面上显示的属性名称。
如果要包括某个实体集的所有属性,则将 propertyDefinitions 的值设置为空数组,即 "propertyDefinitions": []。
|
||
relatedItems
|
如果添加相关项,则返回的实体集数据会包含该特定实体集的相关项。
例如:要显示 attachments 属性,请在 accounts EntitySetDefinitions 属性的 relatedItems 属性下指定以下内容:
{
"name": "attachments", "label": "Attachments" } 其中 name 指定了相关项名称。
label 属性用于定义要在用户界面上显示的相关项名称。
如果不希望包括任何实体集的任何相关项,则将 relatedItems 的值设置为空数组,即 relatedItems: []。
|
![]() |
必须将参数 fileId 的值设置为 DynamicsMetadata。
|
![]() |
必须将参数 fileId 的值设置为 DynamicsMetadata。
|