How do I display the solution (template) version number on the for

E

Evangineer

I would like to display the version number of the form template on the form
so that I support change requests to the form.

Is the best method to do this with code in the On Load event handler? Do I
have to use a text control and update its contents?

Is it available as design time?
 
G

Greg Collins [InfoPath MVP]

Yes, you would use code in the OnLoad handler to get the solution version from the XDocument object. Then you would place that version number into a field (can be in a secondary data source). Then just display that field in your view using an expression box.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top