Write Back Form in OBIEE

南楼画角 提交于 2019-12-12 01:49:28

问题


I created a write back form that incorporates an XML template. Can somebody please let me know what is wrong with my code? All the write back features have been enabled so I believe my syntax in the form is not valid.

<?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="wb_stg_de_accounts_receivable">
      <XML>
         <writeBack connectionPool="LCS_CP_VAR">
            <insert> </insert>
            <update>UPDATE STG_DE_ACCOUNTS_RECEIVABLE SET AL_CUR_RCVBL=@2, MCAREA_90_RCVBL=@3 WHERE ENTITY_ID=@1</update>
         </writeBack>
      </XML>
   </WebMessage>
</WebMessageTable>
</WebMessageTables>

回答1:


  1. Step 1: Enable Write Back. Add the LightWriteback tag within the serverinstance tag of the instanceconfig.xml file.

    • File path: $ORACLE_INSTANCE/config/OracleBIPresentationServicesComponent/coreapplication_obips1
    • Add the following tag: <LightWriteback>true</LightWriteback>
    • Restart OracleBIPresentationServicesComponent

      1. Step2: Add WriteBack privileges to the user/Group/Role you are using.

      2. Step3:WriteBack Template.

    • Identify the colums that are to be referenced. we can use the colum position or by colum id as you see them in the XML definition.

    • You must include both insert and update statements in the template.

    • It is the best practice to include the commit statement: <postUpdate>COMMIT</postUpdate>.

    • The template should be located here: $ORACLE_INSTANCE/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analyticsRes/customMessages

Once you are done with all writeback settings, you need to set 'Enable Write Back' feature located on Column Properties of the field, from the criteria tab.

This link shows an example XML writeback file: http://obieetutorialguide.blogspot.com/2015/04/write-back-setting-in-obiee-11g.html



来源:https://stackoverflow.com/questions/29146001/write-back-form-in-obiee

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!