Skip to content

Andries-Smit/update-custom-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update custom widget

EXPERIMENTAL Update Mendix Custom widget, widgetId

For demo purposes only. No warrantees nor support is provided for this script.

Features

  • Update all occurrence of custom widgets with a give ID, update the ID to a new one.
  • Dry run, without commit.

Limitations

  • Can only update the widget ID, no conversion of properties

Install

> npm install

Usage

Set your settings

const username = "[email protected]";
const apikey = "xxxxxx-xxx-xxxx-xxxx-xxxxxx";
const projectId = "xxxxxx-xxx-xxxx-xxxx-xxxxxx";
const projectName = "MyAwesomeProject";
const revNo = -1; // -1 for latest
const branchName = null; // null for mainline
const originalWidgetId = "OldWidget.widget.OldWidget";
const newWidgetId = "NewWidget.widget.NewWidget";

const dryRun = false; // can run without committing

Run script:

> npm start

About

Experimental! Update Mendix Custom widget, widgetId

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published