Table of Contents

Method GetElement

Namespace
Skyline.DataMiner.DcpChatIntegrationHelper.Common
Assembly
Skyline.DataMiner.DcpChatIntegrationHelper.dll

GetElement(int, int, Guid, Guid, string)

Creates a button that request the DataMiner bot to show the given element

public static AdaptiveSubmitAction GetElement(int elementId, int dataminerId, Guid organizationId, Guid dmsId, string title = "Element")

Parameters

elementId int

The ID of the element

dataminerId int

The ID of the DataMiner Agent

organizationId Guid

The ID of the organization on dataminer.services where the DMS with dmsId is part of

dmsId Guid

The ID of the DMS on dataminer.services where the element with elementId is part of

title string

The button text

Returns

AdaptiveSubmitAction

The button that can be added in AdaptiveCards.AdaptiveActionSet.Actions of the AdaptiveCards.AdaptiveActionSet (AdaptiveCards.AdaptiveElement)