oracle11g - OBIEE 11G writeback Insert XML -


this question exact duplicate of:

i creating xml inserting values table using writeback feature in obiee 11g. here xml coding , getting error message says...."the system unable read write template 'stg_de_accounts_receivable_insert'. please contact 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 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. step 1: enable write back. add lightwriteback tag within serverinstance tag of instanceconfig.xml file.

    • file path: $oracle_instance/config/oraclebipresentationservicescomponent/coreapplication_obips1
    • add following tag: <lightwriteback>true</lightwriteback>
    • restart oraclebipresentationservicescomponent
  2. step2: add writeback privileges user/group/role using.

  3. step3:writeback template.

    • identify colums referenced. can use colum position or colum id see them in xml definition.

    • you must include both insert , update statements in template.

    • it best practice include commit statement: <postupdate>commit</postupdate>.

    • the template should located here: $oracle_instance/bifoundation/oraclebipresentationservicescomponent/coreapplication_obips1/analyticsres/custommessages

once done writeback settings, need set 'enable write back' feature located on column properties of field, criteria tab.

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


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -