Skip to content

Maximo Python code snippets extension for use with Visual Studio Code (VSCode)

License

Notifications You must be signed in to change notification settings

maximo-wiki/maximo-python-snippets-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IBM Maximo Python Automation Script Code Snippets

Snippets created by Maximo Wiki for use when developing automation scripts in Python for the IBM Maximo Enterprise Asset Management System. Initially based on Automation Scripts Quick Reference (by Bruno Portaluri) with further additions. Please note the author of this Visual Studio Code Extension is not affiliated with IBM.

Features

Popular snippets for delveloping automation scripts in Python for use with IBM Maximo when developing Automation Scripts in Python/Jython.

Requirements

None.

Extension Settings

None.

Known Issues

None at present.

Release Notes

1.0.0

  • Initial release of IBM Maximo Python Snippets.

1.0.1

  • Added animated GIF to README.md and example snippet prefixes.

1.0.2

  • Fixed animated GIF in README

1.0.3

  • Updated README.md
  • Updated package.json
  • Added additional Python snippets for IBM Maximo 7.x.
  • Added MIT License.

1.0.4

  • Additional Python snippets for IBM Maximo Automation Scripts.

Working with Maximo Wiki Python Snippets

Note: In order to utilise Maximo Wiki Python Snippets create a new file or edit an existing file in Visual Studio code and select Python as the language:

  • type the prefix for one of the snippets to view the IntelliSense for the snippets and insert it into your code.
  • Once a snippet has been inserted into your code you can use the tab key to tab through any values that require a value to be entered or selected.

Maximo Wiki Python Snippets Extension - Animated Gif

Available Snippet Prefixes

  • getMboSet

  • getBoolean

  • getString

  • getInt

  • getByte

  • getLong

  • getFloat

  • getDouble

  • getDate

  • servc

  • sn

  • app

  • interactive

  • mbo

  • mboname

  • mbovalue

  • user

  • action

  • domainid

  • errorgroup

  • errorkey

  • evalresult

  • launchpoint

  • listErrorKey

  • listOrder

  • listWhere

  • params

  • relationObject

  • relationWhere

  • scriptHome

  • srcKeys

  • thisvalue

  • targetKeys

  • wfinstance

  • var_hidden

  • var_initial

  • var_internal

  • var_modified

  • var_previous

  • var_readonly

  • var_required

  • imp

  • impfrm

  • init

  • init

  • curr

  • prev

  • isNull

  • isMod

  • isEmpty

  • count

  • addrec

  • setValue

  • setValueNull

  • setConstant

  • setFieldMeta

  • getThisMboSet

  • MXServer.getThisMboSet

  • setWhere

  • service.ync

  • condition

  • comment

For more information

Please submit an issue (preferably with an attached Pull Request) on the above GitHub repo for any corrections or additions to the snippets provided.

Releases

No releases published

Packages

No packages published