HTML Widgets

When I create new html widget, how do I add controller for it, where all js code should go?

  1. install node v8 (latest version will not work). https://nodejs.org/dist/latest-v8.x/
  2. open command line and navigate to apliqoUX application folder
  3. run: npm i
  4. install gulp by executing following: npm install --global gulp-cli
  5. run: gulp. leave cmd open. gulp will be watching for any changes in js files and compile them automatically.
  6. html pages go to /apq-c3-custom/html directory
  7. controllers go to /apq-c3-custom/config directory
  8. in ApliqoUX, create new widget of type HTML.
  9. in advanced panel enter file name of the html template: for example, “htmlTemplate”: “myNewPage.html”
1 Like