Setting up the server – PB Docs 90

Setting up the server

After defining the HTML page that displays your plug-in application,
you need to set up the Web server.

Specifying the
MIME type

Using the appropriate software for your Web server, register
the MIME type for the PowerBuilder window plug-in. Table 32-7 shows the MIME
types you can use.

Table 32-7: PowerBuilder window plug-in MIME
types
For this
plug-in
Register
this MIME type
Standard PowerBuilder window plug-in application/vnd.powerbuilder9
Secure PowerBuilder window plug-in application/vnd.powerbuilder9-s

The file extension associated with the MIME type is PBD.

Your server documentation might use the term content type
instead of MIME type.

Putting the files
on the server

You need to copy PowerBuilder libraries and the HTML file
to appropriate directories on your server.

Table 32-8: PBD and HTML file locations on server
Files Location What
you do
HTML page The HTML documents directory Copy the HTML page to the directory specified
in any URLs that link to the page
PBD files named in the SRC and LIBRARY
attributes of the Embed element
The HTML documents directory or some
other directory as appropriate
Copy the PBD files to the directories
you specified in the Embed element attributes

About URLs The URLs you
specify in your HTML page are logical paths as defined by the Web
server. On Windows, for example, the system path for your PBD might
be:

If htdocs is defined as the server’s
documents directory, you can use the following relative path when
specifying the SRC attribute of the Embed element. This path is
relative to the documents directory:

For the LIBRARY attribute, do not specify a relative URL for
the PBD. You must specify a full URL. For example:


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