This atom package makes it easy to download all of your Medable Cortex org configuration for versioning. Additionally, you can edit your scripts and save your scripts back to your org, making it much easier to develop your Cortex scripts.
Download and install Atom from https://atom.io
Open Atom, open up
Atom > Preferences and select
In the search field, type
medable and hit
enter. This will bring up the
medable-dev-tools package. Click
Install to install the package.
Atom > Preferences select
Core settings. Then, add
.medable to the list of ignored file names.
Packages and search for
Tree-View and click on the
From the Tree-View package settings, check the check box to
Hide Ignored Names
Now restart Atom
To get started, create a new folder for your project and open it in Atom.
You'll have a new empty project that looks similar to this.
To enable Medable Dev Tools in your project, from the Packages menu choose Medable > Enable
Specify the Medable settings for your project:
api.dev.medable.comfor your dev environment (recommended)
api.medable.comfor you prod environment
Settings > Appsmenu in your org control panel. You can also click on the
Get API Keylink which will take you to your control panel to log in.
Now, you'll see a
Medable menu in the menu bar. From the
You'll then be prompted to log into your org.
After logging in, you'll see the Pull take place. You'll see a new folder structure appear in your project for all of your org elements.
These folders contain all of the definitions for your org configuration. From here, you can now commit this project to source control to begin versioning your org config.
Also you can use Atom as your IDE for your custom scripts. In your
scripts folder, you'll find sub-folders for all the different types of scripts you've created in your org. You'll also notice that for each scripts, you have a
.js file and a
.json file. The
.js file is your script itself, while the
.json file holds all of the definition detail about your script. You can modify these files and save them locally. Then, when ready, you can select
Push Scripts from the
Medable menu to save your scripts back to your org.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.