0

我必须从 OpenText 导出一些页面,解析数据,然后将其放入新系统。问题是,我找不到任何关于 opentext 导出的文档。我得到这样的行:

<PGE PGE0="6B77310C0933482D982CB2C14167B620" PGE1="7826862325B54678B783EE09B4BF2202" PGE2="1002" PGE3="0" PGE4="1C9F9B62E132491B8017A4D94B78DD39" PGE5="0" PGE6="" PGE7="0" PGE8="1" PGE9="0" PGE10="0" PGE11="" PGE12="&lt;ATTRIBUTES projectvariantguid=&quot;1B7860D850D8422798A66922BB80162F&quot; /&gt;" />

我根本不知道 PGE 1 到 12 是什么,而且很难像那样使用它。其他文件看起来并不好。这里有人知道我在哪里可以找到这个 cms 的文档吗?

4

1 回答 1

0

这是我为帮助文件导入和导出而编写的一个小 DOS 脚本。它是 DOS(yuk!),但它应该可以帮助您确定如何导出和导入文件。我已经使用此脚本传输了整个文件夹。

@echo off

set OTCS_Path=/OTCS/llisapi.dll

echo This script will export a select OT node and it's children.
echo It will then import the node(s) to a target server.

set /p ExportServer=Enter the Export OT Server name: 
set /p DataID=Enter the node's Data ID: 

start "" "http://%ExportServer%/%OTCS_Path%/llisapi.dll?func=ll&objAction=XMLExport&objId=%DataID%&scope=sub&attributeinfo&nodeinfo&versioninfo=all&content=base64&permissions&extuserinfo"

::    scope=base|sub|one|<n>
::    versioninfo=all|<n>
::    content=base64|plain|cdata
::    nodeinfo&attributeinfo&
::    permissions&extuserinfo

echo Now save the XML as a file on the Import OT Server's host.
pause

set /p ImportServer=Enter the Import OT Server name: 
set /p ImportXML=Enter the export XML full path on the Import OT Server: 
set /p ImportFolderID=Enter the Data ID of the folder to import to: 

start "" "http://%ImportServer%/%OTCS_Path%?func=admin.XMLImport&filename=%ImportXML%&objID=%ImportFolderID%"
于 2015-09-08T18:29:35.213 回答