共用方式為


msdyn_RegisterCustomEntity Action

 

Applies To: Dynamics 365 (online)

Registers any custom entity that may or may not already have connected IoT devices. This action invokes the msdyn_RegisterIoTDevice Action IoT – Register Device action.

If there are no connected IoT devices, this action will create the specified IoT device, create the connection between the custom entity and the IoT device and then register the IoT device. If the custom entity already has connected devices, this action will just register all the connected devices.

msdyn_RegisterCustomEntity action is not bound to any entity types.

msdyn_RegisterCustomEntity action does not return a value.

Parameters

Parameters allow for data to be passed to the action.

Name

Type

Nullable

Unicode

Description

EntityIds

Edm.String

false

false

Comma separated entity record GUIDs.

EntityLogicalName

Edm.String

false

false

Name of the entity to register.

DeviceIds

Edm.String

false

[Optional] Comma separated, user friendly device IDs to use.

Names

Edm.String

false

[Optional] Comma separated names to give to the IoT devices if they need to be created.

See Also

IoT Connector EntityType Reference
IoT Connector Action Reference
IoT Connector ComplexType Reference
IoT Connector changes to system entities

Microsoft Dynamics 365

© 2017 Microsoft. All rights reserved. Copyright