Initializing help system before first use

xpressinsight.AppInterface.get_item_info

Purpose
Get information for a repository item with the supplied path.
Synopsis
get_item_info(self, path: str) -> xpressinsight.ItemInfo
Argument
path: str 
Path to the repository item.
Return value
Information about the repository item (scenario / folder).
Example
Example of using get_item_info to obtain info for a scenario.
>>> info = insight.get_item_info('/my_app/my_scenario')		
Example of using get_item_info with error handling to obtain info for the current scenario.
>>> @xi.ExecModeLoad()
... def load(self):
...     try:
...         info = self.insight.get_item_info(".")
...         print(info)
...     except xi.InterfaceError as ex:
...         print(ex)		
Further information
Raises InterfaceError on failure.
Related topics

© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.