Hi.
int totalPaginas = 0;
LFDocument entrada = (LFDocument)this.Entry;
totalPaginas = entrada.PageCount;
int[] arreglo = new int[]{1,2,3};
this.SetTokenValue("TotalPaginas",arreglo);
This previous code is a way for definition token multi-value? why function definition SetTokenValue(TokenName, object). When compiled code from script editor and
close this script code dialog and open this script code dialog and see script tokens , this variable TotalPaginas not setting how multi-value
How definition token multi-value from sdk script ?
Additionally if I manually create a multi-value token from the token script editor
not see how to add manual values. In previous documentation (Tokens 9.02.pdf White Paper) a section appears: value. This section is no longer present in the workflow token script editor 9.0
thanks
>>>>>>
Hola
int totalPaginas = 0;
LFDocument entrada = (LFDocument)this.Entry;
totalPaginas = entrada.PageCount;
int[] arreglo = new int[]{1,2,3};
this.SetTokenValue("TotalPaginas",arreglo);
En el codigo anterior , es la manera como yo asigno un token "multiples valores" pero pasandole los valores como un arreglo de enteros, luego esos valores los puedo recuperar y utilizar como yo considere. Sin embargo cuando compilo y refresco
el script editor observo que se genera automaticamente el token TotalPaginas pero no
esta marcada como multi-valor. Asi que supongo que lo que defini no es un token multi-valor y segun entiendo el token multi-valor es un token con varios valores.
Como debo definir correctamente un token multi-valor desde code ?
Adicionalmente si deseo crear manualmente un token multi-valor desde el script token editor
no veo como agregarle valores manuales, en documentaciones anteriores (Tokens White Paper 9.02.pdf ) aparece una seccion : value. Esta sección ya no esta presente en script token editor del workflow 9.0
Gracias.