我必须从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="<ATTRIBUTES projectvariantguid="1B7860D850D8422798A66922BB80162F" />" />我根本不知道PGE1到PGE12是什么,很难像那样工作。其他文件看起来也不是很好。有没有人知道我在哪里可以找到这个cms的文档?
发布于 2015-09-09 02:29:35
这是我写的一个小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%"https://stackoverflow.com/questions/32049026
复制相似问题