1 Reply Latest reply on Mar 23, 2018 1:29 PM by gregor

    Indexing and Searching PI Point Attributes

    BillB

      I currently have instrumenttag setup as an indexed PI Point attribute. I know this means I can query by instrumenttag, but I would also like to see the value of the instrumenttag. I have tried the following query, but cannot seem to get the instrumenttag value to show up. The return result only shows me the PI point names.

       

      https://<webServer>/piwebapi/search/query?q=instrumenttag:*RSLE:[PLC]*&scope=pi:<dataServer>&fields=name;instrumenttag

       

      Is it possible to see the value of instrumenttag in the return of a search query?

       

        • Re: Indexing and Searching PI Point Attributes
          gregor

          Hello Bill,

           

          What you are trying to do appears not to be supported. The Setting which PI Point Attributes to index is just used to build the index and to allow using those PI Point Attributes as search criteria.

          To get the PI Point Attributes and their values you need to execute an additional request:

           

          https://<webapihost>/piwebapi/points/<webID>/attributes
          
          1 of 1 people found this helpful