Set default value based on current day value and setItems in Design studio

Hello
I have 2 filters on my dashboard - year and month. The default display of the dashboard should populate current year data. Is it possible to create formula to populate dynamic default value based on the current date using setSelectedValue() ?
Also, for the calendar month, the items are set as below
DD_MONTH.setItems(DS_1.getMemberList("0CALMONTH",
MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 12, "ALL");
This displays month values as 01/2014, 02/2014 ... How can I change these value to display as January if mm = 01 and February if mm = 02 etc..
Thanks
Sirisha

Hi Victor,
I have tried using below statment to populate current year as the default selection value for the dropdown. Used it on Startup, but for some reason it loads all the data when the dashboard is opened the first time. Any ideas?
DS_1.setFilter("0CALYEAR",[Convert.subString(APPLICATION.getInfo().dateNowInternalFormat, 4,6)]);
Thanks
Sirisha

Similar Messages

  • OBIEE filter result based on current day of Month

    Dears,
    I am running an exercise to restrict all available data in my table based on current day of month (less than or equal to), what I am having a trouble in is that when I create a variable in prompt (just to test the query) the below sentence works where when adding it the Criteria body an error happens:
    SELECT DayOfMonth(CURRENT_DATE)-3 FROM  "Anysubjectarea" (it works)
    but the below won't:
    Error getting drill information: SELECT  Month("DIM_TIME"."MONTH") saw_1, Day("DIM_TIME"."DAY") saw_2 FROM "AGGR_REVENUE" WHERE ("DIM_TIME"."YEAR_ID" IN (2014, 2015)) AND (Day("DIM_TIME"."DAY") <= (SELECT DayOfMonth(CURRENT_DATE)-3 FROM "AGGR_REVENUE"))
    any help?
    Moreover, I have no rich experience in OBIEE, is not there any place to test the query before applying it? If it's a product of ORACLE, why Select sysdate from dual is not working work???
    P.s: I have no access to create a repository variable

    Hi,
    Why do you want to use a "SELECT ...." in your filter? There is no added value in having a subquery in the filter except a slower analysis in your case.
    Just add a filter to your "DIM_TIME"."DAY" column and check the "convert this filter to SQL".
    And just write your condition there :
    Done !
    In the Administration you have a link named "Issue SQL" where you can enter LSQL and execute it if you want.
    For your last point I guess you are forgetting what OBIEE is ... "Select sysdate from dual" is a query for Oracle Database, OBIEE doesn't "speak" SQL but uses LSQL, so you need to use the correct syntax for LSQL. Also the point of OBIEE is to hide your sources and not be limited by the physical source available in your RPD. Did you try to run a "Select sysdate from dual" against an Excel file? Does it work? Not really (or you have a really smart Excel).
    But if you run the same LSQL against an Oracle DB, an Excel file, an Essbase cube they all give you the same result: that's the power of LSQL, adding an abstraction layer on top of your multiple physical sources and have a single language to interact with all of them ...

  • How to restrict a table with its set of data based on a column value in it?

    Hi,
    I have a scenario in which I have to show a set of data of a pivot table by restricting data based on a column value. I am creating BIP report whose source is from BIA ie.RPD. Based on a column value I want to restrict the data being displayed in the table. Since I also want the hidden data in the first table to be displayed in another table in the same report I cannot restrict the data at the query level i.e at RPD or at BIA. For this reason I used
    <?xdofx:if saw3_ = 1?>
    the pivot table
    <?end if?>
    But it does not restrict any data.
    Also I tried using the if condition inside the table before the row level looping happens. But no good show even then.
    How can I forgo this problem?
    Regards,
    The MM

    Hi,
    See : http://download.oracle.com/docs/cd/E12096_01/books/PubUser/T421739T481157.htm#4535373 regarding column and row.
    Regards,
    Colectionaru

  • Setting Default Dashboard based on Groups/users in OBIEE 10g

    Hi,
    I am having a requirement and facing some issues with setting a default dashboard option to the users who ever access the application. Below is the brief description of entire requirement.
    The main requirement is to integrate OBIEE into a .net and silver light application. We will be having a 3 links in the .net application , which in turn displays the OBIEE reports and dashboards upon clicking the 3 links.
    We are using the concept of Init blocks, session variables and Go URL from an OBIEE standpoint for accomplishing this integration requirement. We have also configured LDAP server in OBIEE.
    The issue we are facing is out of the 3 links in .net application, we have one link/icon called dashboard icon which should display bunch of OBIEE dashboard pages in the form of 4 tabs but currently it is showing the My Dashboard home page. For this to achieve to set default dashboard page is to go to My account and change the default dashboard to the desired dashboard and log out and log in back to the application and we will be all set with dashboard pages being displayed upon lcking the dashboard icon but this is manual process for each user as they need to login into the .net application and change the setting s in My Account manually to change the default dashboard setting to the desired one.
    How should I make sure, whoever is logging into the Application (every user) should be able to see the default dashboard pages without changing the options manually by going to My Account.
    The LDAP server is taking care of the Authentication part of the users as every user record is maintained in Active directory which in turn is part of LDAP server.
    To brief high level requirement on single statement is  how to make a default dashboard pages to users based on group in OBIEE. Is there any option in OBIEE, where we can change or set a default dashboard to particular group in OBIEE either in RPD or UI level.
    Appreciate your help on this.
    Let me know if anyone needs any more information in this regard.
    Thank
    Praveen

    You can set 'PORTALPATH'. Have a look at these threads below:
    how to get default dashboards when users logs in
    Re: PORTALPATH for Each Group
    - Bharath

  • How to get the value of the current form values after "save" in MD form

    Hi,
    I am trying to run a procedure using the form values right after I save the current records in a master-detail form. When I pass the value using p_session.get_value to the procedure, there is only null value passed. I checked the package body generated and found that the OnReset function runs immediately following the saving of the current records and this onReset function is called within the OnSave procedure. So when I save the current changes, I loose the values in the p_session. Any PL/SQL code I write after OnSave, does not get any p_session value.
    Interestingly, in case of just one table form, the OnReset is not within the OnInsert function and it is possible to get the p_session values. OnReset runs after OnInsert and within this two functions we can write any pl/sql code on the Insert button PL/SQL handler.
    I have the following questions:
    1. Why is the procedure written differently in case of master-detail form ? Why is the OnReset inside the OnSave ? How do we write codes which we want to execute before onReset and after OnSave ?
    2. I want to run a procedure after onSave and before OnReset. How do I do that ? Do I have to change the package manually ?
    3. If the above is not possible, I can also try to store the values I need to run the procedure before I save in some variable. How do I do that ? It seems I cannot declare variables to store session values inside the pl/sql event code on Save button, because it gives me error. The variable declaration code goes in between the begin and end of genesys.. procedure and that is not allowed in pl/sql
    Please help me with this. I definitely need to run a procedure after saving for almost all of my forms. Otherwise I am not sure what to do with my development. I am completely stuck with this. Thanks a lot for helping me out.
    Mainak

    Never mind. I found the answer.

  • Get a Column value based on other column value in a single query

    Hi All,
    I have a problem here -
    In Table XYZ I have columns by name A, B, C and COL_I. COL_I has a value A or B or C. Based on the value in COL_I, I need to get the value from the corresponding column in the table.
    For Ex: If the COL_I has the value as 'A' then I need to fetch the value from the column A. If it is 'B' then fetch from column B.
    This has to be done in a single query.
    Thanks,
    san_mah

    Hi You can use this query
    I have taken this simple case
    SQL> desc column_fetch
    Name Null? Type
    C_FIRST_NAME VARCHAR2(30)
    C_MIDDLE_NAME VARCHAR2(30)
    C_LAST_NAME VARCHAR2(30)
    C_GET_NAME VARCHAR2(30)
    based on C_GET_NAME find values in columns C_FIRST_NAME,C_MIDDLE_NAME,C_LAST_NAME
    Values in Table
    SQL> select * from column_fetch
    2 ;
    C_FIRST_NAME C_MIDDLE_NAME C_LAST_NAME C_GET_NAME
    A B C D
    A B C F
    A B C F
    A B C A
    A B C B
    A B C C
    CASE Statement:
    SELECT
    CASE WHEN c_first_name=c_get_name THEN c_first_name
    WHEN C_MIDDLE_NAME=C_GET_NAME THEN C_MIDDLE_NAME
    WHEN C_LAST_NAME=C_GET_NAME THEN C_LAST_NAME
    ELSE 'Nothing' END
    FROM column_fetch;

  • VALUE BASED  PARTITIONING BETWEEN AN EXCEL AND DATABASE

    Can any1 help I have an EXCEL FILES and DATABASE. I want to make partitioning value-based between these sources.
    Thanks you in advances.

    Hi,
    Actually value based partitioning works fine on the data sources which are stored on RDBMS. I haven't try it with a excel source. There is a detailed description in the link below.
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    Hope this helps,
    Cheers.
    Cuneyt

  • Unable to filter LookupSet values based on another Lookup value

    Hey all, I've got a report item where I'm pulling a list of values using a lookupset. The lookupset is working as expected, however I need to filter those results based on a different value which belongs to the same dataset as the lookup value. I'm trying
    to filter on the tablix but nothing I try is working to filter. I just end up with no data when I know I should be getting one value. I tried filtering using a lookup and lookupset expression but that doesn't seem to be what is needed. This is my first time
    really diving into lookups so any help would be appreciated.
    Thanks,
    Bryan
    (using report builder 3.0)

    Do you only want the values where type = "Writing Assignment 1". If that is the case then modify your LookupSet as follows:
    =Join(Lookupset(Fields!identifier.Value+"Writing
    Assignment 1",Fields!Student.Value+Fields!value.Value,
    Fields!value.Value, "Comments"), vbCrLf)
    This will require that identifier matches student and type matches "Writing Assignment 1".
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Default iCal Display to Current Day/Month?

    Whenever I open iCal on Yosemite 10.10.1, it by default displays the last month/day I was viewing when previously exiting the app. Is there any way to have iCal display the current day/month by default at launch?

    In case anyone else is looking for a solution to this, I'm come up with a temporary hack. It is a shell script that clears out the most recent calendar view, which results in the Calendar app opening to the current day/month. I've setup a crontab job to run the script every 10 minutes. It's not a perfect fix, but it does the job just fine.
    The script/terminal command:
    /usr/bin/defaults delete com.apple.iCal "CalFirstVisibleDate"
    To install a crontab job which runs the script periodically (every ten minutes in this case), insert the following line into your crontab config (run crontab -e from terminal):
    */10 * * * * /usr/bin/iCalDateReset.sh
    This assumes that you have installed the script as /usr/bin/iCalDateReset.sh

  • Set Default Printer based on user setting using Powershell script

    Hi 
    I would like to create a script that runs on user log off and captures the default printer (set manually by the user) and then another script to reapply the settings (saved upon log off) when the user logs back in.
    This is because local printers are set as default printer (PDF Creator Programs) when we all use Network Printers so this means a user has to set default printer to the network printer all the time.
    I have found this script to start with:
    $Printer = Get-WmiObject -namespace root\cimv2 -Query “select * from Win32_Printer Where Default = TRUE” -Impersonation 3 | select name | out-file C:\temp\Printer.txt
    But the out file looks like this:
    name
    \\PrinterserverName\Accounts01
    Which I dont see how it can be used on another script plus there are spaces after\Account01 
    Any Ideas please?
    M
    Maelito

    Hi Maelito,
    According to your description, you want to export the default printer name to text file, then read this printer name from text file and set the default printer via Powershell:
    #save printer name to text file
    Get-WmiObject -namespace root\cimv2 -Query “select * from Win32_Printer Where Default = TRUE” -Impersonation 3 | select -ExpandProperty name | out-file C:\temp\Printer.txt
    # read printer name from text file and set default printer
    $name=get-content C:\temp\Printer.txt
    (Get-WmiObject -Class Win32_Printer -Filter "Name='$name'").SetDefaultPrinter()
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to display the current day value in Numbers app?

    In Numbers 3.2.2, where the current date and time happens to be 17 Dec. 2014 11:46am:
    What formula will display the current date's numeral value?
    What formula will display the current month's short name as text?
    What formula will display the current year in four digits?
    What formula will display the current time in the style "11:46am"?
    Appreciated.

    I've taken the liberty of tweaking that handy script to format the date as requested by the OP:
    on run {}
      set right_now to (current date)
      set short_month to text 1 thru 3 of (month of right_now as string)
      set the_year to year of right_now as string
      set the_day to day of right_now as string
      set short_time to text 1 thru 5 of time string of right_now
      set the_secs to time of right_now
      if (the_secs / 2 as integer) < 21600 then
      set am_pm to "am"
      else
      set am_pm to "pm"
      end if
      set s to space
      set text_date to the_day & s & short_month & ". " & the_year & s & short_time & am_pm
      set the clipboard to text_date
      my paste_date()
    end run
    on paste_date()
      tell application "Numbers"
      activate
      tell application "System Events"
      keystroke "v" using {command down}
      end tell
      end tell
    end paste_date
    This considers 11:59:59 to be "am" and 12:00:00 to be "pm". (Edited after further consideration.) It has to be run either as an Automator service, or saved in ~/Library/Scripts/Applications/Numbers/ and run from Numbers' script menu. If run from Script Editor, it pastes the date into the end of the script itself.
    Hope it helps,
    H

  • How can we make lov as default value based on another lov values

    Hi Experts,
    Example
    we r having 2 lovs asume that lov1 and lov2 based on lovv1 i want to make lov2 as a default .
    We have done the steps as mentioned in this forum. actually its returning null value.
    appreciate your help on this. Pls find the below code.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am= pageContext.getApplicationModule(webBean);
    if(pageContext.isLovEvent())
    if("lovValidate".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)) && "lovUpdate".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM))||"lovPrepare".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    String lovInputSourceId = (String)pageContext.getLovInputSourceId();
    if("lov1id".equals(lovInputSourceId))
    OAMessageLovInputBean lovBean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("WorkOrder");
    String lovInput = (String) lovBean.getValue(pageContext);
    OAViewObject vo = (OAViewObject)am.findViewObject("ChargeTimeWorkOrdersLovVO");
    if(vo != null)
    OARow row = (OARow)vo.getCurrentRow();
    if(row!= null)
    OAMessageLovInputBean lovBean1=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("lov21d");
    String value=pageContext.getParameter("lov2id");
    if(lovBean1!=null)
    lovBean.setText("10"); }
    Regards,
    Srinivas

    Hi Gyan,
    We are gettign Null Pointer exception.
    This is the code after modification for the current row:
    OAApplicationModule am= pageContext.getApplicationModule(webBean);
    if (pageContext.isLovEvent()) { String lovInputSourceId = pageContext.getLovInputSourceId(); 
    if("WorkOrder".equalsIgnoreCase(lovInputSourceId))
    OAViewObject vo = (OAViewObject)am.findViewObject("ChargeTimeWorkOrdersLovVO");
    vo.getCurrentRow();
    {  OAMessageLovInputBean compBean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("OpSeqNum");  
    if(compBean!=null)
    {   compBean.setValue(pageContext,"10");          } } }
    This is the error stack:
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2867)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.lang.NullPointerException
         at xbol.oracle.apps.eam.workplan.webui.XXChargeTimeCO.processFormRequest(XXChargeTimeCO.java:97)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    java.lang.NullPointerException
         at xbol.oracle.apps.eam.workplan.webui.XXChargeTimeCO.processFormRequest(XXChargeTimeCO.java:97)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1189)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2863)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1840)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Regards,
    Srinivas
    Edited by: 878523 on Aug 11, 2011 4:03 AM

  • Powershell: Add registry value based on current user

    I would like to automate a network printer install that uses secure print. I can push the actual install out through group policy, but I need script that will assign each persons unique ID number to the printer settings. 
    Get current user name
    Check that user name against a spreadsheet or .txt file list. This list would have hundreds of unique user names in column A, and a unique ID number in column B.
    Example:
    Column A (username)               Column B (ID Number)
    User 1 
          123456
    User 2
          789101
    Write the ID number in column B to a specific registry value.
    Any idea's??

    You would use New-ItemProperty or Set-ItemProperty to write a registry value. New-* will allow you to set the value type (you can use -Force if it already exists). Here's an example of using Set-*:
    # Set a value named 'ValueName' in the key stored in $RegPath to 'ValueGoesHere'
    Set-ItemProperty -Path $RegPath -Name ValueName -Value ValueGoesHere
    If you need to get a value, you can use Get-ItemProperty:
    # Get all values for the Windows Update service's key:
    Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\services\wuauserv
    # Just get the start value (returned as an object with start and extra PS properties):
    Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\services\wuauserv -Name Start
    # Just get the start value (just the value):
    Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\services\wuauserv | select -exp Start
    (Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\services\wuauserv).Start

  • How to set radiobutton values based on some input values?

    LCD 8.0
    I have a table with 5 rows - each row has a checkbox in it.
    The user can select 0 - 5 checkboxes. Based on the number of selected checkboxes, I need to dynamically 'press' a radiobutton (out of 5) to show the corresponding Risk level - If 2 checkboxes are checked, I need to press radiobutton #2, if 3 checkboxes the 3rd radiobutton, etc..
    I can get the 1st one to work, but can't seem to be able to change it to any other radiobutton after the first.
    What I do is sum the # of checkboxes checked, and try to set the raw.Value of the radiobutton = 1.
    >var orgcnt = sum( PDF_CONTAINER.ConceptPage1.RisksPositioned.ORGRISKS.DATA[*].RISK_IND )
    >if ( orgcnt == 1 ) then >PDF_CONTAINER.IdeaSheetPage2.RiskAssesSubform.RiskTable.RISK_*****1.cell3.RadioButtonLis t.NoRisk.rawValue = 1
    >endif
    >if ( orgcnt == 2 ) then >PDF_CONTAINER.IdeaSheetPage2.RiskAssesSubform.RiskTable.RISK_*****1.cell3.RadioButtonLis t.MinorRisk.rawValue = 1
    >endif
    If I select 1 Checkbox, the first radiobutton IS pressed, however, when I select a 2nd checkbox, the 2nd radiobutton is NOT pressed and also blanks out the 1st radiobutton.
    any ideas?
    thanks,
    rp.

    Paul,
    thanks for your input.
    However, I'm not trying to change radiobuttons in Row2 - I'm trying to change a set of 6 radiobuttons in my Row1.Cell3
    I will always and only have two rows in my table. This first row is named
    PDF_CONTAINER.IdeaSheetPage2.RiskAssesSubform.RiskTable.
    b RISK_*****1
    and the second row is named
    PDF_CONTAINER.IdeaSheetPage2.RiskAssesSubform.RiskTable.
    b RISK_*****2
    In Cell3 of each of those rows, I have a Radiobutton group with 6 radiobuttons (named NoRisk, MinorRisk, SmallRisk, ModerateRisk, VeryRisky, CriticalRisk).
    What I'm trying to do is "press" one of those radiobuttons based on some other variable's value.
    Here's a sample bit of code that checks if my variable = 3, then "press" the 3rd radiobutton
    ] if ( orgcnt == 3 ) then
    PDF_CONTAINER.IdeaSheetPage2.RiskAssesSubform.RiskTable.RISK_*****1.cell3.RadioButtonList .SmallRisk.rawValue = 1
    endif
    But, I'm not getting a radiobutton pressed.
    EDIT: by the way, i'm sure my summed value is coming back because I placed it in a message box & see the correct number.

  • Set Default Color For BarChart YAxis Data Values.

    Remove alert
    |
    Edit
    |
    Delete
    |
    Change type
    0
    I am new to MS Chart. I am drawing a simple bar chart with following code. My chart draws red lines, for my datapoints    (Y Axis), I want to draw, I want to set the color of remaining data points for example for 1st record (i.e. dt1) my jobData
    have value 10, my graph shows red line for 10 points, for remaining 20 points I need to show the Green Line and also for the remaining data points. Thanks in advance.
             double[] jobData = new double[] { 10, 3, 4, 5, 2, 0, 2, 3, 0, 1 };
                DateTime dt1 = new DateTime(2015, 3, 17, 8, 30, 0);
                DateTime dt2 = new DateTime(2015, 3, 17, 8, 35, 0);
                DateTime dt3 = new DateTime(2015, 3, 17, 8, 40, 0);
                DateTime dt4 = new DateTime(2015, 3, 17, 8, 45, 0);
                DateTime dt5 = new DateTime(2015, 3, 17, 8, 50, 0);
                DateTime dt6 = new DateTime(2015, 3, 17, 8, 55, 0);
                DateTime dt7 = new DateTime(2015, 3, 17, 9, 00, 0);
                DateTime dt8 = new DateTime(2015, 3, 17, 9, 05, 0);
                DateTime dt9 = new DateTime(2015, 3, 17, 9, 10, 0);
                DateTime dt10 = new DateTime(2015, 3, 17, 9, 15, 0);
                DateTime[] xData = new DateTime[] { dt1, dt2, dt3, dt4, dt5,dt6,dt7,dt8,dt9,dt10 };
                InitializeComponent();
                //Horizontal bar chart
                //Create a chart area and add it to the chart
                ChartArea area = new ChartArea("First");
                chart1.ChartAreas.Add(area);
               // chart1.x = Color.Green;
              chart1.Size = new Size(1000, 700);
                //Create a series using the data
                Series barSeries = new Series();
                barSeries.XValueType = ChartValueType.DateTime;
                barSeries.BorderColor = Color.Green;
                barSeries.ChartType = SeriesChartType.Column;
                barSeries.Color = Color.Red;
                area.AxisX.LabelStyle.Format = "HH:mm";
                area.AxisY.Maximum = 30;
                area.AxisY.InterlacedColor = Color.Green;
                area.AxisY.Interval = 1;
              //  chart1.ChartAreas(0).AxisX.LabelStyle.Format = "HH:00"
                barSeries.Points.DataBindXY(xData, jobData );
                //Set the chart type, Bar; horizontal bars
                barSeries.ChartType = SeriesChartType.Bar;
                //Assign it to the required area
                barSeries.ChartArea = "First";
                //Add the series to the chart
                chart1.Series.Add(barSeries);

    Remove alert
    |
    Edit
    |
    Delete
    |
    Change type
    0
    I am new to MS Chart. I am drawing a simple bar chart with following code. My chart draws red lines, for my datapoints    (Y Axis), I want to draw, I want to set the color of remaining data points for example for 1st record (i.e. dt1) my jobData
    have value 10, my graph shows red line for 10 points, for remaining 20 points I need to show the Green Line and also for the remaining data points. Thanks in advance.
             double[] jobData = new double[] { 10, 3, 4, 5, 2, 0, 2, 3, 0, 1 };
                DateTime dt1 = new DateTime(2015, 3, 17, 8, 30, 0);
                DateTime dt2 = new DateTime(2015, 3, 17, 8, 35, 0);
                DateTime dt3 = new DateTime(2015, 3, 17, 8, 40, 0);
                DateTime dt4 = new DateTime(2015, 3, 17, 8, 45, 0);
                DateTime dt5 = new DateTime(2015, 3, 17, 8, 50, 0);
                DateTime dt6 = new DateTime(2015, 3, 17, 8, 55, 0);
                DateTime dt7 = new DateTime(2015, 3, 17, 9, 00, 0);
                DateTime dt8 = new DateTime(2015, 3, 17, 9, 05, 0);
                DateTime dt9 = new DateTime(2015, 3, 17, 9, 10, 0);
                DateTime dt10 = new DateTime(2015, 3, 17, 9, 15, 0);
                DateTime[] xData = new DateTime[] { dt1, dt2, dt3, dt4, dt5,dt6,dt7,dt8,dt9,dt10 };
                InitializeComponent();
                //Horizontal bar chart
                //Create a chart area and add it to the chart
                ChartArea area = new ChartArea("First");
                chart1.ChartAreas.Add(area);
               // chart1.x = Color.Green;
              chart1.Size = new Size(1000, 700);
                //Create a series using the data
                Series barSeries = new Series();
                barSeries.XValueType = ChartValueType.DateTime;
                barSeries.BorderColor = Color.Green;
                barSeries.ChartType = SeriesChartType.Column;
                barSeries.Color = Color.Red;
                area.AxisX.LabelStyle.Format = "HH:mm";
                area.AxisY.Maximum = 30;
                area.AxisY.InterlacedColor = Color.Green;
                area.AxisY.Interval = 1;
              //  chart1.ChartAreas(0).AxisX.LabelStyle.Format = "HH:00"
                barSeries.Points.DataBindXY(xData, jobData );
                //Set the chart type, Bar; horizontal bars
                barSeries.ChartType = SeriesChartType.Bar;
                //Assign it to the required area
                barSeries.ChartArea = "First";
                //Add the series to the chart
                chart1.Series.Add(barSeries);
    Hello,
    Since this issue is mainly related to Chart control, I have helped you move this thread to
    Chart Controls for .NET Framework forum to get help.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • 2011 Macbook Pro External Monitor Problems

    Hi all, Looking through some of the threads, it appears that getting macbook pros to work with an external monitors is a big issue. I've just bought a phillips 27" monitor and I'm having no luck whatsoever getting my MBP to see it.  I've tried both H

  • Mini display port issue?

    Recently there has been a problem with my Cintiq/IMac. I got the "NO SYNC" from the Cintiq, re-installed Cintiq software, re-connected hardware, all the usual procedures I have done before that worked.No go, so I tried a new a new mini-display port,D

  • What Hardware do I need ?

    I have a Power Mac G4 Tower running OS 10.4.11. I also have a camcorder that only has composite video (analog) and Analog Audio. I want to be able to move movies from the camcorder to iMovie and then make DVDs to run on my G4 or another computer. I h

  • HT5622 I dowloand  ios7 but is not working FaceTime and iMessage.I tried turn off but still not working.

    I download IOS 7 I'm really dissapoint because my FaceTime and iMessage is not working.I tried turn off but is not working.:(

  • Are multiple trunks possible on a 5508 WLC version 7.0.116.0

    To date I have only ever deployed guest WLCs with one bundled channel  to  a neigboring switch. With tunneled guest traffic flow via one vlan on the trunk (management) and leaving on the guest VLAN going physcily back to the same switch. Everything I