integrating with the servicenow odbc driver

13
Integrating with the ServiceNow ODBC Driver NEOSNUG developersCorner Brett Teacher Software Engineer Lead PNC Bank

Upload: sylvana-silas

Post on 30-Dec-2015

54 views

Category:

Documents


0 download

DESCRIPTION

NEOSNUG developersCorner. Integrating with the ServiceNow ODBC Driver. Brett Teacher Software Engineer Lead PNC Bank. NEOSNUG developersCorner. I’m Down with ODBC Yeah you know Me. NEOSNUG developersCorner. Why am I down with ODBC?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Integrating with the  ServiceNow  ODBC Driver

Integrating with the ServiceNow ODBC Driver

NEOSNUGdevelopersCorner

Brett TeacherSoftware Engineer LeadPNC Bank

Page 2: Integrating with the  ServiceNow  ODBC Driver

I’m Down with ODBCYeah you know Me

NEOSNUGdevelopersCorner

Page 3: Integrating with the  ServiceNow  ODBC Driver

Why am I down with ODBC?

The ServiceNow ODBC Driver enables legacy applications to pull data from

ServiceNow.

NEOSNUGdevelopersCorner

Page 4: Integrating with the  ServiceNow  ODBC Driver

Description• The ServiceNow ODBC driver is compliant to version 3.52

of the Microsoft ODBC specification and allows any ODBC client to connect to the ServiceNow platform for reporting.

• The ServiceNow ODBC driver uses the ServiceNow web services support for a query-only interface.

• The ODBC driver supports only SELECT statements or read-only functions, and does not modify your instance data.

NEOSNUGdevelopersCorner

Page 5: Integrating with the  ServiceNow  ODBC Driver

Instance Setup

• Create a service account in the instance• SOAP role to access the web services• ITIL role to read all tickets

NEOSNUGdevelopersCorner

Page 6: Integrating with the  ServiceNow  ODBC Driver

Download the ODBC Driver• 32-bit• 64-bit

NEOSNUGdevelopersCorner

Page 7: Integrating with the  ServiceNow  ODBC Driver

Create the Data Source• Leave at default

NEOSNUGdevelopersCorner

Page 8: Integrating with the  ServiceNow  ODBC Driver

The installation creates the following links in the menu:

• Interactive SQL (ODBC): an interactive SQL command window for directly testing SQL statement.

• Management Console: a Microsoft MMC snap in for configuring default properties for the ODBC driver.

• ODBC Administrator: a Microsoft ODBC Administrator program.

NEOSNUGdevelopersCorner

Page 9: Integrating with the  ServiceNow  ODBC Driver

Configure the DSN and test the connection using ODBC Administrator

NEOSNUGdevelopersCorner

Page 10: Integrating with the  ServiceNow  ODBC Driver

Interactive SQL• In Windows, navigate to Start > Programs >

ServiceNow ODBC > Interactive SQL (ODBC).• CONNECT admin*admin@ServiceNow• SELECT number, short_description, category,

approval, type, dv_state FROM change_request;

• IMPORTANT: Add a semicolon to the end of MySQL statements;

NEOSNUGdevelopersCorner

Page 11: Integrating with the  ServiceNow  ODBC Driver

Interactive SQL• Example:

NEOSNUGdevelopersCorner

Page 12: Integrating with the  ServiceNow  ODBC Driver

Display Values• When querying a column of type Choice or

Reference, an additional column with the prefix dv_ is available that contains the display value.

NEOSNUGdevelopersCorner

Page 13: Integrating with the  ServiceNow  ODBC Driver

Examples using the ODBC driver

• Running Interactive SQL (ODBC)• Using the ODBC Driver in Excel 2010• Using the ODBC Driver in Crystal Reports 2008• Using ODBC Driver in SQL Server 2008

NEOSNUGdevelopersCorner