Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  The value of :&APPNAME& in case of OSLC JSON REST API

    Posted Fri November 01, 2024 07:51 PM

    Hello,

    I was under the impression that the value of :&APPNAME& will be null if we try to change the values of columns in an MBO via HTTP Post using the OSLC JSON Rest API (we have a few conditional expression that we used which were based upon my assumption). However I found that the value of :&APPNAMe is "something?" (not null) in case of transaction coming from OSLC JSON Rest API.

    Can someone let me now that value? 

    Thanks



    ------------------------------
    Pankaj Bhide
    ------------------------------


  • 2.  RE: The value of :&APPNAME& in case of OSLC JSON REST API

    Posted Sat November 02, 2024 02:13 PM

    Hi Pankaj,

    I did short test and I executed OSLCWODETAIL object structure via http request where in the save query I set :&APPNAME&. In the log files I saw that the value for the special bind variable was set to "WOTRACK". 

    I could be wrong but I think value for this bind variable and object structure is the same as app set in "Configure Object Structure Security" in Object Structure application.



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------



  • 3.  RE: The value of :&APPNAME& in case of OSLC JSON REST API

    Posted Sat November 02, 2024 04:03 PM
    Hello Barton's,

    Interesting and thanks for letting me know.

    By the way how did you get/find the value of &appname& in the log file?

    Does it need any settings?

    Please let me know 

    Thanks again.

    Pankaj Bhide 





  • 4.  RE: The value of :&APPNAME& in case of OSLC JSON REST API

    Posted Sat November 02, 2024 05:43 PM

    In my verification I changed log level to INFO for SQL logger (System Configuration -> Platform Configuration -> Logging) and then I found sql statement in the log that Maximo executed during my HTTP GET REST call.



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------