reedwowens
Giga Expert
  • Have you ever wanted to edit your scripts, HTML, or XML in ServiceNow with your favorite code editor? 
  • Tired of the click to full screen -> make a code change -> save -> click to full screen -> find your last place in code?  Phew, lots of steps there.
  • Want to have better source control?
  • Want to merge changes? 
  • Want to save your change and immediately test in a ServiceNow Instance window?
  • Need to push big WebPack bundles into ServiceNow?

UXstorm had many of these issues and it lead us to develop UXsyncNow.   We've published this on Share and GitHub for all ServiceNow users to use.

For those who don't like to read:

Install

  1. Load Update Set into a non-production instance.  Download from ServiceNow Share
  2. Install uxsyncnow CLI on your computer with

 

npm install uxsyncnow -g

Please see Setup Initial Work Area instructions to see how to connect to your instance.

UXsyncNow

UXstorm is an independent software vendor that specializes in applications on the ServiceNow platform. We have several applications on the ServiceNow Store and continually developing new ones. In all our development, we do a lot of development with ServiceNow scripts/HTML/XML This lead us to create this tool. We hope it's as useful to you as it is to us. If you wish to support us, check out our User Experience applications on the Store and spread the word of our works! If you are going to the ServiceNow Knowledge event, we will have a booth there so stop on by.

Brief History

Development in ServiceNow Studio allows for the creation of tables, forms, and many scripts and HTML/XML. While Studio is great for many things, the code editor lacks from a developers perspective as it requires a button press to go full screen and when it saves, it reverts back to a forms view. To continue editing, you must click a button to go full screen and search for the line you were working on. This makes it time-consuming to do a simple save and test. In addition, the version control is very rudimentary. This makes it difficult for multiple developers coding or releasing on a singular code base.

To solve these issues, we've developed a tool, UXsyncNow

Features

  • Provides two way syncing between a local work area and a ServiceNow instance
    • Changes to tracked files on the local work area are pushed into the instance
    • Changes to tracked files on the instance are pulled into the work area
  • Autodetects all "files" on the ServiceNow instance that can be managed
    • Can easily resolve conflicts
      • Pull from Instance and overwrite local file
      • Push local file to the Instance
      • Merge by pulling the file from the instance and saving it in the local work area with the same name plus extension .merge. You can then merge with your favorite merge tool
    • Can resolve one or all conflicts in one command
  • Works with ServiceNow Applications
    • Note: You can create a ServiceNow Application in the Global Scope if you need your work to be in global.
  • Provides an application command line interface for easy interaction and setup
  • Easy setup
  • Can support many different configurations in the project to connect to different instances
    • Defaults to a dev config
    • Command line option -p (or --prod) to use production configuration
  • Can run without watching the work-area to support pull or pushing
    • Pull all files from Instance and overwrite the local work area
    • Push the files from the local work area to the instance. We use this for production builds to our Integration Instance
  • Can override a file from the Instance to be stored/watched in another location. This is useful for specifying files from a build/generate area to the appropriate ServiceNow file. We use this for our WebPack bundles to UI Scripts.
  • Supports using a Proxy Server

 

Version history
Last update:
‎03-31-2018 05:33 PM
Updated by: