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
intThe ID of the element
dataminerId
intThe ID of the DataMiner Agent
organizationId
GuidThe ID of the organization on dataminer.services where the DMS with
dmsId
is part ofdmsId
GuidThe ID of the DMS on dataminer.services where the element with
elementId
is part oftitle
stringThe button text
Returns
- AdaptiveSubmitAction
The button that can be added in AdaptiveCards.AdaptiveActionSet.Actions of the AdaptiveCards.AdaptiveActionSet (AdaptiveCards.AdaptiveElement)