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
elementIdintThe ID of the element
dataminerIdintThe ID of the DataMiner Agent
organizationIdGuidThe ID of the organization on dataminer.services where the DMS with
dmsIdis part ofdmsIdGuidThe ID of the DMS on dataminer.services where the element with
elementIdis part oftitlestringThe button text
Returns
- AdaptiveSubmitAction
The button that can be added in AdaptiveCards.AdaptiveActionSet.Actions of the AdaptiveCards.AdaptiveActionSet (AdaptiveCards.AdaptiveElement)