Skip to Main Content
AVEVA™ PI System™ Feedback Portal

Welcome to our feedback site!


We created this site to hear your enhancement ideas, suggestions and feedback about AVEVA products and services. All of the feedback you share here is monitored and reviewed by the AVEVA product managers.

To start, take a look at the ideas in the list below and VOTE for your favorite ideas submitted by other users. POST your own idea if it hasn’t been suggested yet. Include COMMENTS and share relevant business case details that will help our product team get more information on the suggestion. Please note that your ideas and comments are visible to all other users.


This page is for feedback specifically for AVEVA PI System. For links to our other feedback portals, please see the tab RESOURCES below.

Status No status
Created by Gael
Created on Aug 20, 2022

Replace function to be added in AF analysis

It would be interesting to add the Replace function (like the one in StringBuilder) directly in AF Analysis
  • Attach files
  • Kelsey Bobeck
    Reply
    |
    Mar 27, 2023

    I'm shocked this doesn't exist already, frankly. I started typing out "Replace" in AF thinking it did. It's absence is going to add to the steps and complexity of what I was trying to achieve, which was returning values from a String Array attribute of 50 alarm tags, reusable across all my sites/assets. What I was imagining:

    tagArr: [[code]WALM[asset]_AlmStActSt0,[code]WALM[asset]_AlmStActSt1,...[code]WALM[asset]_AlmStActSt49]

    subArr: Replace(Replace(tagArr, "[asset]", 'Asset Code'), "[code]", 'Site Code'))

    • result: [ABC1WALM001_AlmStActSt0, ABC1WALM001_AlmStActSt1,...ABC1WALM001_AlmStActSt49]

    resultArr: MapData(subArr, TagVal(TagNum(Concat("\\SERVER\",$val))))

    • result: [60, 1950,..., 0]

  • Guest
    Reply
    |
    Aug 20, 2022
    I agree, this would be a great function to add in and reduce complexity in the attributes.