Lol, all good. Appreciate the look. :)
Original Message:
Sent: Tue June 25, 2024 11:00 AM
From: Paul Irving
Subject: BMXAA6350E - The object name PSDI.SECURITY.USERINFO for user [USER] was not found in the data dictionary. Add the object to the data dictionary and try again.
Doh! Sorry, I seen the first two as getting it from the server but missed the mbo one!
------------------------------
Paul Irving
Product Development Manager
BPD Zenith Ltd
Original Message:
Sent: Tue June 25, 2024 10:56 AM
From: Tim Ferrill
Subject: BMXAA6350E - The object name PSDI.SECURITY.USERINFO for user [USER] was not found in the data dictionary. Add the object to the data dictionary and try again.
I guess you missed the original post where I said this was one of the first things I tried? :)
------------------------------
Tim Ferrill
Solutions Consultant
Intelligent Technology Solutions
tferrill@webuildits.com
www.webuildits.com
@tferrill/@webuildits
Original Message:
Sent: Tue June 25, 2024 10:54 AM
From: Paul Irving
Subject: BMXAA6350E - The object name PSDI.SECURITY.USERINFO for user [USER] was not found in the data dictionary. Add the object to the data dictionary and try again.
Since you're launching it from an mbo, if you just want the currently logged in users info you could use:
mbo.getUserInfo()
and put an import at the top for:
from psdi.security import UserInfo
------------------------------
Paul Irving
Product Development Manager
BPD Zenith Ltd
Original Message:
Sent: Mon June 24, 2024 05:13 PM
From: Tim Ferrill
Subject: BMXAA6350E - The object name PSDI.SECURITY.USERINFO for user [USER] was not found in the data dictionary. Add the object to the data dictionary and try again.
Hey Jason, thanks for taking a look.
This is the whole script up to the point I get the error:
from com.ibm.json.java import JSONObject
from java.lang import String
from org.apache.commons.codec.binary import Base64
from psdi.server import MXServer
server = MXServer.getMXServer()
userInfo = server.getUserInfo("MAXADMIN")
I'm using an Object Launch Point on INVUSE (Save, Add/Update, Before Save).
------------------------------
Tim Ferrill
Solutions Consultant
Intelligent Technology Solutions
tferrill@webuildits.com
www.webuildits.com
@tferrill/@webuildits
Original Message:
Sent: Mon June 24, 2024 04:58 PM
From: Jason VenHuizen
Subject: BMXAA6350E - The object name PSDI.SECURITY.USERINFO for user [USER] was not found in the data dictionary. Add the object to the data dictionary and try again.
Hi Tim,
The error is indicating that you are trying to access an object named "PSDI.SECURITY.USERINFO". The error BMXAA6350E only comes from the getMboSet method on the AppService. It looks like you are trying to get a MboSet with the UserInfo object class name as the Mbo name.
Something like: MXServer.getMXServer().getMboSet("psdi.security.UserInfo", userInfo) would give you that error.
Do you have a stack trace you could provide or a bit more of a code sample to review?
Thanks,
Jason
------------------------------
Jason VenHuizen
https://sharptree.io
https://opqo.io
Original Message:
Sent: Mon June 24, 2024 04:45 PM
From: Tim Ferrill
Subject: BMXAA6350E - The object name PSDI.SECURITY.USERINFO for user [USER] was not found in the data dictionary. Add the object to the data dictionary and try again.
Hello all,
I'm working on an Automation Script for a customer and I'm getting an error at a step that I've done 100's of times in the past. Looking for a fresh set of eyes and some ideas on what to look at next.
When attempting to instantiate a userInfo
variable I get the error message seen below:
BMXAA6350E - The object name PSDI.SECURITY.USERINFO for user [USER] was not found in the data dictionary. Add the object to the data dictionary and try again.
I've attempted a DB Config and a full restart and neither of those resolved the issue.
I've used several methods to try and get at the userInfo
context, and both result in the same error message:
server = MXServer.getMXServer()
userInfo = server.getUserInfo()
and
server = MXServer.getMXServer()
userInfo = server.getSystemUserInfo('[username]')
and
userInfo = mbo.getUserInfo()
This system IS LDAP enabled, but you'd think that wouldn't have an impact on such core functionality.
Any help would be appreciated.
------------------------------
Tim Ferrill
Solutions Consultant
Intelligent Technology Solutions
tferrill@webuildits.com
www.webuildits.com
@tferrill/@webuildits
------------------------------