Introduction to Widget SDK

Widgets are small applications that lives inside Infor Ming.le Homepages. Essentially a “homepage” is a collection of one or more widgets. You can find official guidelines here on working with widgets.

The latest widget sdk version can be found here. As of this writing, the version is 1.0.32.

Widget SDK file

Clicking the file and then Download from the newly opened page will let you download the zip file

Download and extract the zip file.

zip file contents

Before you can start running the Sample projects. You need to make sure that you have nodejs installed.

  1. Open a command prompt and cd to the Samples folder directory.
  2. Run npm install. This will fetch all dependencies needed for the widget sdk.
  3. This will take awhile depending on how fast your internet connection is.
  4. Once everything is done, a new folder named node_modules will be added. This is where all the dependencies are placed.
  5. With your command prompt still open. Run npm start or node server to start the web server.
  6. By default, the server will run in port 8080. The configuration for this is based on what is setup in Package.json‘s config property.
  7. Other option to start the server is by double-clicking the file StartServer.cmd. You can right-click > Edit this file to change port and directory.
  8. In your browser, go to localhost:<port>, in this case the port is 8080.
  9. Congratulations! You can now start exploring the source codes for the Sample project files.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.