Skip to main content

system.kanoa.utilities.getPageObject

This function requires KanoaCore module

Description

Retrieves an object identified by 'objName' from the session's properties (kanoaCore).

Syntax

getPageObject(self, objName)
  • Parameters
      self (Class Instance) - The instance of the class where this method is defined.
      objName (String) - The name of the object to retrieve.
  • Returns
      Object or None (Object) - The object associated with 'objName' if found in the session's custom data. Returns None if the object is not found or if certain conditions are not met.
  • Code Example

    # Example Usage:
    obj = system.kanoa.utilities.getPageObject(self, 'exampleObject')