Constraining writeback values (OBIEE 11g)

Hi, have a quick question. For a very simple OBIEE write back application, we'd like to collect some high level category info and a text description from end users. For the text description it will be completely free form, but for the category info, I'd like to constrain the writeback field so that the end users can only enter a valid value from a list of 10 or so categories.
Is this possible to do? Would be really great if for the category column, instead of showing a text box, if it could be a dropdown constrained to the values we want....but no clue if that's possible.
Thanks in advance for any ideas!
Scott

SPowell42 wrote:
The crux of my issue is that I'd really prefer to have users pick from a list of predefined values vs. just keying in anything in a free form text field. I can definitely validate stuff on the database side...but if it kicks back as an "invalid value" then I have to throw error messages, not do the update, etc. I'd much prefer if there was a simple way to constrain the user to only allow them to choose (for example, from a dropdown) valid values.
Thanks,
ScottI dont have a solution for this but just wanted to share some thoughts. This functionality you are trying to build is pretty easy if you are building a jspx page using Jdeveloper via ADF. With the limitations of OBIEE's write back capabilities, you might want to take a look at the advantage of the action frame work which can be used to integrate OBIEE reports with external jspx page to pass values from columns etc which can inturn be passed into the SQL that would run behind the scene's of the jsp page, and you can build all the writeback functionalities you need there.
We have implemented similar solution for a requirement, and taking the writeback functionality to an external page had opened us so many possibilities.
I know this might require a resource that can build stuff like this in Jdeveloper, but IMHO it's not that hard to learn. Oracle has pretty detailed material which should get you through building something like this if you decided to.
Everyone reading this , have a great labor day weekend! :)
Thanks,
-Amith.

