4 Replies Latest reply on Nov 16, 2012 7:40 PM by roeseaj

    Ad-hoc trend customization

    Bannikov

      Hello!

       

      I wonder if somebody says me about ad-hoc trend window customization (for example, some HTML- or XML-templates that I can modify to make a bit different look of this window. Particulary, we want to add some string in title of ad-hoc window -- can this be done?

       

       

        • Re: Ad-hoc trend customization
          pkaiser

          Customiziation of the default appearance of ad-hoc trends and the PI Trend web part is limited to determining the visibility of the four legend components and the title of trends, by changing properties in the defaultTrendProperties.SER file.  However, there is no supported mechanism for changing the text itself.

           

           

            • Re: Ad-hoc trend customization
              pkaiser

              Follow-up: the defaultTrendProperties.SER file is located in the PI WebParts data folder, which is contained in the installation folder (typically “…\Program Files\PIPC\RtWebParts\data”).

               

              The specific settings are as follows.  Each element value can be set to “true” (show) or “false” (hide):

               

              ShowDescription – controls the visibility of the trace Description in the trend legend.

               

              e.g. <ShowDescription>true</ShowDescription> causes the trace Description to be displayed in the trend legend.

               

              ShowEngUnits – controls the visibility of the trace’s Engineering Units in the trend legend.

               

              e.g. <ShowEngUnits>true</ShowEngUnits> causes the Engineering Units to be displayed in the trend legend.

               

              ShowTagName – controls the visibility of the trace’s Name in the trend legend.

               

              e.g. <ShowTagName>true</ShowTagName> causes the trace’s Name to be displayed in the trend legend.

               

              ShowTitle – controls the visibility of the trend Title.

               

              e.g. <ShowTitle>false</ShowTitle> causes the trend Title to be hidden.

               

              ShowValue – controls the visibility of the trace’s current value in the trend legend.

               

              e.g. <ShowValue>true</ShowValue> causes the current value of the trace to be displayed in the trend legend.

               

                   

               

              Changes to these settings affect default values for new instances of PI Trend web parts, any ad hoc trends, and any PI Trend web part instances to which the System Default configuration is subsequently applied.

               

               

              • Re: Ad-hoc trend customization
                Bannikov

                Paul, thank you fo your help!

                 

                Paul Kaiser

                However, there is no supported mechanism for changing the text itself.

                 

                Maybe it's some unsupported mechanism? For example, based on JavaScript? This is very important to us now, and I can deploy any solution you can provide, even it isn't supported by OSI.