PortalPromotion
subdirectory
within your equivalent of SAS-Configuration-Directory\Lev1\Web\Applications\SASPortal<ver>\
. Copy the promotion scripts into that directory. The
portal promotion scripts use the directory paths specified for the
JAVA_HOME and the SAS_HOME environment variables.
@Name
parameter by specifying the
user's name. Here is an example: <Tree search="*[@Name='Analyst Permission Tree']" TemplateName="PortalPermissionsTree"/>
Name
parameter
must match the exact name for the User Permissions Tree. If you need
to obtain the correct name for the User Permissions Tree, access SAS
Management Console. Then, navigate to Environment
ManagementUser Manager. Select the Show Users check
box to display the user names.
extractPortal913.bat
(for
a SAS 9.1.3 source on Windows), extractPortal92.sh
(for
a SAS 9.2 source on UNIX), or extractPortal93.sh
(for
a SAS 9.3 source on UNIX). For more information, see About the Portal Promotion Tools.PermissionsTree_extract.xml
file.
Verify that the user or group name is accurate in that file. DBCS
characters typically appear in certain languages including Hebrew,
Chinese, or Japanese.
ReposID
parameter
with the target system's metadata repository ID. As a result, commands
that import portal content will verify that the target repository
does not contain duplicate content.
ANT_HOME/lib
directory:
\Program
Files\SAS\SASVersionedJarRepository\9.3\eclipse\plugins
build.properties
file
to customize and provide the values for the metadata repository IDs,
the SAS Administrator accounts, and the SAS Trusted User accounts.
Here is an example of the build.properties
file: xml.file=PermissionsTree source.reposid.of.metadata.repository=A0000031.A5BQ25K2 target.reposid.of.metadata.repository=A0000001.A5T8FYJJ source.sasadm.name=SAS Administrator target.sasadm.name=sasadm source.sastrust.name=SAS Trusted User target.sastrust.name=sastrust
build.properties
file,
skip this step. If you did not modify the build.properties
file
(because the source is a SAS 9.1.3 or SAS 9.2 system, and the default
values for the SAS Administrator and the SAS Trusted User were previously
customized and modified in the source or target deployments), then
you should manually specify the values for these internal accounts
in these generated .xml files:
build.properties
file,
skip this step. When you run the upgrade metadata commands later,
the generated .xml files are updated with the required values. If
you manually updated the values in the .xml files, open the PermissionsTree_deployFile.xml
file.
Search for the RepositoryBase Deploy_Id
parameter.
Specify the target system’s metadata repository ID as the value
for RepositoryBase Deploy_Id
and the
target systems’s metadata name as the value for the Deploy_Name
parameter.
Here is an example:<Repository Base Deploy_Id="A0000001.A5T8FYJJ" Deploy_Name="Foundation" Id="A0000031.A5BQ25K2" Name="Foundation"/>
importPortalversion.bat PermissionsTree.xml -user ID -password AdminPwd
build.properties
file,
upgrade the portal metadata with a single command. See Upgrade the Portal Metadata After Editing the build.properties File. manualLoadContent-
OrderNumber and
the manualAdjustUrls–
OrderNumber scripts
are available for converting data explorations and bookmarks to reports.
These scripts are located in the SAS-Configuration-Directory\Lev1\Web\Utilities
directory.