OBIEE 11G 写回插入 XML
OBIEE 11G writeback Insert XML
我正在创建一个 XML,用于使用 OBIEE 11g 中的写回功能将值插入 table。这是我的 XML 编码,我收到一条错误消息说...."The system is unable to read the Write Back Template 'STG_DE_ACCOUNTS_RECEIVABLE_insert'. Please contact your system administrator."
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name="STG_DE_ACCOUNTS_RECEIVABLE_insert">
<XML>
<writeBack connectionPool="LCS_CP_VAR">
<insert>INSERT INTO STG_DE_ACCOUNTS_RECEIVABLE(AL_90_RCVBL, AL_CUR_RCVBL, AL_TOT_RCVBL) Values
(@{c3},@{c4},@{c5}) </insert>
<update></update>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
第 1 步:启用回写。在 instanceconfig.xml 文件的 serverinstance 标签中添加 LightWriteback 标签。
- 文件路径:
$ORACLE_INSTANCE/config/OracleBIPresentationServicesComponent/coreapplication_obips1
- 添加以下标签:
<LightWriteback>true</LightWriteback>
- 重新启动 OracleBIPresentationServicesComponent
第 2 步:为您正在使用的 user/Group/Role 添加 WriteBack 权限。
Step3:WriteBack 模板。
确定要引用的列。我们可以使用列位置或列 ID,正如您在 XML 定义中看到的那样。
您必须在模板中包含插入和更新语句。
最好包含提交语句:<postUpdate>COMMIT</postUpdate>
.
模板应位于此处:$ORACLE_INSTANCE/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analyticsRes/customMessages
完成所有写回设置后,您需要在条件选项卡中设置位于字段的列属性上的 'Enable Write Back' 功能。
此 link 显示了一个示例 XML 写回文件:http://obieetutorialguide.blogspot.com/2015/04/write-back-setting-in-obiee-11g.html
我正在创建一个 XML,用于使用 OBIEE 11g 中的写回功能将值插入 table。这是我的 XML 编码,我收到一条错误消息说...."The system is unable to read the Write Back Template 'STG_DE_ACCOUNTS_RECEIVABLE_insert'. Please contact your system administrator."
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name="STG_DE_ACCOUNTS_RECEIVABLE_insert">
<XML>
<writeBack connectionPool="LCS_CP_VAR">
<insert>INSERT INTO STG_DE_ACCOUNTS_RECEIVABLE(AL_90_RCVBL, AL_CUR_RCVBL, AL_TOT_RCVBL) Values
(@{c3},@{c4},@{c5}) </insert>
<update></update>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
第 1 步:启用回写。在 instanceconfig.xml 文件的 serverinstance 标签中添加 LightWriteback 标签。
- 文件路径:
$ORACLE_INSTANCE/config/OracleBIPresentationServicesComponent/coreapplication_obips1
- 添加以下标签:
<LightWriteback>true</LightWriteback>
- 重新启动 OracleBIPresentationServicesComponent
- 文件路径:
第 2 步:为您正在使用的 user/Group/Role 添加 WriteBack 权限。
Step3:WriteBack 模板。
确定要引用的列。我们可以使用列位置或列 ID,正如您在 XML 定义中看到的那样。
您必须在模板中包含插入和更新语句。
最好包含提交语句:
<postUpdate>COMMIT</postUpdate>
.模板应位于此处:
$ORACLE_INSTANCE/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analyticsRes/customMessages
完成所有写回设置后,您需要在条件选项卡中设置位于字段的列属性上的 'Enable Write Back' 功能。
此 link 显示了一个示例 XML 写回文件:http://obieetutorialguide.blogspot.com/2015/04/write-back-setting-in-obiee-11g.html