Configure Smart Engineering Manager Web Client file settings - Intergraph Smart Engineering Manager - 3.0 - Installation & Upgrade - Hexagon

Intergraph Smart Engineering Manager Web Installation and Configuration

Language
English
Product
Intergraph Smart Engineering Manager
Subproduct
Web
Search by Category
Installation & Upgrade
Smart Engineering Manager Web Version
3.0

This procedure describes the configuration of both the Client Backend and Client applications. After installing the software and registering the applications as Smart APIs on the authentication server, do the following:

Both the Smart Engineering Manager Web API and the Smart Engineering Manager Client must be installed before you can perform this configuration.

Configure the Client Backend application

  1. Locate the folder where the Smart Engineering Manager Web Client Backend is installed.

    If you installed the Smart Engineering Manager Web Client Backend using a different location other than the default location, navigate to the folder you chose for the installation, for example: "D:\SEMWebApp\".

  2. Under the installation root path, navigate to "..\Smart\Engineering Manager\3.0\ClientBE".

  3. From the ClientBE folder, open the appsettings.json file using a text editor and enter the following parameter values:

    • "UriPrefix" : "sem/v3"

      This value is usually filled by the installation.

    • "ServiceId" : "00000000-0000-0000-0000-000000000000"

      The actual id you should enter is the one generated in the authentication server when you create an instance for the Web Client Backend.

    • "ServiceSecret" : ""

      This value is required only when using SAM as the authentication server and is generated in SAM when you create an instance for the Web Client Backend.

    • "Issuer" : "", for example:

      "https://sandbox.MyDomainSmartCloud.com/oauth2/aus6c6igc65b7Reks7f6" (Okta)

      "https://saminstance.intergraphsmartcloud.com/sam/oauth/" (SAM)

    • "Cors"

      To prevent Cross-Domain Misconfiguration, set values for the following parameters:

      • "AllowedOrigins": [ "*" ] — Enter your organizational domain, for example:

        [ "https://*.MyDomain.com" ]

      • "AllowCredentials": false (default value) — Change the value to 'true'

    Example values:

  4. Save and close the appsettings.json file.

Configure the Client application

  1. Locate the folder where the Smart Engineering Manager Web Client is installed.

    If you installed the Smart Engineering Manager Web Client using a different location other than the default location, navigate to the folder you chose for the installation, for example: "D:\SEMWebApp\".

  2. Under the installation root path, navigate to "..\Smart\Engineering Manager\3.0\Client".

  3. From the Client folder, open the config.js file using a text editor and enter the following parameter values:

    • Backend: '{prefix}://{server_url}/{app_name}/{product}/{api_version}', for example:

    • 'https://CLOUDSERVER.intergraphsmartcloud.com/webapibe3.0/sem/v3'

      The api_version is derived from the value you set when you defined the application for the Client Backend. For details, see Create Client Backend application and pool.

    • AppName: 'sem3.0'

      This value is usually filled by the installation.

    • ClientId="00000000-0000-0000-0000-000000000000"

      The actual id you should enter is the one generated in the authentication server when you create an instance (Smart Client) for the Web Client.

    Example values:

  4. If using PKCE authentication, set UsePKCE: 'true'; if using Implicit authentication, set UsePKCE: 'false'. For more details about PKCE, see Using PKCE Authentication.

  5. Save and close the config.js file.

After updating the files, be sure to run iisreset from the command prompt (using the Run as administrator option).