servicenow-sync

Atom integration with ServiceNow (Eureka & above)

thtliife

1,534

2

Bug Reports

0.2.17

MIT

GitHub

Servicenow Sync

Atom integration with ServiceNow (Eureka & above)

Servicenow Sync on atom.io

Wercker GitHub issues GitHub license [Twitter URL](https://twitter.com/intent/tweet?text=Check out @thtliife%27s servicenow-sync package, for %23servicenow and githubs awesome %23atom text editor!:&url=https%3A%2F%2Fatom.io%2Fpackages%2Fservicenow-sync)

Servicenow Sync is a package primarily for ServiceNow developers. Servicenow Sync enables direct uploading of files to your ServiceNow instance.

Features

Installation

Using apm:

apm install servicenow-sync

Or search for servicenow-sync in Atom settings view

Settings

Sync on save

If checked the package will upload to your service now instance whenever you save a file configured as a Service now file.

Create .gitignore

If checked, the package will create / update a .gitignore file in the same directory as the file you are editing if you choose to configure the file for use with service now. This .gitignore will enable git to ignore the created config file ([filename].snsync.cson).

Debug mode

If checked, the package will output extra debugging information to the console.

Usage

Configure your file for Servicenow Sync

Open the Command Pallette, and type Servicenow Sync: Configure File (or snscf for faster use thanks to Atoms awesome fuzzy matching)

You can also use the default key map of ctrl+alt+k

Fill in the settings for your specific instance and file, and click Retrieve to pull the remote file to your editor, or click OK to save the settings without retrieving the remote file. You may also just paste the URL to the file as retrieved from ServiceNow to prefill most of the fields for you. If you leave the Sys Id field empty, then a new file will be created upon pushing to ServiceNow for the first time.

![Configure a file for Servicenow Sync](http://i.imgur.com/d3K2VDp.gif =500px)

Sync the contents of your editor to ServiceNow

Open the Command Pallette, and type Servicenow Sync: Sync (or the fuzzy matched sn:sync)

You can also use the default key map of ctrl+alt+l

Alternatively, you may just enable the Sync on save setting which will push your editors content to ServiceNow on every save, as long as you have previously configured the file for Servicenow Sync.

Sync to ServiceNow

View the current file in your ServiceNow instance

Open the Command Pallette, and type Servicenow Sync: View Remote (or the fuzzy matched ssvr)

You can also use the default key map of ctrl+alt+v

This will open your the currently focused file in the configured ServiceNow instance with your default browser. This obviously requires that the file has already been configured for Servicenow sync with the Servicenow Sync: Configure File command.

Further information

Stored credentials

Credentials are stored as a Base64 encoded string within the settings for the file.

Proxy support

Proxies are handled through the http_proxy and https_proxy environment variables These should be set as follows:

Windows

use setx variable_name variable_value at the cmd.exe prompt:

setx http_proxy http://proxyaddress.com:3128
setx https_proxy http://proxyaddress.com:80

or if you must authenticate to the proxy...

setx http_proxy http://username:password@proxyaddress.com:3128
setx https_proxy http://username:password@proxyaddress.com:80

Linux/OS X/Unix

Follow the instructions from nixCraft

How To Use Proxy Server To Access Internet at Shell Prompt With http_proxy Variable