HTML Development samples

The OneIM_HTML5_Development_Guide states:

    The HTML applications are structured as nodeJS applications that use the Angular
    framework. Generally, any HTML applications that can be compiled as nodeJS applications
    are supported.

Does that mean all HTML applications have to be programmed as Angular applications? Is this also the case if you want to extend an IT Shop form (e. with some checkbox questions) ?

    Much of the logic for HTML applications is realized by plugins that can be used
    independently of a specific HTML application. You can also use this logic for your own
    applications.


Are there samples for such plugins?

Is there a more complete guide than the OneIM_HTML5_Development_Guide ?

Are there samples for HTML programming in 1IM?

Thank your,

Juergen

Parents
  • Hi,

    The OOB HTML applications are written in Angular, and will support a modular architecture that you can extend using plugins. This feature is under development for version 8.2 so we don't have the exact details ready to be published at this time. What I can say though is that this plugin architecture is based on Angular, and will not work with other frameworks.

    However, you can write your own HTML app with the framework of your choice. What is important is that you have a JavaScript package  (which can come from Angular, React, or other frameworks). You can then load that package into the system, and the API server serves the files to the client.

    As for samples in HTML programming in 8.1, you can take a look at the source code for the Operations Support Portal which is included with the OneIM setup.

    Thanks
    Hanno

  • the source code for the Operations Support Portal

    Where in the OneIM setup would one find this?

  • Hi,

    It is part of the HTML5 workspace. The HTML5 development guide describes how to set up a workspace on a development machine, specifically this section:

    support.oneidentity.com/.../2

    Regards

    Hanno

  • So I've now installed VS Code, opened the installation folder, connected the database..

    The documentation states:

    Creating a development folder

    You must (the info file in VS Code states that the setup will do these tasks for me, which one is it?) perform the following actions to create a development folder:

    • Download the HTML application folders from the database and save them as sub-folders in the development folder.

    • Download the libraries from the database and save them in the sub-folder imx-modules in the development folder.

    • The newest libraries are downloaded to the sub-folder imx-modules in the development folder. Skip this step if a connection to the database has not been established (also see Connecting to the One Identity Manager database).

    Where do I find the HTML application folders in the database?
    Where do I find the libraries in the database?
    Do the development folder need to be a copy of the program folder or can I start with an empty one? According to the documentation it could be whichever I want..

  • [57327003]
    Could not find 'imx-api.tgz' within 'ApiResources_fjlkdsf93jlfsf041l2kfa'

    Any help would be greatly appreciated..

  • Hello Henrik,

     

    I advice you to make sure that the connection to the database is established first (Go to One Identity Manager: connect to database).

    If this step is successful you can define a development folder of your choice. Click on setup development folder and specify it´s location.

    Do you see the folder imx-modules under the development folder in Visual Studio Code?

     

    The error you get "Could not find 'imx-api.tgz' states that libraries are missing.

     

    May you run the command "Npm install" in the Terminal area of Visual Studio Code? Make sure you are in the directory of the development folder and run the command. It should download the libraries. Otherwise let us know what happens.

     

    Make also sure your network is not blocking the download.

    Hope it helps!

Reply
  • Hello Henrik,

     

    I advice you to make sure that the connection to the database is established first (Go to One Identity Manager: connect to database).

    If this step is successful you can define a development folder of your choice. Click on setup development folder and specify it´s location.

    Do you see the folder imx-modules under the development folder in Visual Studio Code?

     

    The error you get "Could not find 'imx-api.tgz' states that libraries are missing.

     

    May you run the command "Npm install" in the Terminal area of Visual Studio Code? Make sure you are in the directory of the development folder and run the command. It should download the libraries. Otherwise let us know what happens.

     

    Make also sure your network is not blocking the download.

    Hope it helps!

Children