4 Replies Latest reply on Nov 8, 2012 4:35 PM by dhollebeek

    Return annotations via IDataProvider3?

    PeterJ

      Is there any way to return annotations to processbook from an IDataProvider3 dataprovider add-in?

       

      I have tried adding a "PIAnnotations" collection to the pivalues collection returned  by IDataProvider3.GetData().

       

      like this :

       

      an = new PIAnnotations();

       

      an.Add("stringAannotation", "string annotation", "A string", false, "string");

       

      attrs.Add("Annotated", true);

       

      attrs.Add("Annotations", an);

       

      pivalues.Add(timePT, num, attrs);

       

      but although the annotation appears in Processbook , I cannot see its value :

       

        2318.annotation.png

       

      Am I doing something wrong or is this not supported?