How do we get the NPM and Maximo Real Estate and Facilities tools?
Install Node.js Package Manager and use NPM commands to install tools for populating JavaScript files, previewing changes, and deploying updates to view metadata in the environment.
Contact your IBM® Maximo® Real Estate and Facilities representative or business partner if you cannot access the download location of the Node.js Package Manager (NPM) tool. This NPM tool is used to install several Maximo Real Estate and Facilities tools which allow you to populate the JavaScript (JS) files in your view metadata, preview your JS changes, and sync (deploy) your JS changes with the JS files in your Maximo Real Estate and Facilities environment. Be aware that these tools are not officially supported at this time.
Download and install the Node/NPM file. For example: node-v8.12.0-x64.msi.
Next, open your command prompt. Run the following NPM commands to install the following Maximo Real Estate and Facilities tools.
If you see any NPM-related warnings (optional, unsupported, or deprecated), you can ignore them.
Maximo Real Estate and Facilities Tools
tri-templatenpm install @tririga/tri-template -g- This command installs the
tri-templatetool.
tri-template-
This is a simple tool that generates UX view skeletons from available templates. This tool
resembles the WebViewSync addview -s starter view command. If you're curious,
feel free to check out the
tri-templateoptions and details.See: https://www.npmjs.com/package/@tririga/tri-template
tri-proxynpm install @tririga/tri-proxy -g- This command installs the
tri-proxytool.
tri-proxy-
This is a simple tool that serves UX views from your local file system and proxies all other view
files and calls to a
Maximo Real Estate and
Facilities server. This tool resembles the
WebViewSync sync -a command, but provides a continuous preview (after each file
save) without permanent changes. If you're curious, feel free to check out the
tri-proxyoptions and details.See: https://www.npmjs.com/package/@tririga/tri-proxy
tri-deploynpm install @tririga/tri-deploy -g- This command installs the
tri-deploytool.
tri-deploy-
This is a simple tool that deploys UX views to a
Maximo Real Estate and
Facilities server.
It updates the UX view files on the server with the files from the specified local directory, and
deletes any files on the server that does not exist in the local directory. This tool resembles the
WebViewSync push or sync -a command, but provides a
one-time action (not continuous) with permanent changes. If you're curious, feel free to
check out the
tri-deployoptions and details.See: https://www.npmjs.com/package/@tririga/tri-deploy
tri-pullnpm install @tririga/tri-pull -g- This command installs the
tri-pulltool.
tri-pull-
This is a simple tool that pulls UX views from a
Maximo Real Estate and
Facilities server.
It updates the UX view files in the executed local directory with the files from the server. This
tool resembles the WebViewSync pull command. If you're curious, feel free to
check out the
tri-pulloptions and details.See: https://www.npmjs.com/package/@tririga/tri-pull
tri-polymer-upgradenpm install @tririga/tri-polymer-upgrade -g- This command installs the
tri-polymer-upgradetool.
tri-polymer-upgrade-
This is a simple tool that automatically converts
Maximo Real Estate and
Facilities UX
views, UX components, and UX apps from Polymer 1 to Polymer 3. If you're curious, feel free to check
out the
tri-polymer-upgradeoptions and details.See: https://www.npmjs.com/package/@tririga/tri-polymer-upgrade
tri-vulcanizenpm install @tririga/tri-vulcanize -g- This command installs the
tri-vulcanizetool.
tri-vulcanize-
This is a simple tool that bundles a
Maximo Real Estate and
Facilities UX view in Polymer 1
into a single output component file. This tool resembles the
tri-bundlertool in Polymer 3. If you're curious, feel free to check out thetri-vulcanizeoptions and details.See: https://www.npmjs.com/package/@tririga/tri-vulcanize
The
tri-vulcanizetool is designed specifically for Polymer 1 only.
tri-bundlernpm install @tririga/tri-bundler -g- This command installs the
tri-bundlertool.
tri-bundler-
This is a simple tool that bundles a
Maximo Real Estate and
Facilities UX view in Polymer 3
into a single output component file. This tool resembles the
tri-vulcanizetool in Polymer 1. If you're curious, feel free to check out thetri-bundleroptions and details.See: https://www.npmjs.com/package/@tririga/tri-bundler
The
tri-bundlertool is designed specifically for Polymer 3 only.