Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Using the Export.XHTML.UseTemplate property – PB Docs 2022 – PowerBuilder Library

Using the Export.XHTML.UseTemplate property – PB Docs 2022

Using the Export.XHTML.UseTemplate property

The Data Export page in the Properties view lets you set
properties for exporting data in XHTML. The names of all templates
that you create and save for the current DataWindow object display in
the Use Template drop-down list.

In addition to the properties that you can set on this page, you
can use the Export.XHTML.TemplateCount and Export.XHTML.Template[
].Name properties to let the user of an application select an export
template at runtime. See “Selecting XHTML
export templates at runtime”
.

You can specify the template you want to apply to the default
XML Web DataWindow or XHTML Web DataWindow generation at runtime by
setting the Export.XHTML.UseTemplate property. You set the property
using the Data Export tab in the DataWindow painter’s Properties view
by selecting XHTML as the format and then selecting the XHTML export
template’s name from the Use Template drop-down list box.

dataexpt.gif

You can also set the Export.XHTML.UseTemplate DataWindow
property in script. For information, see “Selecting XHTML export templates at
runtime”
.

Incorrect setting of the UseTemplate property

If you set the Export.XHTML.UseTemplate property at runtime to
the name of a template that does not exist, the built-in default
Template is used on an export.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x