Expression get tag parent folder path as string


I’m trying to make an expression that needs the tags parent folder path.

Is it possible to get that somehow?

{PathToParentFolder} and {[.]} doesn’t seem to work.

It’s not a UDT. It’s just an expression tag inside a folder.

Running Ign v. 8.0.3.


Sounds like you really should be using a UDT for this, but you can get what you want by using string manipulation:


We are getting the complete tag path and then removing the tag name from the end.

1 Like

A couple of options that seem to work in Ignition 8.1.30 tag expressions:

{[.].Path} // Path to parent folder
{[.].Name} // Name of parent folder