PortalPromotion
subdirectory
within your equivalent of SAS-Configuration-Directory\Lev1\Web\Applications
\SASPortal
version\
.
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.
PortalPromotion
subdirectory
within your equivalent of SAS-Configuration-Directory\Lev1\Web\Applications\SASPortal
version\
. 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.
ANT_HOME/lib
directory:
\Program
Files\SAS\SASVersionedJarRepository\9.3\eclipse\plugins
extractPortal913.bat
(for
a SAS 9.1.3 source on Windows), or 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.build.properties
file.
In the build.properties
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=PortalPageTemplate 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 modify the values for these internal accounts
in these generated .xml files:
PortalPageTemplate_deployFile.xml
, PortalPageTemplate_expand.xml
,
and PortalPageTemplate_extract.xml
.
build.properties
file,
skip this step. When you run the upgrade metadata commands later,
the .xml files are updated with the required values. If you manually
updated the values in the .xml files, open the PortalPageTemplate_deployFile.xml
file.
Update the Deploy_Id
and Deploy_Name
values
to reference the target metadata repository.
<RepositoryBase Id="A0000001.A5HQ15K2" Name="Foundation" Deploy_Id="A0000031.A5T8FYJJ" Deploy_Name="Foundation"/>
removePortalversion.bat PortalPageTemplate.xml -user AdminID -password AdminPwd -portalpagetemplatename NameofPortalPageTemplate
removePortalversion.sh PortalPageTemplate.xml -user userID -password AdminPwd -portalpagetemplatename NameofPortalPageTemplate
importPortal913.bat
(for
a SAS 9.1.3 source on Windows), or importPortal92.sh
(for
a SAS 9.2 source on UNIX), or importPortal93.sh
(for
a SAS 9.3 source on UNIX). For more information, see About the Portal Promotion Tools.build.properties
file,
upgrade the portal metadata with a single command. See Upgrade the Portal Page Template Metadata After Editing the build.properties File.build.properties
file.
Here is an example of the build.properties
file: xml.file=PortalContentObject 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 modify the values for these internal accounts
in these generated .xml files:
PortalContentObject_deployFile.xml
, PortalContentObject_expand.xml
,
and PortalContentObject_extract.xml
.
build.properties
file,
skip this step. When you run the upgrade metadata commands later,
the .xml files are updated with the required values. Edit the extracted
copy of the PortalContentObject_deployFile.xml
file.
Update the Deploy_Id
and Deploy_Name
values
to reference the target metadata repository.
removePortalversion.bat PortalContentObject.xml -user AdminID -password AdminPwd -portalcontentname NameofContenttobeDeleted
importPortal913.bat
(for
a SAS 9.1.3 source on Windows), or importPortal92.sh
(for
a SAS 9.2 source on UNIX), or importPortal93.sh
(for
a SAS 9.3 source on UNIX). For more information, see About the Portal Promotion Tools.PortletInstance.xml
file so
that it points to the source metadata repository.
extractPortal913.bat
(for
a SAS 9.1.3 source on Windows), or 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.PortletInstance.xml
file so
that it points to the target metadata repository.
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=PortletInstance 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 modify 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 .xml files are updated with the required values. If you manually
updated the values in the .xml files, open the extracted copy of the PortletInstance_deployFile.xml
file.
Update the Deploy_Id
and Deploy_Name
values
to reference the target metadata repository. Here is an example: <RepositoryBase Id="A0000031.A5BQ25K2" Name="Foundation" Deploy_Id="A0000001.A5T8FYJJ" Deploy_Name="Foundation"/>
removePortalversion.bat PortletInstance.xml -user AdminID -password AdminPwd -portalcontentname NameofPortletInstancetobeDeleted
importPortal913.bat
(for
a SAS 9.1.3 source on Windows), or importPortal92.sh
(for
a SAS 9.2 source on UNIX), or importPortal93.sh
(for
a SAS 9.3 source on UNIX). For more information, see About the Portal Promotion Tools.extractPortal913.bat
(for
a SAS 9.1.3 source on Windows), or 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.build.properties
file
or the PortalPage_deployFile.xml
.xml
file.
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=PortalPage 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 modify 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 .xml files are updated with the required values. If you manually
updated the values in the .xml files, open the PortalPage_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"/>
removePortalversion.bat PortalPage.xml -user AdminID -password AdminPwd -portalcontentname NameofPortalPagetobeDeleted
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.