Comment
DirkRedeker
Mega Sage

Hi

One thing, that I was wondering first was, how does the local development component access data on the ServiceNow instance?

All of the component development will be done locally on your machine and all source files will only be stored on your local drive.

NOTE: Do NOT story the source code on any Cloud-based folders, like "OneDrive" or "Dropbox" Mirrors etc. This may lead to unexpected results. Better use any local "plain vanilla" folder for development.

NOTE: Some say, you should execute the "NOW-CLI" in Admin Mode of the "CMD.EXE" on a Windows box. I did not experience this to be true, but I would like to know about your experience.

 

When "executing" a component locally with "now-cli develop", a local web-server will be lauched, which will have the component to be shown in your browser. This Web-Server utilizes a local Proxy, which connects to your ServiceNow Instance (which you connected to with "now-cli login ..."), and this way, the access to local functions in your instance is transparent. 

This in fact is a very cool feature to give full local experience for your development.

BR

Dirk