# Functions to Access Client/Designer/Gateway Contexts

**URL:** <https://forum.inductiveautomation.com/t/functions-to-access-client-designer-gateway-contexts/7761>\
**Category:** Ignition\
**Created:** [December 27, 2013, 5:14pm UTC](https://forum.inductiveautomation.com/t/functions-to-access-client-designer-gateway-contexts/7761 "2013-12-27T17:14:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [December 27, 2013, 5:14pm UTC](https://forum.inductiveautomation.com/t/functions-to-access-client-designer-gateway-contexts/7761/1 "2013-12-27T17:14:17Z")

</div>

It would be nice to have some supported functions to access the client context, designer context and gateway context in Python.

Something like system.util.getClientContext(), system.util.getDesignerContext(), system.util.getGatewayContext().

The reason is so that modules, projects etc. could be accessed and manipulated in Python more easily.

For example, currently in order to get all the templates in a project Python code will need access to the client context: [viewtopic.php?f=70&t=11257](http://www.inductiveautomation.com/forum/viewtopic.php?f=70&t=11257)
