Maximo

 View Only
Expand all | Collapse all

Using the ArcGIS API for JavaScript (or Python) with Maximo Spatial

  • 1.  Using the ArcGIS API for JavaScript (or Python) with Maximo Spatial

    Posted Thu August 06, 2020 10:59 AM
    The What's new in Spatial version 7.6.1 page says:

    "ArcGIS API for JavaScript version 3.29
    • System administrators can now take advantage of ArcGIS API for JavaScript features introduced in version 3.29."

    Questions:

    1. Where can we find more information about using the ArcGIS API for JavaScript in Maximo?
    2. Is the ArcGIS API for JavaScript automatically installed in Maximo Spatial? Or do we need to manually add those libraries to the Maximo server?
    3. In general, what is meant by "taking advantage" of the ArcGIS API for JavaScript? What kinds of solutions can the ArcGIS API for JavaScript be used for?
    4. Is the ArcGIS API for Python available in Maximo Spatial as well? If so, where can we find more information? If not, what would be the reasoning behind this?

    ------------------------------
    Thanks
    ------------------------------



    #Maximo
    #AssetandFacilitiesManagement
    #MaximoSpatial


  • 2.  RE: Using the ArcGIS API for JavaScript (or Python) with Maximo Spatial

    Posted Thu August 06, 2020 02:41 PM
    Edited by System Tue August 22, 2023 04:37 PM
    Hi there,

    Answering below:
    1.  The ArcGIS Javascript API is distributed within Maximo Spatial as is distributed by ESRI. Take a look on the advantages listed by ESRI: https://developers.arcgis.com/javascript/3/jshelp/new_v329.html

    2. The ArcGIS Javascript API is available within Maximo Spatial and is installed within the application server packed into the EAR file. The packaging process is handled by Maximo EAR scripts
    3. Take a look on the list of advantages on the above-mentioned link. Specifically, we highlight the items:
      1. NIM098119: It is now possible to consume a Web Map Tile Service (WMTS) layer with resource info object on RESTful service mode.
      2. Maximum number of basemaps displayed in BasemapGallery have been increased from 50 to 100
    4. The python API is not distributed within Maximo Spatial


    ------------------------------
    Thiago Bianchi PhD
    IBM Software Engineer
    ------------------------------



  • 3.  RE: Using the ArcGIS API for JavaScript (or Python) with Maximo Spatial

    Posted Thu August 06, 2020 04:56 PM
    Thanks, Thiago.

    To follow up:
    Are the libraries in the ArcGIS Javascript API available for use in automation scripts?

    If yes, what are the necessary steps for using them? Do we just import them like we would for any other Javascript Automation Script?

    load("nashorn:mozilla_compat.js");
    importPackage(Packages.psdi.server);
    importPackage(Packages.psdi.util.logging);
    

    (Kind of like the code above, but referencing the libraries in the ArcGIS Javascript API?)




    ------------------------------
    Thanks
    ------------------------------