Creating dashboard prompts at run time.

We have a requirement of creating dashboard prompts at runtime. Our scenario is as follows:
We would like to create trend charts with multiple trend lines. We are planning to use the Line Graph view to achieve this. However, the number of trend lines and the columns of a table to be used as trend lines will be input at run time. As an example, users will be prompted to enter the number of trend lines they wish to plot in the chart. Depending on the input, we need to dynamically create those number of prompts. The prompts will be a choice list of columns that can be used as trend lines. For the following table structure:
table: table1
column1: quantity
column2: quantity_accepted
column3: quantity_rejected
the dashboard prompt 'Select number of Trend Lines' will ask users for a number. Let's say the user enters 2. We need to dynamically create 2 prompts based on column1, column2 and column3.
Is there a way of implementing this requirement?

I think you need to look at the JAXB capabilities
Try using JAXB & JSTL to dynamically build your faces-config.xml
For Runtime Java bean Classes
IF you have an XML schema/DTD you can use JAXB to generate Java Bean Source code
Obviously you are going to have to build into your application the ability to invoke the JAXB & Java Compilers

Similar Messages

  • How to create transparent image at run-time?

    How to create transparent image at run-time? I mean I want to create a (new) transparent image1, then show other (loaded) transparent image2 to image1, then show image1 to a DC. The problem is - image1 has non-transparent background...

    i'm not sure, but you can set the alpha value to 0 in all pixels which are 'in' the background..
    greetz
    chris

  • Create the pages at run time in smartforms

    How to create the pages at run time in smartforms????

    Hi..
    You cannot create pages at run time, however you can decide based upon conditions and using commands in Smartforms, which page needs to be displayed next.
    Those pages should be created beforehand.
    Regards,
    Karthik

  • Is it possible to create a column in run time?

    Hi,
    I created a application that connect with Access database. I just wonder is it possible for user to create a column in run time, because the application need this kind of interaction.
    Many thanks,
    Ann

    Code that does it is here:
    http://forum.java.sun.com/thread.jsp?forum=48&thread=453846&tstart=0&trange=15
    MOD

  • How create bath file in run time in java

    Hi all
    i run one bath file by using process class but i create bath file in run time in java .please help me with code.

    Dynamically Writing a batch file in Java is exactly the same as writing to a simple text file.... you just give it the file extension ".bat".
    If you can't write to a simple text file yet, you should probably buy a Java book and start working through it.
    regards,
    Owen

  • Prompt at run time

    Hi,
    is it possible a user open xcelsius file in PPT or PDF then it will ask for prompts values at run time in query as a web service connection..
    My requirement is design xcelsius based on the  query as web service and share xcelsius file  in PPT with users. If i will put prompts in the query as a web service then next time when user open  the file it will ask to choose values from the list and accordingly so the data at run time.
    Thanks,
    Amit

    Hi Amit,
    We cannot get a prompt directly from QaaWS but we can make a prompt screen in the xcelsius itself.
    Make a window with the help of a bacground component and add the combo box or other selector to pass information to QaaWS binded cell.
    Then after selecting that value make the QaaWS trigger on that value.
    And through Dynamic Visibility make the window appera when you load the dashboard.
    Let me know if you need any help.
    Better you send me your mail ID such that  i can send you a sample one.
    Regards,
    Anjanikumar C.A.

  • Sharepoint -Creating document libraries at run time and add and delete permission at runtime--taking too much time in C#(SOM)

    Hi,
    I am creating a batch job in C# and my requirement is as follows.
    My Requirement is to create multiple document libraries and after breaking inheritance  I remove all the groups which that library inherits and add some groups which are created for that library.Initially when libraries are less the creation
    of library is good but once it gets increased ,system takes lot of time.I will have to create around 2000 libraries and almost 600-700 groups.
    Q.1 ) What would be my approach?
    Q.2) Do we have powershell command which can break inheritance and delete all the default groups in a one go (without looping) of a library?
    Please suggests.

    Hi,
    It is recommended to create timer job for the time consuming job when in SharePoint environment.
    About creating timer job:
    http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S
    If you want to do it via PowerShell, the links below would be helpful.
    About how to stop inheriting permission for SharePoint list and give custom permission using PowerShell:
    http://www.sharepointlovers.com/sharepoint-powershell-command-to-stop-inheriting-permission-for-sharepoint-list-and-give-custom-permission/
    About How to remove users and groups from a SharePoint list using PowerShell:
    https://sharepointthinking.wordpress.com/2012/10/01/how-to-remove-users-and-groups-from-a-sharepoint-list-using-powershell/
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to create widget Dynamically at run time using action script

    i have created  widget's in my application . but in the main page i want only selected widgets to be displayed..
    lets say i have 3 categories of users for which i've created 3 widget groups i.e. search , update , report. with in these groups i have number of widgets. if user belongs to searchUser category only search widget group has to be displayed in my main page, if user belongs to updateUser group i want to display search and update widget group in my main page and so  on..
    thanx

    Assuming these widgets are always on your main page, you could bind the visible parameter of the widget to variable, and then set that variable depending on the users group.  So you could mark your groups search =1, update =2, report =3.  Have a Bindable variable that you can set corrisponding to the group of the current user
    [Bindable]private var groupLevel:int;
    then in your search widget tag, set the visible parameter like so visible={(groupLevel>=1)?true:false}
    user widget would be visible={(groupLevel>=2)?true:false}
    and report widget visible={(groupLevel==3)?true:false}
    that should allow the widget so appear for the appropriate group.

  • How to create a datablock at run time?

    I want to create a datablock with database item at runtime.
    Is it possible?
    plz help.

    user8200267 wrote:
    actually i have to show my records in multiple blocks. I arranged it in 6 blocks in a form, but user says
    it is possible we need more blocks to show now form is getting heavy. so i want new blocks will be created
    as and when required.You cannot create blocks on the fly. You should strongly push for new forms rather than keep adding functionality to the same form. Design at that level should be your call not the user.

  • Pick a subject area at run time and create an analysis on this subject area.

    We have a requirement wherein we need to create analyses at run time. We want to give the flexibility to users to pick up a subject area on which they wish to create an analysis. This will be done through a dashboard prompt. Once the user picks up a subject area from the prompt, we will create the analyses at run time based on the selected subject area.
    The problem that we are facing at this point is how to create a dynamic 'FROM' clause for the analysis. As an example, consider the following scenario:
    1. There is a dashboard prompt called 'Select a DataStore'. The possible values are all the subject areas in the RPD. For simplicity, lets assume there are two values DS1 and DS2.
    2. If the user selects DS1, the analysis sql should be:
    select <colgroup1>, <colgroup2>
    from DS1;
    However, if the user selects DS2, the analysis sql should be:
    select <colgroup1>, <colgroup2>
    from DS2;
    Hence the requirement for a dynamic FROM clause.
    I tried using a presentation variable in the from clause but I get the sql syntax error.
    Is there a way of implementing this requirement?

    To work around the license issue, see the Microsoft Knowledge Base article LICREQST.EXE Requesting a License Key from an Object and download licreqst.exe. Run licreqst.exe and find "CWUIControlsLib.CWSlide.1" under the registered controls section and click on it. The license string at the top can be passed to Licenses.Add and then you should be able to dynamically create the Measurement Studio controls. For example:
    Private Sub Form_Load()
    Licenses.Add "CWUIControlsLib.CWSlide.1", "[Add license string from licreqst here]"
    Dim slide
    Set slide = Controls.Add("CWUIControlsLib.CWSlide.1", "slide")
    With slide
    .Top = 120
    .Width = 1215
    .Visible = True
    End With
    End Sub
    Creating controls like this would have an impact on performance since all calls are late bound. If you are using the Measurement Studio controls in a UserControl, though, you should not need to do this since the license would get compiled into the binary that contains the control. I don't think that you would have any problems creating your control since it would not be licensed.
    - Elton

  • Need to change the sortable header's prompt value in the Run Time

    All
    I have an advancedTableBean with 11 columns. Out of these 11 for around 3 columns i have to change the column header's(sortableHeader) Prompt at run time. I would like to know how can i get an handle to the column header. I tried 'getColumnHeaderFormat' and 'getColumnHeaderData' but was not sure how to proceed further.
    Kindly suggest me the solution.
    Thanks,
    Praveen

    Hi,
    There is no std user-exit for this (at least we haven't found it as well).
    We have created implicit enhancement point implementation athe the end of form AUFRUF_USER_EXIT in include MF02DFEX.
    The code should be similiar to following:
    ENHANCEMENT 1  YEDSD_EO_ADD_DOC_PREFIX.    "active version
        DATA:
          ltp_doc_prefix TYPE y_dt_docpref.
    *--only in creation and change mode
        IF T020-AKTYP = 'H' OR
           T020-AKTYP = 'V'.
          CONCATENATE kna1-ktgrd kna1-kunnr INTO ltp_doc_prefix.
          kna1-yydocpre = ltp_doc_prefix.
        ENDIF.
    ENDENHANCEMENT.
    Regards,
    Marcin

  • My Prompt back ground colour changes during run time in Client / Server Env

    <p>Dear Friends, </p>
    <p> My Prompt of text items are changing its back ground colour according to the Text item's back colour during runtime. This doesn't look good. My look and feel of my application gets spoiled due to this. I tried with Visual Attribute (both prompt & Text item) but of no use. I don't want to use text label as I want to change the prompt during run time. Please help me. </p>
    <p> Form during Design time </p>
    <IMG SRC="C:\Documents and Settings\Administrator\My Documents\My Pictures\myform1.jpg"></IMG>
    <p>Form during Runtime </p>
    <IMG SRC="C:\Documents and Settings\Administrator\My Documents\My Pictures\myform2.jpg"></IMG>
    <p> Thank you.
    Regards,</p>
    <p>Senthil .A. Perumal.</p>
    <p>My version of forms is Forms [32 Bit] Version 6.0.8.8.0 (Production).
    </p>

    Dear Kevin,
    Yes I agree with you, but in my case as this application supports bilingual (English & Arabic), I want to change the prompt of the text at run time. Can I change the text of boilerplate text at runtime?
    Thank you for your reply.
    Regards,
    Senthil .A. Perumal.

  • Unable to create CrystalReportViewer control programatically at run time

    Hi
    I'm not sure the best place to post this, so I'm placing it in Crystal Reports and BusinessObjects Enterprise.
    I'm using Visual Studio 2010 to create a web application which will serve as a reporting portal for BOE XI 3.1.
    I first installed Crystal Reports for Visual Studio 2010 and dropped a CrystalReportViewer onto a web form at design time.
    However, when setting the ReportSource property, I was encountering memory corruption errors.
    I've since read the release note and have realised that Crystal Reports for Visual Studio 2010 isn't compatible with BOE XI 3.1.
    So, I've unistalled Crystal Reports for Visual Studio 2010.
    Now I am trying to create the CrystalReportViewer at run time. I am able to successfully set the ReportSource property without getting memory corruption errors - which is good news, but I simply do not see the CrystalReportViewer control.
    Here's my code:
    WebForm1.aspx
    <%@ Register assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    WebForm1.aspx.cs
    protected void Page_Load(object sender, EventArgs e)
        CrystalReportViewer myCrystalReportViewer;
        myCrystalReportViewer = new CrystalReportViewer();
        myCrystalReportViewer.ID = "CrystalReportViewer1";
        myCrystalReportViewer.AutoDataBind = true;
        myCrystalReportViewer.HasRefreshButton = true;
        myCrystalReportViewer.ReportSource = @"C:\temp\myreport.rpt";
        myCrystalReportViewer.DataBind();
        Panel1.Controls.Add(myCrystalReportViewer);
    Web.config
    <compilation debug="true" targetFramework="4.0">
        <assemblies>
            <add assembly="BusinessObjects.Enterprise.Providers, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
            <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.Shared, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=B32731D11CE58905" />
            <add assembly="CrystalDecisions.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.ReportAppServer.DataDefModel, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
            <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
        </assemblies>
    </compilation>
    <httpHandlers>
        <add verb="GET" path="CrystalImageHandler.aspx"
        type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    </httpHandlers>
    Everything compiles and runs fine - I just don't see anything on my page.
    I've tried adding a TextBox in exactly the same way and it displays just fine.
    What am I doing wrong or not doing?
    Surely it must be possible to add a CrystalReportViewer at run time.

    You left out the snippet of code that places the viewer in the HTML in the aspx file.
    Is it there?  That should describe its placement and sizing. The tag should be named CR:CrystalReportViewer (since you've set the TagPrefix to "CR").
    Sincerely,
    Ted Ueda

  • How to pass dashboard prompt value to requests in folder

    Hi,
    I want to have a dashboard page that contains dashboard prompt for period and list with requests (for this I add Folder and select "Expand folder").
    If I use dashboard prompt to set presentation variables, the chosen value is not passed to requests in folder list and as I understand this is the way presentation variables work. Therefore I tried to use Request variable, but get the same result - value that is chosen in dashboard prompt, influences request only if it is shown in dashboard not if I open it from folder list.
    Steps I did:
    (1) Created session variable "Period", that users can alter. Initialization block is simple dummy select - Select ’2008.08’ from dual;
    (2) Created dashboard prompt that sets Request variable Periods;
    (3) Created report with session variable value in it:
    SELECT Time."Period code" saw_0, VALUEOF(NQ_SESSION.Period) saw_1 FROM "TEST" WHERE Time."Period code" = VALUEOF(NQ_SESSION."Period") ORDER BY saw_0, saw_1
    If I include this report directly in dashboard, it shows the session value that is set from dashboard prompt, however when I open it from folder list, it shows the default value 2008.08 although I have stayed in the same session.

    Iza, you are correct in your assumption regarding passing Presentation Variables to reports that are in the Folders object. If you have a dashboard prompt on the same page as the Folders object, then even if you select a value in the prompt, it will not pass when you click on the report name in you Folders object.
    Here is something you might want to consider to achieve what I think you are trying to do. Instead of having the Dashboard prompt on the first page, create a "table of contents" home dashboard page. What I mean is:
    1) First, create a Dashboard page with the prompts you wish to filter a report with and set the default values. Save this as the template dashboard page. Now, with a second copy of this template, drag one of your reports to this page. Save it. Using your dashboard template page, create another copy and drag the second report to this page. Save. Do this for each report you wish to display. Note that you can drag more than one report to a dashboard page.
    When you are done, you will have several dashboard pages, each with one or more reports and the dashboard prompts on the top of the page.
    2) Now on your "home page," drag the Link or Image to a section. Link this object to the first dashboard page you created in step one. Name the link the title of your report. If there are more than one report on this page, title the link appropriately. Click the "open in new window" checkbox. Drag a Link or Image object for each dashboard page you created in step one.
    When you are done, this home page will look similar to your Folders object, with links to each of your dashboard pages that contain the reports. When the user clicks on the link, the appropriate dashboard page will appear with the dashboard prompts and the report will be filtered on the default values. Now the user can change the values of the prompts as desired. When the user is done, he/she can close the window and he/she will be taken back to the home page to select another report.

  • Disply Popup Message in Dashboard Prompts...

    Hi,
    I Created Dashboard Prompt with 2column Like Year and Month.when User Select above year like 2013 Then showing msg or popup your select wrong value.At Same Time Month Also When select december(2012) Disply the message.
    Please Any Help....

    Have you considered Javascript for the pop ups.
    Here are a few posts:
    http://shahin-obiee.blogspot.com/2012/05/normal-0-false-false-false-en-us-x-none.html
    JavaScript in OBIEE
    if helpful, pls mark correct/helpful

Maybe you are looking for

  • Acrobat 9.0 cd need 9.4 patches

    Hi, I have several PCs with Adobe 9.3 and 9.4 Standard and Professional installed.  I will be installing Windows 7 Pro on these XP PCs shortly so I will need to reinstall the appropriate version of Adobe on each PC.  The program is I only have 9.0 CD

  • Problem in reading archiving documents

    Dear All, To see the archived documents, I am clicking on "Data Source" tab in the customer/ vendor/ GL line items execution screen (FBL#N, FBL1N, etc). And thereafter I am selecting Archive tab and pressing enter. But I am getting a message "Report

  • Open NAT on PS3...

    How do I get an open NAT for my PS3? I have an E2000 and only have moderate NAT.

  • Mac mini won't install Adobe flash player

    Hi all! I have had this newer version of my mac mini (OS X 10.6.8) for about 4-5 months now.  Never had any problems until this weekend when I was prompted to install the newer version of adobe flash player to view an interactive map.  I completed th

  • Not able to Debug LT06 - /h

    Hi all, I am not able to run tcode LT06 in debug mode using '/h' when i selet menu item 'display'. Can you plz guide why this has happened and how to get into debug mode on menu selection Thanks