OBIEE Analysis prompts not working in SmartView 11.1.2.5.400

Hi all
I would appreciate any suggestions on the following issue that I am experiencing in SmartView 11.1.2.5.400.
Here are the steps that I am following:
- I have a very simply OBIEE analysis which has one filter (Calendar Year):
- In the Prompts tab in the same analysis I have a prompt defined on Calendar Year:
- In Excel 2010 I import the Pivot using SmartView.
- I receive the following error: "Object reference not set to an instance of an object”.
- The data does import after the error message appears but as soon as I click on Edit Prompts the message appears again.
- The pivot imports without any issues when I remove the prompt from the Prompt tab in the Analysis but I need to filter the information before it is displayed in SmartView.
I am using:
SmartView 11.1.2.5, MS Office 2010 and OBIEE 11.1.1.7
Regards
Johan

Hi
Thank you for the reply and document.
The document is unfortunately not helpful. I get the "Object reference not set to an instance of an object” error as soon as soon as I click on Insert on the OBIEE pivot table in SmartView.
The error however disappears when I remove the prompt in the Prompts tab in the analysis and Insert it again.
Thanks
Johan

Similar Messages

  • Navigation from union request - navigation target "is prompted" not working

    Hi friends..
    I've created a union request from 5 request.
    I'm trying to navigate to other request using value interaction. The column is "Is Prompted" on the other request.
    But thats not working. I'm seeing all the record instead of the filtered record.
    Please give me some solution.
    Thanks

    Try this for starters :
    http://gerardnico.com/wiki/dat/obiee/presentation_service/obiee_url_passing_filters
    I'll dig out some more posts we answered recently which helped a user out.
    Here you go :
    Re: Data level security
    Edited by: Alastair_PeakIndicators on 25-Mar-2010 08:21

  • Web Analysis is not working

    Hi,
    I recently installed Hyperion BI+ in my server and I'm trying to do some reports in Web Analyzer.
    My installation and configuration went successfull.
    I can open FR, IR ..
    I'm trying to open WorkSpace and Web Analysis...
    both are not working...
    When Im trying to open web analysis using the below URL Im getting error..
    http://<servername>i:19000/WebAnalysis/WebAnalysis.jsp
    but when I'm using this URL http://<Servername>i:16000/WebAnalysis/WebAnalysis.jsp
    I can see the open page.. but the Web Analysis window is not coming.. I'm getting blank page...
    and for workspace also.. when I'm using 45000 port.. it is working but I cannot open any reports.. some debug error is coming..
    when I'm using the default port 19000.. Im getting network error...
    Please help me in this issue..
    Do I need to do any modifications in my configuration or property files....
    my Java application is Tomcat(default).. databases is Oracle 10G Enterprise Edition.

    Hi,
    Regarding Web Analysis- I believe- It's a problem of JRE.
    - Just remove/uninstall the JRE from your Currently installed Programs. You may want to reboot the m/c
    - Open Web Analysis Studio in the Web browser. Now, since it can't find JRE, it'll set up the relevant JRE for you & you may continue using Web Analysis.
    - Please note- Unless you've changed to a different one during configuration, Web Analysis operates on 16000 port.
    Check the following regarding Workspace-
    - Your service may be down, thus, throwing Network error
    - You may've to re-configure Workspace. Start the service & wait for few mins. before opening Workspace.
    - Natesh

  • Web Analysis functions not working in Workspace

    I am looking for a list of Web Analysis functions that are available in the Java client that will not work in the Workspace DHTML client (Version 9.3.1.0). Any guidance would be appreciated.

    There are 4 types of differences:
    - font differences, Workspace (DHTML) uses the WA Server fonts whereas WA Studio client machine fonts.
    - Service Buttons are very restricted using Workspace
    - Display: Tab selection, Splitter panels, Slider selection do not render in Workspace
    - Cannot restrict WA Tools menu in Workspace at all, where you can in the Studio.
    For exact details check out the Hyperion Web Analysis Studio User’s Guide from the Doc Library:
    http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_4.htm
    Cheers
    Iain

  • Analysis Authorization not working - Empty demarcation

    Can someone help me on this Analysis Authorization? I read many threads in SDN, it seems that I followed the correct steps. The restriction on S_RS_COMP is working well but the restriction on the Analysis Authorization is not working. Surely I'm making some mistake, but can't find what's wrong.
    I'm a User (say USER_00) in a test system, assigned to a Role (say Z:BI_USER). This is a broad role:
    - S_RS_COMP and S_RS_COMP1 have full authorization (*) to all the fields,
    - S_RS_AUTH has the BIAUTH field with Name of Authorization = *.
    Also I have an InfoArea (ZIA_TEST) and an InfoCube (ZIC_TEST). The IC has some characteristics and key figures. The only authorization relevant characteristic is ZCA_CLI (client). The IC has only 5 lines, one for each client ("CLI_01" to "CLI_05").
    Also there's a query (ZQR_TEST) on this IC, with an Authorization Variable (VAR_AUTH_CLI) restricting the characteristic ZCA_CLI.
    I'm trying to create a new User and restrict him to this IC and only to the data of client "CLI_01". If it works I'll apply to a production system.
    What I did:
    1) With tcode SU01 created a new User (USER_01) with no Role neither Analysis Authorization.
    2) With tcode PFCG copied the Role Z:BI_USER as Z:ROLE_TEST then made some changes:
    a) S_RS_COMP
    - Activity = 03 and 16
    - InfoArea = ZIA_TEST
    - InfoCube = ZIC_TEST
    - Type of report component = *
    - Name of report component = *.
    b) S_RS_COMP1
    - Kept * to all fields.
    c) S_RS_AUTH
    - I inactivated and deleted this Authorization Object.
    (I don't want to keep characteristic values restriction inside the role. The idea is to associate different users to the same role, allowing them to see the same ICs and execute the same queries. And differentiate wich characteristic values each one can see by manually associating different analysis authorization to each one.).
    3) With tcode RSECAUTH I created an Analysis Authorization (Z_AA_CLI_01) to restrict access only to client "CLI_01":
    - ZCA_CLI = "CLI_01"
    - 0TCAACTVT = "03"
    - 0TCAIPROV = "ZIC_TEST"
    - 0TCAVALID = "*".
    4) With tcode PFCG I assigned User "USER_01" to the Role " Z:ROLE_TEST" and made Complete Comparison.
    5) With tcode RSU01 I manually assigned Analysis Authorization " Z_AA_CLI_01" to User "USER_01".
    It seems to me that these steps are enough. But:
    a) When I log as USER_00 and go to tcode RSRT2, searching by InfoAreas I can see all the InfoAreas and all the InfoCubes, select and execute the query. That's OK.
    b) When I log as USER_01 and go to RSRT2, searching by InfoAreas I can see only ZIA_TEST and under it I can see only ZIC_TEST. That's OK. Then I select and execute the query.
    Wich means that S_RS_COMP is OK and each user is assigned to the correct Role.
    c) The problem is that in both cases the query brings data from all Clients.
    Under Information and Variable Values (when I run with HTML display) the message is "Empty demarcation".
    I changed the variable to be Ready for Input, just to see wich values it brings. In both cases (as USER_00 and as USER_01) in the Variable Screen it brings all the 5 Clients from the IC and I can select and execute any value.
    So the problem is with the Analysis Authorization or with the Variable, but I can't find what's wrong.
    Any help will be very appreciated.
    César

    OK Marc, it worked.
    Sorry for not answering earlier, but I could get back to this front only some days ago, then began testing your suggestions.
    1) Security Concept
    Authorization Mode was set to "Obsolete Concept with RSR Authorization Objects" (it would never work with this setting).
    I changed to "Current Procedure with Analysis Authorizations".
    Anyway, what's the function of this setting? Do old Reporting Authorizations work with "Current Procedure with Analysis Authorizations" setting?
    2) Variable Representation
    With "Multiple Single Values" it really led to problems.
    With "Selection Option" it worked well.
    3) 0TCAKYFNM
    I don't understand why, but if the AA doesn't have the char/dimension 0TCAKYFNM, when the User tries to run the query (tcode RSRT2) it accuses "You do not have sufficient authorization".
    Info Cube ZIC_VE95 has two KFs (ZKF_QTL95 and ZKF_VLT95). These KFs are used only on this IC (also in the KF Catalog, but it doesn't impact). This IC is used only on Query ZQR_VE95 (also in Transformation and DTP, wich doesn't impact).
    Well, I inserted 0TCAKYFNM and it worked, either with CP, "*" or with EQ, the two KFs.
    4) Authorization Policy Definition
    The situation I'm working on is very typical. Ex.: Some users are Administrators, Managers, Operator 1, Operator 2 and so on. Each Role needs authorization to access some queries. At the same time, they can access information only of the Cost Centers to wich they are related.
    There are many ways to implement it (I tested some of them and they worked well). My point is to define a most practical way, easy to understand and to maintain.
    I'm now sympathetic to this way:
    a) Create functional Roles (ex.: "Administrator", "Manager", "Operator 1", "Operator 2" and so on) defining only the Queries (or Info Areas, Info Providers, etc) each Role needs. No S_RS_AUTH definition.
    b) Create Char Value Roles (ex.: "CC_100_to_199", "CC_200_to_299", etc), only with S_RS_AUTH definition, each one associated with a corresponding AA (ex.: AA for CC 100 to 199, AA for CC 200 to 299 and so on).
    c) Create Composite Roles associating functional and char value Roles. Ex. Composite Role "Administrator for CC 100 to 199", composed of the Roles "Administrator" and "CC_100_to_199".
    d) Associate Users to the Composite Roles.
    Anyway, I'd appreciate if you could indicate some literature (blogs, articles, etc) on this theme.
    Well, thank you very much for your answers. Now I can go on with my studies on this subject.
    César Menezes

  • Analysis authorization not working on WAS server

    Does BI Java  required for Analysis authorization to work ?
    Can we manage with WAS server to show analyis authorization ?
    Actually we don't have BI java configured in our system...so we are executing the query on WAS server ( BI ABAP).....but on this we are not able to see analysis authorization working....system is showing all the possible values and not the authorized value in AA.....
    Regards
    Tripple k

    Jason
    1. 0BI_ALL is not assigned to the user.
    2. I have already set the Authorization scheme as "New analysis authorization" in SPRO.
    3. i am executing the report from T-Code RSRT
        A> Select the report and click on ABAP Web ( Choose query display as List or Analyzer or HTML) - System is showing entire orgunit while it should show only 3 org unit   assigned to user in RSECADMIN.
       B> Select the query and execute on Java Web - Error in connectin as BI java is not there on portal side
       C> Select the query and choose Query Display as "HTML" click on Execute button - Only 3 values restricted in RSECADMIN are appearing.
    Hope somebody can throw some light on this.
    Regards
    Tripple k

  • Win 2003 Sevver Command Prompt not working

    Hi,
    It seems somehow the command prompt are not working on my server and hence one of my software installation is failing on the server.
    it seems the CLI commands work fine when the Command prompt is executed directly from the /system32 dir. But when we use it from Start>run>cmd, the commands don't respond.
    For Example:
    C:\>ping
    'ping' is not recognized as an internal or external command,
    operable program or batch file.
    C:\>nslookup
    'nslookup' is not recognized as an internal or external command,
    operable program or batch file.
    And when I execute it from the /system32 :
    C:\WINDOWS\system32>ping
    Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
                [-r count] [-s count] [[-j host-list] | [-k host-list]]
                [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name
    Options:
        -t             Ping the specified host until stopped.
                       To see statistics and continue - type Control-Break;
                       To stop - type Control-C.
        -a             Resolve addresses to hostnames.
        -n count       Number of echo requests to send.
        -l size        Send buffer size.
        -f             Set Don't Fragment flag in packet (IPv4-only).
        -i TTL         Time To Live.
        -v TOS         Type Of Service (IPv4-only).
        -r count       Record route for count hops (IPv4-only).
        -s count       Timestamp for count hops (IPv4-only).
        -j host-list   Loose source route along host-list (IPv4-only).
        -k host-list   Strict source route along host-list (IPv4-only).
        -w timeout     Timeout in milliseconds to wait for each reply.
        -R             Trace round-trip path (IPv6-only).
        -S srcaddr     Source address to use (IPv6-only).
        -4             Force using IPv4.
        -6             Force using IPv6.
    C:\WINDOWS\system32>nslookup
    Default Server:  dns-blr2.cisco.com
    Address:  72.163.128.140
    Please check and suggest!

    Hi Aryanadonis  ,
    Thanks for posting here
    According what you mentioned, I thought system can’t located command programs path when you perform this command .
    Seems that you can perform these command with assign path, what I thought is this issue occurred because wrong environment variable setting.
    I noticed that you have posted the Environment Variable result here, I checked and highlight wrong values that could cause this issue. please correct it and try perform
    command again.
    C:\WINDOWS;
    C:\WINDOWS\system32;
    C:\WINDOWS\system32\\wbem;
    C:\PROGRA~1\CSCOpx\objects\smarts\lib;
    C:\PROGRA~1\CSCOpx\objects\smarts\bin;
    C:\PROGRA~1\CSCOpx\campus\bin;
    C:\PROGRA~1\CSCOpx\MDC\tomcat\bin;
    C:\PROGRA~1\CSCOpx\MDC\Apache;
    C:\PROGRA~1\CSCOpx\MDC\Apache\bin;
    C:\PROGRA~1\CSCOpx\MDC\jre\bin;
    C:\PROGRA~1\CSCOpx\MDC\bin;
    C:\PROGRA~1\CSCOpx\lib\jre\bin\server;
    C:\PROGRA~1\CSCOpx\objects\db\win32;
    C:\PROGRA~1\CSCOpx\bin;
    C:\WINDOWS\system32\\wbems\smarts\binPROGRA~1\CSCOpx\MDC\ApacheOGRA~1\CSCOpx\lib\jre\bin\serverCOpx\lib\jrebin\serveremRoot%\System32\Wbem;
    C:\Other Programs\net snmp\bin
    This article below introduce how to modify environment variables in windows XP , but you may also reference to it and modify environment variable on you windows 2003:
    How To Manage Environment Variables in Windows XP
    http://support.microsoft.com/kb/310519
    Thanks.
    Tiger Li
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Refresh all worksheet not working in smartview 11.1.2.2.300

    Hi All,
    We have a excelsheet report which contain multiple sheets in it. These all sheets have essbase report using HsGetValue formulas. Now when we are clicking on 'Refresh all worksheet' its not working however single sheet refresh works. Can you anyone please sugget what will be the issue?
    Thanks,

    Hi,
    I didn't understand your first question. Can you please explain it more?
    In smartview log I'm getting below error-
    [2015-02-17T19:07:32][SVC][ERROR:1][SVC10000][SVC][ecid: be2ca10d-c2a6-4146-b8d0-21ec0852f46a,0]Registry write operation failed (System.NullReferenceException): Object reference not set to an instance of an object.
       at B8CEB14D_B26A_48bf_80BC_18D4B75F6D5F.ExtensionUpdater.GetBoolSetting(String strName)
    Thanks,

  • Cascading prompt not working in infoview from today.

    Hi Gurus,
    All my reports have a common cascading prompt which was working fine till yesterday in infoview.
    now, its woking fine in thick client (Desk-i) but not working in infoview after exporting.
    Its give only single prompt instead of cascading.
    For eg: lets assume there is a 2 level cascading for quater and year
    My prompt will be "Select Quater" then cascading prompt should ask for "Select Year".
    In my case now, Desk-I prompting for "Select year" after"Select quater" where as Infoview is giving only "Select quater" prompt and result set as Q 1
                                Q 2
                                Q 3
                                Q 4
    there was no changes in universe since a week.
    Please help me, i'm lost here.
    Let me know if I have to write to BO support .
    Thanks in advance.
    Shesha

    Update..
    Its working.
    I refreshed the LOV's and exported universe.
    It started working.
    Thanks
    Shesha

  • Visual Gesture Builder Analysis project not working ?

    Hi,
    I'm working on Visual Gesture Builder and I try to understand how to use it. Currently, I use the 1409 release of the SDK, but I did some tests on 1406 version and it's not working too.
    My problem is the next : when I build a training project, I can successfully produce a .gba file and test it with the live preview tool but I can't use it in the analysis project. I include the same clip or another, and I start the analysis, then the output
    pan show me "SUCCESS:" and no more messages. The control pan is not updated (the table project analysis results contains just the header row) and when I click on the clip, they are not any suggestion of tagging, just my timeline with my own tags
    if it's a clip that I used in the training project. 
    I made many tests, like change streams recorded in kinect studio or using KSConvert.exe to upgrade my clip, but nothing happens. I tried to use VisualGestureBuilder.exe with command line and the option -analyse, but the message is always the same : the command
    line arguments were not valid. I saw all videos (MVA and blog's evangelist) about Visual Gesture Builder and reproduce step by step all manipulations, but nothing with the analysis project.
    Thanks.
    PS : sorry for my poor english. 

    Thanks Brekel for your reply , 
    i presume my assumption are true, regarding Kinect Regions (Kind
    Request 3) do you have any info on that ?
    Thanks 
    Vuyiswa Maseko

  • Automated Prompts Not Working

    Whenever I call a number and it begins with a prompt such as "Press one for accounting, two for purchasing, etc." it doesnt work. If I press 2, I see it appear where the number was and I hear it, but nothiing happens. Has anyone ever heard of this or know a fix?

    Originally Posted by Ramon Lustrati
    Hello NG
    I did found the solution.
    I had a error in this description. The requirements set was "System
    Manufacturer" is equal to "Dell Inc." and this was not working.
    After i changed it to "System Manufacturer" conains "Dell Inc." the
    automated Imaging worked.
    But strange is, why didn't work it with "is equal to" ?
    Hi Ramon
    Well that I've also seen, and yes it's funny, but maby ZENworks reads a bit more of the line than what we se or something like that. But yep it works with our dell (and HP) if we use the contains instead of the equal to.

  • OBIEE 11g URL not working

    hi every one,
    I got a problem regarding my presentation services
    they are upend running and all the opmnctl files are all alive but my url is not working
    http://VAMSHI-PC:7001/analytics or any other em , console etc
    i waiting like 15min and tried the url dint work
    i tried by updating the GUID in NQSconfig and Instances but dint work...
    can anyone help me out with his..
    thanks everyone

    that means the services are not running. yes that can cause this issue. make sure you enter the right credentials and check everything is up and running fine. i think your weblogic is not running(managed server,admin server) once they are up and running then you can access weblogic console and em and from em you can start the BI services.
    hope it helps.
    Thanks,
    RM

  • Dashboard Prompts Not Working in OBIEE 10g

    Hi People,
    I  developed a report with two dimension column and a fact column.
    NBTY Level 1
    NBTY Level 2
    Spend Amount
    NBTY Level 1 and 2 are from dimension and Spend Amount is a fact column. Both are joined in star schema. The results are correct.
    So now i published the same report in a new dashboard, and created a new dashboard prompt on Dimension column "NBTY Level 1". I applied filter on the same column (Is Prompted) in report.But when i gave a value in Dashboard Prompt, the report is not changing. I cannot even find any trace of error displayed. When the prompt is selected and clicked on 'GO' button there is no moment in browser, it stays still. I have also permissions and everything is fine
    Can some one please help in finding the problem, its an urgent issue, what possibly could go wrong?

    Thank You for your reply.
    Yes the prompt column is from same subject area.
    I Created a Column Prompt in the report using the same column and it worked for that report. But when i used that prompt in dashboard its not applying.
    I will share a logical query for Report but How should i fing logical query for a prompt?
    The total behavior looks very strange.

  • [solved]Gentoo Bash Prompt not working in X

    Hi
    I'm using this .bashrc from AUR:
    http://aur.archlinux.org/packages.php?ID=18418 
    it is said to be the standard bashrc from gentoo.
    It works with xterm, but I now installed urxvt (256 color) and it doesn't work any more, my prompt ist not colored any more.
    I'm not familiar with bash scripting, perhaps someone could have a look.
    The Problem ist not my .Xdefaults, I tried with an empty one. I also did "source .bashrc".
    Last edited by lustikus (2010-01-11 12:24:28)

    thanks for testing it.
    This is my .bashrc. I did not change anything:
    # /etc/bash/bashrc
    # This file is sourced by all *interactive* bash shells on startup,
    # including some apparently interactive shells such as scp and rcp
    # that can't tolerate any output. So make sure this doesn't display
    # anything or bad things will happen !
    # Test for an interactive shell. There is no need to set anything
    # past this point for scp and rcp, and it's important to refrain from
    # outputting anything in those cases.
    if [[ $- != *i* ]] ; then
    # Shell is non-interactive. Be done now!
    return
    fi
    # Bash won't get SIGWINCH if another process is in the foreground.
    # Enable checkwinsize so that bash will check the terminal size when
    # it regains control. #65623
    # http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
    shopt -s checkwinsize
    # Enable history appending instead of overwriting. #139609
    shopt -s histappend
    # Change the window title of X terminals
    case ${TERM} in
    xterm*|rxvt*|Eterm|aterm|kterm|gnome*|interix)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
    screen)
    PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
    esac
    use_color=false
    # Set colorful PS1 only on colorful terminals.
    # dircolors --print-database uses its own built-in database
    # instead of using /etc/DIR_COLORS. Try to use the external file
    # first to take advantage of user additions. Use internal bash
    # globbing instead of external grep binary.
    safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
    match_lhs=""
    [[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
    [[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
    [[ -z ${match_lhs} ]] \
    && type -P dircolors >/dev/null \
    && match_lhs=$(dircolors --print-database)
    [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
    if ${use_color} ; then
    # Enable colors for ls, etc. Prefer ~/.dir_colors #64489
    if type -P dircolors >/dev/null ; then
    if [[ -f ~/.dir_colors ]] ; then
    eval $(dircolors -b ~/.dir_colors)
    elif [[ -f /etc/DIR_COLORS ]] ; then
    eval $(dircolors -b /etc/DIR_COLORS)
    fi
    fi
    if [[ ${EUID} == 0 ]] ; then
    PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
    else
    PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
    fi
    alias ls='ls --color=auto'
    alias grep='grep --colour=auto'
    else
    if [[ ${EUID} == 0 ]] ; then
    # show root@ when we don't have colors
    PS1='\u@\h \W \$ '
    else
    PS1='\u@\h \w \$ '
    fi
    fi
    # Try to keep environment pollution down, EPA loves us.
    unset use_color safe_term match_lhs
    I also made a screenshot with xterm and urxvt in comparison:

  • Multiple values in prompt not working..

    I am able to create prompts using Java/ BO-SDK and i am also able to set values to these prompts; but the values in the report in Infoview are not getting refreshed. for e.g if a single value for city prompt is entered the code works fine but if i set multiple ";" separated values to this city prompt the values are not getting refreshed.
    Here is my code for prompts:
    function to set filter conditions
    public static void setFilterConditions ( final DocumentInstance doc,final List<ConditionFilterDataItem> filterList )
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            if(conditioncont!=null)
                 conditioncont.removeAllChildren();
                   createPrompt(doc, filterList);
                 applyValuesToPrompt(doc, filterList);
              doc.setPrompts();
              dp.runQuery ();
              doc.refresh();
    function to create prompts.
    public static void createPrompt( final DocumentInstance doc,final List<ConditionFilterDataItem> filterList)
            System.out.println("Inside create Prompt method ");
            final ReportDictionary reportDict = doc.getDictionary();
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            ConditionFilterDataItem conditionFilterDataItem = null;
            conditioncont = q.createCondition(LogicalOperator.AND);
              for(int i=0;i<filterList.size ();i++)
                      conditionFilterDataItem = filterList.get ( i );
                      final String[] operands =  conditionFilterDataItem.getFilterOperand ();
                      final ReportExpression reportExpression = reportDict.getChild
                            ( reportDict.getChildByName ( conditionFilterDataItem.getQueryObject ()).getID () );
                      final String objectName = conditionFilterDataItem.getQueryObject();
                      final DataSourceObject dataSourceObject = reportExpression.getDataSourceObject ();
                      ConditionObject conditionObject = null;
                      conditionObject = conditioncont.createConditionObject ( dataSourceObject );
                      final FilterCondition fc = conditionObject.createFilterCondition
                            (Operator.fromInt ( conditionFilterDataItem.getOperator ()-1));
                      ConditionPrompt condPrompt = fc.createConditionPrompt("Enter value of "+objectName+":");
                      condPrompt.setConstrained(false);
                      condPrompt.setMonoValue(false);
                      System.out.println("Prompt created for object name ::"+objectName);
                     if( operands.length > 1 && operands[1]!=null)
                          ConditionPrompt secondPrompt = fc.createConditionPrompt("Enter another value of "+objectName+":");
                          secondPrompt.setConstrained(false);
                          secondPrompt.setMonoValue(false);
                          System.out.println("Another Prompt created for object name ::"+objectName);
                      doc.applyFormat();
                 dp.runQuery();
                  doc.refresh();
                  doc.save();  
    function to set values to prompt
    public static void applyValuesToPrompt(final DocumentInstance doc,final List<ConditionFilterDataItem> filterList)
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            ConditionFilterDataItem conditionFilterDataItem = null;
            Map promptMap = generateInstanceMap(doc);
            OMFilterPrompt[] promptArr;
            if(filterList.size()==conditioncont.getChildCount())
                      System.out.println("conditioncont.getChildCount() "+conditioncont.getChildCount());
                      for(int i=0;i<filterList.size();i++)
                           System.out.println("FilterLsit size is "+filterList.size());
                           System.out.println("current value of i is "+i);
                                conditionFilterDataItem = filterList.get ( i );
                            final OMFilterSimple filter = (OMFilterSimple)conditioncont.getChildAt(i);
                            System.out.println( conditionFilterDataItem.getOperator ()+"  conditionFilterDataItem.getOperator ()");
                               System.out.println(conditionFilterDataItem.getQueryObject()+" conditionFilterDataItem.getQueryObject()");
                            final String[] operands = conditionFilterDataItem.getFilterOperand();
                            System.out.println("operands for "+conditionFilterDataItem.getQueryObject()+" is "+operands.length);
                            System.out.println(filter.getID());
                            promptArr=filter.findPrompts();
                               for(int j=0;j<promptArr.length;j++)
                                    OMFilterPrompt prompt= promptArr[j];
                                    System.out.println(prompt.getDisplayName());
                                    String promptName=prompt.getDisplayName();
                                    Prompt currentPrompt = (Prompt)promptMap.get(promptName);
                                    if(operands[j]!=null)
                                    currentPrompt.enterValues(convertStringToArray(operands[j]));
                                    System.out.println("value set is ::"+operands[j]);
              doc.setPrompts();        
              //dp.runQuery ();
              doc.refresh();
        * Converts String to a string array.
        * @param values -
        *            string to be converted.
        * @return - String Array
       private static String[] convertStringToArray(String values) {
           StringTokenizer promptval = new StringTokenizer(values, "=");
           int loop = 0;
           int size = promptval.countTokens();
           String[] newArr = new String[size];
           while (promptval.hasMoreTokens()) {
               newArr[loop++] = new String(promptval.nextElement().toString()
                       .trim());
           return newArr;
    function to create map for prompts
      private static Map generateInstanceMap(DocumentInstance document)
            Map<String, Prompt> promptMap = new HashMap<String,Prompt>();
            Prompts prompts = document.getPrompts();
            int count;
            if(prompts!=null)
                 count= prompts.getCount();
                 for(int i=0;i<count;i++)
                      Prompt prompt= prompts.getItem(i);
                      promptMap.put(prompt.getName(),prompt);
            return promptMap;
    i first remove all filter conditions the create prompts and then sets values to these prompts.
    the values are set correctly to the report when viewed in Infoview but the values are not refreshed ; so i see a blank report.
    Can anyone help with a code snippet at the earliest.

    All replies so far have focused on solving multiple form issues. I have no problem with multiple forms per page but exactly like the original poster I can not get my h:commandLinks to work when embedded in a h:datatable.
    I have command buttons before and after the data table working great, but for whatever reason command links just do a post back to the backing bean.
    At this point I am not even trying to process data, just verify the action method is being executed.
    Another item of note, the links will always post to the same bean regardless of what bean is referenced in action="...."
    Any ideas?
    Message was edited by:
    jasontc
    It appears once the page is rendered for the first time any future rendering will display the link(s) but the link(s) will be junk.
    I ran a test with a pre populated ArrayList for my datatable, link worked. I then reload the datatable with a different ArrayList and the link is still referencing the original item in the list. So the action method I want to call is called but the .getRowData is incorrect. In addition of the number of items in my list grows the links become junk beyond the original size of the list.

Maybe you are looking for