unxeditor-cli runs the snapshot / diff / apply workflow for SAP BusinessObjects universe (.unx) editing from the command line. Same backend as the GUI: download a universe from the CMS, edit a JSON snapshot in your workspace, build a change plan, apply it locally, and push back to the CMS.
The free tier covers the read-only commands (list, select, import, status, extract, plan); applying changes (execute) and publishing (publish) require a PRO license.
Credentials in config/systems.json, workspace path in config/preferences.json:
{
"workspaceFolder": "workspace"
}
The CLI keeps per-universe state under tmp/<cuid>/state.json so subsequent commands know which local file to operate on.
A typical end-to-end run:
unxeditor-cli login --system production ^
select --universe "Reporting/Finance.unx" ^
import extract plan execute publish
Or scripted:
unxeditor-cli --args script.txt
Comments start with #.
loginOpen the BIP session.
| Parameter | Meaning |
|---|---|
--system <name> |
Use the entry from systems.json. |
--server <host:port> |
Connect to an arbitrary server. |
--username <user> |
Required with --server. |
--password <pass> |
Optional. |
listList universes from the CMS and cache them to tmp/universe-list.json.
| Parameter | Meaning |
|---|---|
--search <glob> |
Filter the display; the cache still gets the full set. |
selectPick the universe the rest of the pipeline will operate on.
| Parameter | Meaning |
|---|---|
--universe <name-or-pattern> |
Tries exact title, then substring, then glob. |
importDownload the selected universe from the CMS to a temp folder and record the import state.
statusShow local changes since the last import (workspace JSON vs. imported snapshot).
extractWrite the workspace JSON snapshot for the selected universe — your editable copy.
planDiff the workspace JSON against the imported snapshot and produce _plan.json.
execute (PRO)Apply _plan.json to the local universe file via the SAP SL SDK. Refused without a valid PRO license.
publish (PRO)Push the local file back to the CMS. Refused without a valid PRO license.
# scripts/refresh-finance.txt
login --system production
select --universe "Reporting/Finance.unx"
import
extract
# (manually edit workspace/Finance.json)
plan
execute
publish
unxeditor-cli --args scripts/refresh-finance.txt
Without a license, execute and publish fail with:
execute requires a PRO license. Place a valid license.txt next to the launcher.
Drop a signed license.txt next to unxeditor-cli.bat to unlock both commands.