Data source configuration
The 446 Plattform provides a way to add different data sources to a ticket schema. Connect (external) databases and execute commands via regular expressions directly in an input field.
Add a new data source in Ticket Schemas by selecting the 'Data sources' tab and hitting the 'Add data source' label.
Chapters:
Connection string: Enter the OLEDB connection credentials here.
Warning:
There will be an alert message displayed when using the deprecated providers 'SQLOLEDB' and 'SQLNCLI'.
Instead use 'MSOLEDBSQL' which is recommended by Microsoft. More information is to be found in Database server.
Query: In the ticket wizard, only one column can be displayed later on in the selection list resulting from this input window. The content of the first column is used for the text and the value of the underlying ticket field. For an example of the query, see Database query.
Custom property: Enter the property of a user or a group here.
User/Group: Here you can choose if the property should be applied to users or a group.
Connection string: define the sql connection string here.
Tip:
Use the predefined Sharp-Expressions and enter the connection credentials in Master Data
Query: the same options like in OLEDB analogue.
XML schema: A predefined XML template you can adjust at your will.
URL: The URL (Uniform Resource Locator) to be accessed to process the query can be specified.
Arguments: The arguments expected there can be entered in various forms.
XPath: The XML path for filtering the desired result has to be entered.
ID Element: Denotes a distinct ID that will be used as such in the resulting selection box.
Text element: Is the XML element containing the text to be displayed in the selection box.
Autocompletition: The option works analogously to the one in the OLEDB query.
In the arguments, a placeholder can be used as well, which will be replaced by the user’s input. This placeholder is {dynamic}.
For example by adding a data source to a ticket schema it is possible to define this source as connection type for the input field Data source query of the Ticket Wizard Designer.
With data sources available you are able to configure the following Workflow Plug-ins for automatic SQL statements in a Workflow:
-
Add additional affected principals by SQL (within the category Ticket Management)
-
Execute SQL statement (NonQuery) (within the category System integration)
-
Execute SQL statement (Select) (within the category System integration)