导出page and portlet in IBM portal server

XMLAccess 是一个小型的独立应用程序程序,它使用 HTTP 连接与服务器进行连接。因此,可以访问和远程配置门户网站。)一般在portal 安装目录\bin 下面 xmlaccess.bat。

 

1. 导出portal page

 

xmlaccess.bat -in d:\***\ExportPage.xml -user ***-pwd ***-url http://host/wps/config -out d:\***\result_exportPage.xml 

 

ExportPage.xml 文件格式可以参考 Portal安装目录\doc\xml-samples

 

例如:

<?xml version="1.0" encoding="UTF-8"?>
<!--
 =================================================================
 * Licensed Materials - Property of IBM
 * (c) Copyright IBM Corp. 2003, 2006.  All rights reserved.
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM
 * Corp.
 *
 * DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
 * sample code created by IBM Corporation.  This sample code is
 * not part of any standard or IBM product and is provided to you
 * solely for the purpose of assisting you in the development of
 * your applications.  The code is provided "AS IS", without
 * warranty of any kind.  IBM shall not be liable for any damages
 * arising out of your use of the sample code, even if they have
 * been advised of the possibility of such damages.
 *
 =================================================================
-->

<request
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd"
    type="export">

    <!-- sample for exporting a page -->
    <portal action="locate">
    
        <content-node action="export" uniquename="ibm.portal.Documents.Welcome" />

    </portal>
</request>

 

 

其他还有导入导出portlet, page 等。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值