Assigning USING for accessing a different namespace folder

The USING instruction makes it possible to access the objects of a different namespace folder existing in the application navigator.
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The USING instruction corresponds to a USING namespace directive you might know when creating ST-code (see "Namespaces in ST: usage" for more information).

How to create a USING instruction within a namespace folder:

  1. Make the application navigator visible .

  2. In the context menu of a namespace folder, select Assign Using...

  3. In the dialog, select a different namespace folder from the list beside of Namespace and click OK.
    Result: The current
    namespace folder contains a USING instruction with the icon images/download/thumbnails/484245873/IconNamespaceUsing-version-1-modificationdate-1640171593962-api-v2.png . Subsequently, you are able to access the objects from the namespace folder specified by the USING instruction .

Restriction for editors

If you open an object that is located in a namespace folder with such a USING instruction, the respective editor does not contain the equivalent for the USING instruction . This means:

But the access to the objects to the different namespace folders is possible in spite of the missing equivalent within the editor – the USING instruction in the application navigator makes this access possible.

Good to know

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/lightbulb.svg How to quickly change from the USING instruction to the assigned namespace folder: Open the context menu for the USING instruction in the application navigator and select Go to Namespace. Alternative: Press the F3-key.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/lightbulb.svg If you do not need an USING instruction anymore or you have created it by mistake :

  • Delete the USING instruction: Open the context menu for the USING instruction in the application navigator and select Delete. Alternative: Press the Del-key .

  • Alternative, if you have just created the USING instruction: Undo the creation .