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

Question

Question

How to retrieve field names from Template using Laserfiche SDK

asked on January 10, 2022

I have a .NET script that uses the Laserfiche SDK to interface to the repository.  There are Templates defined, and I want to be able to pull all the defined field names from a specific template.  I have no problem reading the field names and data from a document that is using the template, but I want to be able to validate the field names before the document is created.  Is there a way to do that?

0 0

Answer

SELECTED ANSWER
replied on January 10, 2022

You can use `Template.GetInfo()` to get a reference to your template, and then access its Fields property.

1 0
replied on January 10, 2022

This worked like a charm. Thank you!

0 0

Replies

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

Sign in to reply to this post.