Similar Messages

  • Problem with dashboard prompt initial value (OBIEE 11g)

    Hi alli,
    I have a problem with dashboard prompt and session variable in OBIEE 11g.
    I have declared a session non-system variable which I set/change with dashboard prompt. At login the variable is initialized in initialization block that gets a value from an SQL select statement.
    When I change the value in prompt, the session variable changes accordingly, as it should (change is made by calling function NQSSetSessionValue() within javascript function). While I am in my dashboard, cruising around pages the variable stays the same, and when I return to the page that has prompt on it, the correct value is shown. Everything works fine.
    The problem occures when I go to Catalog (in presentation services) to create some new Answers. When I return back to the same page in dashboard (which has a prompt), the prompt selected value and session variable are set back to the default value. It looks like the initialization block is executed again.
    My prompt is configured like this:
    - Choice List Values: SQL Results
    - Default selection: Variable Expression (@{biServer.variables['NQ_SESSION.VariableName']} )
    - Set a variable: Presentation Variable
    Is there a way to stop the initialization block from executing again? Isn't it logical that the initialization block executes only at login, when the session variable is empty? I don't need it to execute every time i come to the dashboard.
    Thanks in advance,
    Marko
    Edited by: markor on 14.3.2011 8:58

    How and where do you use the nqssetvalue() function.
    I tried it in several places but it doesn't work.
    Can you help me, please!
    Thanks

  • Issue with Writeback in OBIEE 11g

    Hello,
    I have a created writeback report and it is working fine as of now .Now I changed the writeback template to use stored procedure to update the data.When I am trying to update integer columns it is working fine but when I try to update varchar columns it is giving the error instantly without generating the log.
    "An error occurred while writing to the server. Please check to make sure you have entered appropriate values. If the problem persists, contact your system administrator."
    When I try to update the procedure in DB ,it is working as expected. Can anyone tell me what is way I can troubleshoot the issue?
    Thanks,
    Prasanna

    Hi Prasanna,
    Can you try paasing the varchar values with single quote.
    Regards
    Raj

  • Total subtract value obiee 11g

    Hi All,
    I have this kind of report:
    payroll
    earnings 500
    deductions -100
    grand total: 600
    I use OBIEE 11.1.1.3 , and for the deductions I use formula column (case when deductions then value*-1).
    Is this bugs in Obiee 11.1.1.3?so the grand total show the wrong value?
    Regards
    JOE

    Hi,
    Here is my physical sql:
    SET VARIABLE QUERY_SRC_CD='Report';SELECT s_0, s_1, s_2, s_3 FROM (
    SELECT
    0 s_0,
    "Human Resources - Payroll"."Dim - Pay Element"."Element Group" s_1,
    "Human Resources - Payroll"."Fact - Payroll"."Total Amount Paid"*(-1.00) s_2,
    REPORT_AGGREGATE("Human Resources - Payroll"."Fact - Payroll"."Total Amount Paid"*(-1.00) BY ) s_3
    FROM "Human Resources - Payroll"
    WHERE
    ("Dim - Pay Element"."Element Group" <> 'Information')
    ) djm ORDER BY 1, 2 ASC NULLS LAST
    Do I need add this in my instanceconfig.xml?
    <ReportAggregateEnabled>true</ReportAggregateEnabled>
    Thank you before
    Regards
    JOE

  • Display custom messages in Writeback Reports OBIEE 11g

    Is there any way i can display a custom message when user enter the wrong data(conditions).I am using OBIEE 11.1.1.7.1.
    Anyone please help me out here.
    Thanks,
    prassu

    I dont think so...
    after inserting date in db table try to show it up based on your validations there itself it can be a report or so..
    if not you need to have something like html+JavaScript etc.. altogether it is complex

  • Writeback-Issue OBIEE 11g

    Hello togehter,
    i have implemented the writeback-function but i get an error if i excute an update in Oracle Business Intelligence . What funny is that the update can be seen in the database, but is not in the table view of Oracle Business Intelligence.
    The follow messge is from nqsserver.log
    [2012-09-28T12:05:16.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 53836aab15161259:-7a9ce585:13a08aa27d7:-8000-0000000000004a31] [tid: 444] [nQSError: 27024] The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. [[
    [nQSError: 43113] Message returned from OBIS.
    I hope anybody can help me :)

    Hi,
    can you share/paste it your writeback xml file...by the way try to remove commit/postcommit and try again then test it.
    Thanks
    Deva
    Edited by: Devarasu on Sep 28, 2012 6:47 PM

  • How to implement WriteBack feature in OBIEE 11g?

    I have implemented all steps but with no success. Can any one share what are loop holes in implementation the same?

    Hi,
    Please check the below steps and refer the below links.
    http://satyaobieesolutions.blogspot.in/2013/03/write-back.html
    http://satyaobieesolutions.blogspot.in/2012/06/obiee-10g11g-writeback-capabilities.html
    http://satyaobieesolutions.blogspot.in/2012/06/excel-data-source-writeback-in-obiee.html
    1. Problem your XMl Script
    2. If null value not present in your columns in your table in database.The ; problem has occured.
    please check below steps.
    1. Are you using OCI or ODBC in your connection pool? Try it with OCI Call Interface 11g.
    2.Remove the commit tag from the XML file.
    <postUpdate>COMMIT</postUpdate>
    =============================================================================================================
    This xml file working for me.
    Insert--
    A couple of small adjustments got your XML to work here:
    <?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="WriteBack">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> INSERT INTO FACT (PRICE,PRODUCT_KEY,REGION_KEY,SALE_UNIT,TIMEKEY,SALES_QUOTA)
    values (@{c7},@{c8},@{c9},@{c10},@{c11},@{c5} ) </insert>
    <update> </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The <writeBack> tag is written with a lower case "w".
    The "connetionPool" needs an upper case "P".
    Update--
    I think that you have to specify also an SQL statement for the update tag, for example:
    <?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="pmet_update">
    <XML>
    <writeBack connectionPool="PMTCOG">
    <insert> select null from dual</insert>
    <update> UPDATE XREF_PMET_URL SET URL= '@{c1}' WHERE API='@{c0}'</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    The witeback wants for both the tags (<insert></insert> and <update></update>) an SQL Statement.
    Hope this help's
    Thanks
    Satya

  • OBIEE 11g Unable to browse multiple value hierarchy for analysis.

    Hi All,
    We are using OBIEE 11g Value Hierarchy feature to display GL Segment Hierarchies.
    -     We have set the hierarchies to be Ragged and Skipped Levels in the RPD Business Model.
    -     We have dragged the hierarchies from Business Model to Presentation Layer.
    -     When selecting the hierarchies during Analysis, the first hierarchy that is browsed appears correctly. The next hierarchy when browsed just hangs.
    For example:
    Step 1: Browse Hierarchy1 (Block). The values show correctly.
    Step 2: Browse Hierarchy2 (Account). The hierarchy does not open with a blinking circle remaining forever.
    Alternatively;
    If we selected, Hierarchy 2(Account) first, the hierarchy shows correctly, but when selecting Hierarchy1 (Block) a blinking circle appears and remains for ever without opening the hierarchy.
    The nqquery.log shows correct result. My suspicion is that the issue is on the front end presentation services/javascript side.
    Is there any additional setup/configuration required to open multiple value hierarchies during analysis.
    Thanks and Regards,
    Sasi

    I have a pretty good guess at the hanging problem, unforntunitly i have no solutions yet.
    I having same type of issue, hangs when building filters on for 2nd or 3rd dim table.. I can see obiee fireing off the query to populate the dropdown by running
    select distinct on and joining to the fact table and dimensions that the users usually have selecte prior to start creatinng the filters.
    It is sort of like doing a intra dimension filter.. Sounds good but if user does not cut way down on number of fact rows by the time 2nd filtered column is selected the generated query to populate the drop down can run and run.
    OBI SE Once and discoverer dd not do this, at least not out of the box.

  • OBIEE 11g Prompt's default value doesn't work with a presentation variable

    Hi, I'm using OBIEE 11g and I have two dashboard prompts (Product Name and Product Number). Theses prompts are hierarquical, so the values that are displayed in the Product Number prompt have dependency with the values chosen on the Product Name prompt. This I was able to do, but now I want to put a default value on the Product Number prompt. The steps are:
    1 - The user chooses the value for the Product Name Prompt and by doing that the Product Number prompt is automatically filled with the correspondent value.
    But unfortunatelly this is not working, after choosing the value for the Product Name the default value for Product Number is not displayed (when you open the prompt the values displayed are correct and already filtered considering the Product Name but the prompt is not automatically filled with the default value).
    What I did is:
    On the Product Name Prompt I've created a Presentation Variable called PROD.
    On the Product Number Prompt I've selected:
    1 - For the "Choice List Values" field I've checked the option "Limit Values by All Prompts"
    2 - For the "Default Selection" field I've chosen the SQL Results option and enter the following SQL:
    SELECT "Products"."Product Number" FROM "Sample Sales Lite"."Products" WHERE "Products"."Product"='@{variables.PROD}
    What am I doing wrong?
    Thank you,
    Carla

    Sorry I was wrong in my previous thread.
    Actually your approach is not correct, Product Number choose constraint that will show as per the selection of Product Name.
    Coming to default value for Product Number you are going for sql override that is okay but not work with variable, instead of setting default values for product number set that to product name.
    if not you need to go for 2 different prompts
    Prompt 1 Product Name hit GO
    Prompt 2 will work based on as you defined earlier with variables
    Hope this helps

  • Buttons not showing up for Writeback option in OBIEE 11g

    Hey guys,
    I'm struggling with the writeback option in OBIEE 11g.
    I've made all the required changes as per the documentation.
    1) Making the column writeable in BMM layer.
    2) Giving the column and the table read/write permission in the presentation layer.
    3) writing the query in the xml for insert and update and have put it in the right path.
    4) Modified the instance config and included the <Lightwriteback>true</Lightwriteback> in it.
    5) Enable the column with writeback property.
    6)Enabled the table view property with writeback.
    However when i untick the table toggle mode,it makes the column editable but without any update button.
    whereas if i tick the table toggle mode it neither makes the column editable nor does it shows up any button.
    Could somebody help me out with the solution.
    Thanks,
    Anirban

    Anirban,
    You need to make sure that 'Write Back to Database' privilages have been correctly setup for you. If you have admin rights on the catalog, you should be able to check and modify it under Security > Manage Privilages on the Administration screen.
    cheers,
    Adnan

  • OBIEE 11g Writeback Error

    Hi All,
    I am unable to configure the writeback functionality in OBIEE 11g, i am getting error while pressing Apply button in the report no error message is displayed in the error box only 2 ok buttons.
    Folder customMessages doesn't exist:
    "ORACLE_INSTANCE/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obipsn/analyticsRes/customMessages"
    so i created the folder and added the writeback xml file to the folder.
    is there is any way to check the error.?

    Hi,
    Please check if you have followed the following steps mentioned:
    http://obiee10grevisited.blogspot.in/2012/02/write-back-in-obiee11g.html
    Regards
    MuRam

  • Display values in legend obiee 11g

    Dear All,
    Is there a way to display values in legend for obiee 11g graph? I could not find that features. It only has show or do not show the legend.
    Thanks,
    Sushil

    is it not something like
    select columnA from SubjectAreat where
    columnA is not like '%A%'
    and columnA is not like '%B%'

  • OBIEE 11g Radio Button Value show horizontally instead of vertically

    Hi,
    Can the Radio Buttons Prompt values in OBIEE 11g be shown horizontally instead of vertically on a dashboard prompt.
    Thanks
    Kathy

    I cannot find it in the out of the box functionality. I think it might be possible with some custom programming which I do not have time to investigate.
    If somebody has done this, please let us know if it is possible.

  • How to hide % measure column Grand Total  value in Pivot View in obiee 11g?

    Hi ,
    I am facing a issue in obiee 11g .I am using a Pivot table to display the grand total of 3 metric columns eg: A , B,  C out of which B is percentage  so I need to remove the grand total value of the percentage column. We have to stick to Pivot View only. Anyone can sugest me on this?
    Thanks ,
    Shruti

    Move B to rows section or cast to char in Criteria tab by keeping the B in Measures section only.
    cast(B as char)

  • Stop a dimensional drill for a particular value of a column in obiee 11g

    Hi,
    I have dimensional drill been setup for Supervisor Hierarchy Table.I need to stop the dimensional drill for a particular value of the column in obiee 11g.
    Example: I have two columns
    1.Supervisor Level 1 Name
    2.Supervisor Level 2 Name
    Supervisor Level 1 Name Columns have these values.(Ram,Higher,Sam)
    Supervisor Level 2 Name Columns have these values.(Ravi,Higher,Raghul).
    If we pull Supervisor Level 1 Name Column in report which has a dimensional drill(It will navigate to Supervisor Level 2 Name).It will show
    1.Ram
    2.Higher
    3.Sam
    I should not drill on Higher value but the rest of the values(Sam and Ram will drill to Supervisor Level 2 Name) should be drillable.The same should happen for Supervisor Level 2 Name.
    Please Suggest.
    Thanks,
    Azim

    Azim,
    Don't think you can actually get this working

Maybe you are looking for