Milestone tracker component for the Now Experience
- shows how to pass data for sample data
- shows how to style
-
Install Node version 12.16
- https://nodejs.org/ru/blog/release/v12.16.1/
- It's the version supported by the ServiceNow CLI
-
Install ServiceNow CLI
- Download from the ServiceNow App Store
-
Configure the ServiceNow CLI to communicate with a ServiceNow instance
snc configure profile set -
Add ServiceNow CLI UI Component
snc extension add --name ui-component -
You may need to run this command if you get disconnected from your instance
snc ui-component login {instance_url} basic {user_name} {password}
-
Fork this repo into your GitHub account.
- You can fork any repo by clicking the fork button in the upper right hand corner of a repo page.
-
Clone the fork of your repo, so you can edit the contents locally
git clone <repo url> -
Install the required components
npm install -
Test the component locally
snc ui-component develop --open -
Deploy the component to a ServiceNow instance
snc ui-component deploy --force -
Make edits to your local cloned copy of the repo on your computer
-
Add, commit and push those edits back to your fork on GitHub
-
Suggest the changes that you made, to be added to the origianl repo using a pull request
. Run the following command
snc extension update --name ui-component