nxshell - problem with session EventObject related methods
-
Hi, I am coding in python using nxshell 2.2.8 and having problems retrieving EventObjects (need rows from table event_cfg)
session.syncEventObjects()
AttributeError: 'org.netxms.client.NXCSession' object has no attribute 'syncEventObjects'events = session.getEventObjects()
AttributeError: 'org.netxms.client.NXCSession' object has no attribute 'getEventObjects'events = session.getCachedEventObjects()
AttributeError: 'org.netxms.client.NXCSession' object has no attribute 'getCachedEventObjects'event = session.findEventObjectByCode(1)
AttributeError: 'org.netxms.client.NXCSession' object has no attribute 'findEventObjectByCode' -
Hi,
those methods was renamed in 3.0. For 2.2 branch, use syncEventTemplates, getCachedEventTemplates and findEventTemplateByCode.
Best regards,
Victor -
-
Seems that they are not published. However, you can find javadoc archives in Maven Central: http://central.maven.org/maven2/org/netxms/netxms-client/2.2.6/netxms-client-2.2.6-javadoc.jar
Best regards,
Victor -
Latest stable branch javadoc: https://www.netxms.org/documentation/javadoc/stable/
Release 2.2.8 javadoc: https://www.netxms.org/documentation/javadoc/versioned/Release-2.2.8/ -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login