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
------------------------------
Original Message:
Sent: Sat November 02, 2024 04:02 PM
From: Pankaj Bhide
Subject: The value of :&APPNAME& in case of OSLC JSON REST API
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.
Original Message:
Sent: 11/2/2024 2:13:00 PM
From: Bartosz Marchewka
Subject: RE: The value of :&APPNAME& in case of OSLC JSON REST API
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
Original Message:
Sent: Fri November 01, 2024 07:51 PM
From: Pankaj Bhide
Subject: The value of :&APPNAME& in case of OSLC JSON REST API
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
------------------------------