Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Write back template error in obiee 12.2.1.0.0

Hello all,
Logged in as weblogic and even tried with another obiee admin user.
Write back template code
<?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="control_table"> <XML> <writeBack connectionPool="PPRD1"> <insert> </insert> <update>update Table1 set name=‘@2’,Amount=Amount1,amount1=‘@3’ where id = @1 </update> </writeBack> </XML> </WebMessage></WebMessageTable></WebMessageTables>
Presentation Services log
Answers
-
Also Check the following ..if Execute direct request is set as "allow".
Also need to add access from managed privilege screen. User also need access to the following …
+ Write back database subject area, if any…
Thanks
Arijit
0 -
You have probably checked this, but just in case, can you also confirm that the user your service runs as as the necessary rights on the file itself.
0 -
Hi, as I saw your first image issue that is because that OBIEE doesnt regcognize the template, make you sure that you XML TEMPLATE IS
<obiee_home>/user_projects/domains/bi/bidata/service_instances/ssi/metadata/content/msgdb/l_en/
after it you should to provedide the proper privileges as the previous comments.
there is a detail post about that in this link Configuring Write Back in OBIEE12c - Red Stack Tech
0 -
I have used the redstck blog to configure it. But it is not resolved yet. Direct DB request is allowed. As Ceasar said error message says template not recognized. Any help will be highly appreciated ..
0 -
Try the following, reproduce your update code between the insert tags, I am sure I have experienced errors previously if I did not have both populated...
0 -
Fixed it, by recreating the script and somehow now it worked .... is it possible to add multiple update statements ?
For example i have to update like below.
update Country set CountryName='@2',Country_Code=Country_Code_Og,ValueDollars=@3 where ID=@1
Update Country_Master set CountryName='@2',Country_Code=Country_Code_Og,ValueDollars=@3 where ID=@1
Or the second statement like
update country_master a set countryname,country_code_og,valueDollars=(select countryname,country_code_og,valueDollars from country b where a.ID=b.ID) where a.ID=@1
0 -
Yes, you can even call a procedure to push the whole logic through an API equivalent, with writeback functionality being so limited I like this as an option partly for reasons of security, partly for data quality.
0 -
Or on the API thought, do what I have done previously and create a view with a trigger on it to handle the multiple table logic, makes it clean, safe, and keeps the DB logic in the DB.
0 -
I tried to update multiple columns and it is not working.
0