APPLIED_TEXT_VIEWER_NAME | specifies a character string that names the rendered
package view, which results from the application of the text viewer
template. To specify the name of the rendered package view, use either FILEREF: SAS_fileref or FILENAME: external_filename. This property is valid only when the TEXT_VIEWER_NAME property
is also specified. By default, the rendered view is created as a
temporary file. This property overrides the default, causing the rendered
view to be saved permanently to a file.
|
APPLIED_VIEWER_NAME | specifies a character string that indicates the
name of the rendered package view, which results from the application
of the HTML viewer template. To specify the name of the rendered package
view, use either FILEREF: SAS_fileref or FILENAME: external_filename. This property
is valid only when the VIEWER_NAME property is also specified. By
default, the rendered view is created as a temporary file. This property
overrides the default, causing the rendered view to be saved permanently
to a file.
|
ARCHIVE_FULLPATH | returns the complete URL path of the published archive on the server. The URL path includes the name of the archive, as specified by ARCHIVE_NAME or the generated name if ARCHIVE_NAME is not specified. This output property is returned only if ARCHIVE_PATH is specified. |
ARCHIVE_NAME | specifies a character string that indicates the name of the archive file. |
ARCHIVE_PATH | specifies a character string that indicates the path where the archive should be created. |
COLLECTION_URL | specifies a character string that indicates the URL in which the WebDAV collection is placed. You assign an explicit filename to the collection. Note that when you use COLLECTION_URL, the default behavior is to replace the existing collection at that location. |
GENERATED_NAME | returns the name of the package, whether this value was generated by SAS or specified by another property. This property is an output property. If the package is published with a PARENT_URL, and ARCHIVE_PATH is not specified, then the package is published as a folder that contains the contents of the package and not as a .spk file. In this case, the return value for GENERATED_NAME will not be the name of the archive but the name of the package. For SharePoint, this is a folder name. |
HTTP_PASSWORD | indicates the password that is needed to bind to the Web server on which the package is published. Specify this property only when the Web server is secured. |
HTTP_PROXY_URL | indicates the URL of the proxy server. |
HTTP_TOKENAUTH | enables token authentication to a SAS Content Server.
Value must be set to TRUE , FALSE , YES , or NO . Do not specify values for HTTP_USER or HTTP_PASSWORD
if you are using this property.
|
HTTP_USER | indicates the user ID that is needed to bind to the Web server on which the package is published. Specify this property only when the Web server is secured. |
IF_EXISTS | specifies one of the following character strings. Use the IF_EXISTS property to control the treatment of same-named collections already existing on the server. "NOREPLACE" indicates that if the package being published contains a collection that already exists on the server, the PUBLISH_PACKAGE call is to return immediately without affecting the contents of the existing collection. "UPDATE" indicates that if the collection already exists on the server, the PUBLISH_PACKAGE call is to update the existing collection by replacing like-named entities and adding newly named entities. If "UPDATE" is specified and both the package to publish and the existing collection have an HTML set (created with INSERT_HTML) with the same NESTED_NAME, then the HTML set in the published package replaces the HTML set in the existing collection. "UPDATEANY" is identical to "UPDATE" except that the PUBLISH_PACKAGE CALL routine can be used to update a collection that SAS did not create. A consequence of using "UPDATEANY" is that SAS will be unable to retrieve the published package. Note that when names are generated automatically for HTML set collections, the publish code ensures that name collisions will not occur. |
PARENT_URL | specifies a character string that indicates the URL under which the WebDAV collection is placed. The collection is automatically assigned a unique name. |
TARGET_VIEW_MIMETYPE | specifies a character string that indicates the MIME type of the rendered view for delivery to a WebDAV-compliant server. The target view MIME type overrides the default view MIME type, which is automatically inferred from the viewer. Typical MIME types are HTML (.htm) and plain text (.txt) files. If this field remains blank, then the viewer filename extension is used to locate the MIME type in the appropriate registry. Windows hosts use the Windows Registry; other hosts use the SAS Registry. |
TARGET_VIEW_NAME | specifies a character string that indicates the name of the rendered view for delivery to a WebDAV-compliant server. The specified target view name overrides the default name, which is index.html. |
TEXT_VIEWER_NAME | specifies a character string that indicates the
name of a text viewer template that formats package content for viewing
in e-mail by using either FILEREF: SAS_fileref or FILENAME: external_filename. A text
viewer template might be necessary if the destination e-mail program
does not support the HTML MIME type.
|
VIEWER_NAME | specifies a character string that indicates the
name of the HTML viewer template to be applied when publishing e-mail
by using either FILEREF: SAS_fileref or FILENAME: external_filename.
|
http://www.host.com/AlphaliteAirways/revenue/quarter1The collection is named quarter1.
rc = 0; publishType = "TO_WEBDAV"; http_user="vicdamone”; http_password=”myway”; properties="COLLECTION_URL, http_user, http_password"; cUrl = "https://www.alpair.web/NightlyMaintReport"; CALL PACKAGE_PUBLISH(packageId, publishType, rc, properties, cUrl, http_user, http_password);
rc = 0; publishType = "TO_WEBDAV"; properties="COLLECTION_URL,HTTP_PROXY_URL, IF_EXISTS,HTTP_USER,HTTP_PASSWORD"; cUrl = "http://www.alpair.secureweb/NightlyMaintReport"; pUrl = "http://www.alpair.proxy:8000/"; exists = "update"; user = "JohnSmith"; password = "secret"; CALL PACKAGE_PUBLISH(packageId, publishType, rc, properties, cUrl, pUrl, exists, user, password);
publishType = "TO_EMAIL"; properties="COLLECTION_URL, SUBJECT, HTTP_USER, HTTP_PASSWORD"; collurl="http://www.alphaliteairways/fares/discount.html"; subj="Announcing Best Rates Yet"; http_user="vicdamone"; http_password="myway"; Addr = "admins-l@alphaliteair05"; CALL PACKAGE_PUBLISH(packageId, publishType, rc, properties, collurl, subj, http_user, http_password, Addr);
publishType = "TO_WEBDAV"; properties="COLLECTION_URL, ARCHIVE_PATH"; cUrl = "http://www.alpair.secureweb/Reports"; apath = "tempfile"; CALL PACKAGE_PUBLISH(packageId, publishType, rc, properties, cUrl, apath);