Type
|
URL Format
|
Library
|
http://server:port/Windchill/servlet/WindchillGW/com.ptc.arbortext.windchill.anonymous.AnonymousAccessDownloader/lib/orgName/libraryName/name[?params]
|
Product
|
http://server:port/Windchill/servlet/WindchillGW/com.ptc.arbortext.windchill.anonymous.AnonymousAccessDownloader/product/orgName/productName/name[?params]
|
|
The folder name itself is not contained in the URL. The folder name is defined in the Customizations Folder preference. See Configuring the Folder Path for Anonymous Access for information on setting this preference.
|
|
As is normal for HTTP URLs, some characters, like spaces, colons, and non-Latin characters will need to be escaped in the URL; for example, space characters will need to be replaced with %20.
|
Parameter
|
Description
|
(no parameters)
|
The latest iteration from the latest version will be selected; not counting working (checked-out) iterations.
|
state
|
The most recent iteration from the most recent version that matches the given lifecycle state will be selected.
|
version
|
The most recent iteration from the specified version will be selected.
|
iteration
|
The iteration parameter is ignored. This is only used along with the version parameter.
|
state, iteration
|
The iteration parameter will be ignored. See “state” above.
|
state, version
|
The most recent iteration from the specified version that matches the given state will be selected.
|
version, iteration
|
The specified iteration from the specified version will be selected.
|
state, version, iteration
|
The iteration parameter will be ignored. See “state, version” above.
|
Query Parameters
|
Description
|
.../custom.zip.xml?version=C&iteration=2
|
Version C.2 of custom.zip
|
.../custom.zip?state=Approved
|
The most-recent version marked as Approved.
|
.../custom.zip?state=Approved&version=B
|
The most-recent version marked as Approved with a version of B.
|
.../custom.zip?version=B
|
The latest iteration in the B version.
|
|
Selecting the “Latest” Version
When dealing with versioned Windchill objects, the convention is that the “latest” object is selected by version and then by iteration. The latest iteration in version D will always be considered “newer” than the latest iteration in version C, even if that iteration was created more recently. For example, when browsing folder contents using the web UI, you’ll always see the latest iteration from the latest version, even if there are newer iterations in other versions.
The version selection for anonymous access URLs works in this way. For example, if the state parameter is specified without a version, and A.4 and B.2 both have the requested state, B.2 will always be returned regardless of when A.4 was created.
|