AnsweredAssumed Answered

Is there any way to use a different separator than the '\' character in the Parameter Substitution for %ElementPath%?  I'd really like to have the hierarchy separated by '.' characters instead of '\'.

Question asked by bevanweiss on Apr 16, 2019
Latest reply on Apr 16, 2019 by sraposo

Hi all,

I'm currently setting up a PI Server having been away from the PI world for a little while, and I've run into a bit of a PI Point naming annoyance when using the PI AF PI Point Creation capability.

I want to have my PI points with a name that is separated by the period character '.', however the PI AF %ElementPath% doesn't appear to provide formatting options, and only returns as a '\' separated path (which then causes the PI Point creation to not work properly).

 

It's very cumbersome to have to hand write in the following PI Point reference, when it would be really lovely to be able to use something like %ElementPath('.')% to indicate that I want the levels in the hierarchy broken up by the '.' character...

%ElementPath% could of course be equal to %ElementPath('\')% for backwards compatibility.

 

Perhaps I need to just RTFM but I really can't see any pointers to it being possible from here

PI Server

Outcomes