How can we improve the PI Server?

Support "abstract" templates in AF

There is a need to create "abstract" element templates in AF, and this has been requested several times.


An abstract class/template is one that you must create a derived version of yourself, you cannot use it directly. It's a base template, but you want to prevent users from instantiating it directly.

You might implement the general attributes for pumps as an abstract template, but you require users to create a derived template for each pump type they have, and then instantiate an element from that.

35 votes
Sign in
Signed in as (Sign out)

We’ll send you updates on this idea

af_amitec shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Signed in as (Sign out)
  • rpalmen commented  ·   ·  Flag as inappropriate

    As a AF designer i would like to create a set of base templates which contain some core functionality. From these base templates, the actual templates that i use to create the elements are derived. I do not want users to be able to create an instance of these base templates. Preferrable, there is a visual difference in PSE to show these are abstract. Currently i prefix these with two underscores.

  • messingerj commented  ·   ·  Flag as inappropriate

    I've worked on a number of projects where this functionality would be useful - having a base template to define all the common attributes of an asset class, but where there is a specific requirement (usually a business rule) to only instantiate elements based on derived templates in the element hierarchy.

Feedback and Knowledge Base