oracle11g - OBIEE 11G writeback Insert XML -
this question exact duplicate of:
- write form in obiee 1 answer
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>
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
- file path:
step2: add writeback privileges user/group/role using.
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
Post a Comment