You are viewing limited content. For full access, please sign in.

Question

Question

How do i assign value to a list type field in a template ?

SDK
asked on September 17, 2015 Show version history

There is a document on the laserfiche server that i assign a template . The template already exists on the document. I just choose and assign the right template 

 doc.SetTemplate("DispList 2", fields); (doc is an object of DocumentInfo class)

where fields is a fieldValueCollection class object.

 

There is one string field and one List type field . The string field is updated just fine in the template of the document on the server .

I don't know how to change the value of the List type field in the template . The possible values on that field are yes and no 

 

fields.AppendValues("Append to fakelisttype", What should i pass here ? );

 

0 0

Answer

SELECTED ANSWER
replied on September 17, 2015

Pass in the string value of "Yes" or "No".

1 0

Replies

replied on September 17, 2015

ok thanks . It worked

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.