PeterJ

Return annotations via IDataProvider3?

Discussion created by PeterJ on Oct 23, 2012
Latest reply on Nov 8, 2012 by dhollebeek

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?

Outcomes