/
Javascript tips & how to
Javascript tips & how to
Name | Code | Description |
---|---|---|
Get Menu Items | app.viewmodel.data.navigationItems | This will give you all the menu items and you just have to define which one you want to look for i.e... app.viewmodel.data.navigationItems[16] will give you graphics builder since that is the 16th in the list of the app.viewmodel.data.navigationItems list. |
Create New Graphic on your context | finstack.eval('graphicsBuilderNew('+app.TargetRef()+', null, false)') | This will be as if you:
In essence, it saves you the 3 clicks when creating a graphic. |
Related content
Developer Tutorials
Developer Tutorials
Read with this
Add Custom Right-Click Menu Item
Add Custom Right-Click Menu Item
More like this
Axon Queries and How to
Axon Queries and How to
Read with this
Graphics Builder
Graphics Builder
More like this
Funcs
Funcs
Read with this
Graphics
Graphics
More like this