Showing/Hiding Dashboard Prompts dynamically based on User logged on

Hi
I have query reg a showing/hiding dashboard prompts based on Users logged in.
What is the best way???
Please help
And also anothe quick question
Is there a way that we can change the Label of Dashboard prompt "ABC" for few users and "DEF" for other users
Thanks in advance
Cheers

Hello,
Using guided navigation properties for section, we can achieve your first requirement.
How many prompts to be shown?
depends on that number, you have to create those many reports in answers like,
take one column to criteria and change functionaityt to case when 1=0 then Markets. Region else user() end
apply filter on this equals to UserA (for userA), say ReportA
for UserB filter has to change to UserB, say ReportB...etc
Now, add all the prompts to dashboard, but each section (dashboard object) for each prompt.
Go to section properties of each and select guided navigation property. The section which is holding the PromptA (should be shown to userA) then browse the reportA for guided navigation and click ok
LIke this do for all prompts.
Hope you understood...
if any queries ask me..
And for 2nd Q, in prompt, you have Select captio option which is the last option for all prompts,
Write something there and check

Similar Messages

  • How to configure the schema name dynamically based on user input.

    configure the schema name dynamically based on user input.
    For ex:
    We have two schemas:
    Schema1  - base schema having 15 tables.
    Schema2 -  tables which is specific to modules. Having only 10 tables which is also available in Schema1
    Login to application using Schema 1
    Access a particlular module and select the country. Here country selection is identified.
    Based on the country selection, we need to connect the schema respectively.
    If the user selects France --> It should connect Schema1
    If the user selects Germeny --> It should connect schema2.
    Used: Eclipselink

    You may want to have a different persistence unit for each country, then you just need to switch persistence units, and can put the schema in your orm.xml file.
    You may also want to investigate EclipseLink multi-tenant support,
    http://www.eclipse.org/eclipselink/documentation/2.5/jpa/extensions/a_multitenant.htm
    You can the schema in a persistence unit in code using a SessionCustomizer and the tableQualifier.

  • How to add column dynamically based on user input in oracle?

    **how to add column dynamically based on user input in oracle?**
    I am generating monthly report based on from_date to to_date below is my requirement sample table
    EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE | 01-OCT-12 | 02-OCT-12 | 03-OCT-12
    100001.............John...........02-OCT-12...............6
    100002.............chris...........01-OCT-12...............4
    Based on user input, that is, if user need the report from 01-OCT-12 TO 03-OCT-12, i need to add that dates as column in my table, like 01-OCT-12 | 02-OCT-12 | 03-OCT-12....
    below is my code
    create or replace
    procedure MONTHLY_LVE_NEW_REPORT_demo
    L_BUSINESS_UNIT IN SSHRMS_LEAVE_REQUEST_TRN.BUSINESS_UNIT%TYPE,
    --L_LEAVE_TYPE_CODE           IN SSHRMS_LEAVE_REQUEST_TRN.LEAVE_TYPE_CODE%TYPE,
    L_DEPARTMENT_CODE IN VARCHAR2,
    --L_MONTH                    IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
    L_FROM_DATE IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
    L_TO_DATE in SSHRMS_LEAVE_REQUEST_TRN.LVE_TO_DATE%type,
    MONTHRPT_CURSOR OUT SYS_REFCURSOR
    AS
    O_MONTHRPT_CURSOR_RPT clob;
    v_return_msg clob;
    BEGIN
    IF (L_BUSINESS_UNIT IS NOT NULL
    AND L_FROM_DATE IS NOT NULL
    and L_TO_DATE is not null
    -- AND L_DEPARTMENT_CODE IS NOT NULL
    THEN
    OPEN MONTHRPT_CURSOR FOR
    select EMPLOYEE_CODE, EMPLOYEE_NAME AS NAME, DEPARTMENT_CODE AS DEPARTMENT,DEPARTMENT_DESC, CREATED_DATE,
    NVL(WM_CONCAT(CL_RANGE),'') as CL_TAKEN_DATE,
    case when NVL(SUM(CL2),0)<0 then 0 else (NVL(SUM(CL2),0)) end as CL_BALANCE,
    from
    SELECT DISTINCT a.employee_code,
    a.EMPLOYEE_FIRST_NAME || ' ' || a.EMPLOYEE_LAST_NAME as EMPLOYEE_NAME,
    a.DEPARTMENT_CODE,
    a.DEPARTMENT_DESC,
    B.LEAVE_TYPE_CODE,
    B.LVE_UNITS_APPLIED,
    B.CREATED_DATE as CREATED_DATE,
    DECODE(b.leave_type_code,'CL',SSHRMS_LVE_BUSINESSDAY(L_BUSINESS_UNIT,to_char(b.lve_from_date,'mm/dd/yyyy'), to_char(b.lve_to_date,'mm/dd/yyyy'))) CL_RANGE,
    DECODE(B.LEAVE_TYPE_CODE,'CL',B.LVE_UNITS_APPLIED)CL1,
    b.status
    from SSHRMS_EMPLOYEE_DATA a
    join
    SSHRMS_LEAVE_BALANCE C
    on a.EMPLOYEE_CODE = C.EMPLOYEE_CODE
    and C.STATUS = 'Y'
    left join
    SSHRMS_LEAVE_REQUEST_TRN B
    on
    B.EMPLOYEE_CODE=C.EMPLOYEE_CODE
    and c.EMPLOYEE_CODE = b.EMPLOYEE_CODE
    and B.LEAVE_TYPE_CODE = C.LEAVE_TYPE_CODE
    and B.STATUS in ('A','P','C')
    and (B.LVE_FROM_DATE >= TO_DATE(L_FROM_DATE, 'DD/MON/RRRR')
    and B.LVE_TO_DATE <= TO_DATE(L_TO_DATE, 'DD/MON/RRRR'))
    join
    SSHRMS_LEAVE_REQUEST_TRN D
    on a.EMPLOYEE_CODE = D.EMPLOYEE_CODE
    and D.LEAVE_TYPE_CODE in ('CL')
    AND D.LEAVE_TYPE_CODE IS NOT NULL
    group by EMPLOYEE_CODE, EMPLOYEE_NAME, DEPARTMENT_CODE, DEPARTMENT_DESC, CREATED_DATE
    else
    v_return_msg:='Field should not be empty';
    end if;
    END;
    my code actual output
    EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE
    100001....................John............02-OCT-12.................6
    100001....................chris...........01-OCT-12.................4
    how to add column dynamically based on from_date to to_date?
    Thanks and Regards,
    Chris Jerome.

    You cannot add columns dynamically. But you can define a maximum number of numbers and then hide unused columns in your form useing SET_ITEM_PROPERTY(..,VISIBLE, PROPERTY_FALSE);

  • Dynamic variation of prompt clause based on user selection

    Hi,
    I would like to know if there is any possibility to change the query to have 'IN' clause or '=' clause based on user prompt selection.
    Say, if user enters single value for a prompt, the query should have = clause and when enters multiple input, the query change to IN clause.
    HummingBird tool has the capability to dynamically change between = and IN based on the prompt selection.
    There seems to be some issue in performance because of the IN clause we’ve used while passing single prompt value when compared to Hummingbird tool.
    Is it possible in BI Publisher???

    Hi ,
    It is not possible to select the IN or = based on Prompt selection directly..
    You can Use IN..that will work as = also..
    Thanks,
    Ananth

  • How to report with different time zone dynamically based on user's account?

    Hello
    I am wondering is there a way to change the report's date & time data based on user's locale setting in OBIEE?
    Let's say the user log in to OBIEE with eastern time zone setting. The data that's in the database is storing a transaction of $400 at 1am Pacific time.
    So when this user run a query which does something like 'select date, transaction, amount from date, transaction, sales where this = that', it should display the $400 amount done at 4am eastern time instead of 1am pst.
    What I have done is to have data stores in date dimension to be UTC time, and I have also changed the data type of the date column to be 'local time zone'. DB is Oracle DB 11G now.
    Now this query works perfectly well in the DB as long as I run the following commend first:
    Alter session set time zone = 'whatever my time zone'
    and then
    Select date, transaction from tables..
    The date displayed will automatically be converted into different time zone..
    Since everything is working nicely from Oracle DB level, I need to know how to make it work when OBIEE sends the same query down to the DB..
    I know that, probably I will have to enter the above alter session commend in the connection pool, however, I can't hardcode the time zone value.
    I also don't want to store user's time zone in the user table because these users travels a lot. So even if his table setting is EST, but at a given day he can be traveling to pst time zone and view reports.
    Is there a way to dynamically set the time zone based on user's account locale setting?
    Let me know if you guys have implemented something similar or not
    Thanks

    garuda wrote:
    Hello Sarvan
    I have already done that part at the DB level and it is working perfectly with alter session commend before the query.
    My question is, how do I configure OBIEE so that before each user runs a report from BI, the alter session commend will be fired with each user's personal locale time zone setting passed through so that each user will be able to view data according to their different time zone?did you tried with Connection scripts(Execute On connect) in Connection pool.write ur Alter commend to Change Time Zone in this script box.

  • Hide or show column from a report region based on user logged in

    Hi,
    I have this criteria, where I need to display a column on a report page but depends on the users logged in ( APP_User).
    On the field(column page) there is the Conditional Display option
    Conditional Display
    Condition Type: I choose the option where "item value in Expression 1 = expression 1
    *Expression 1*
    App_USER
    *Expression 2*
    I need to add 4 user names here that they allowed to view that column
    My question is how to list the names in expression 2 field, it worked when I added one name, but when I listed 4 names separated by comma, it didn't work.
    I appreciate any help or any solutions from you.
    Thank you.
    Sofia

    If you use "Text in Expression 1 is contained in the Value of Expression 2" then you can provide a comma-separated list. The only thing to watch out for is if you have a user "Bob" and a user "Bob Smith" then you will get a match on "Bob Smith" for the user "Bob"

  • Data in application based on User logged in

    Hi,
    We have a requirment in our project in which we need to prefill few fields of all pages of application based on the user logged in. The required information to be populated in application is available in database table.
    When the page is gettign loaded for the first time the databse has to queried and the forms have to be prefilled. One more requiremtn we have is to restrict the data in ADF Read only tables to that specific user.
    Thanks,
    Manasa.

    Hi,
    have a look at SRDemo, which uses a managed bean n session scope for the user specific information. Same could be used to set tables to read only (e.g. checking if user has a specific role granted). So the usecase you mention seems to be easy to achive with JSF on-board functionality
    Frank

  • Modify Dynamic Prompt Values based on User Name

    Hi,
    I did some searching for this issue on the forum and could not quite find anyone with the same problem.  If I missed something, please except my apologies in advance.
    I have created a report within Crystal Reports 2008 with dynamic prompts.  The report pulls possible values for the report directly from my database (MS SQL 2005).  This works well.
    I have deployed the report, with eclipse, under tomcat using the free JRC components provided by SAP.
    This is a financial report which allows users to view the budget of a department.  Each user will have one or many departments that they should have access to.  Not everyone sees the same departmental information.  I have a table that contains the user name of each individual and the department code they should have access to.
    One of the dynamic parameters I have in the report now lists all department codes.  Would it be possible to pass to the report a user name that would limit the listing within the department code parameter to only those departments the user name has access to (as specified in the security table I have setup for this)?
    I need to do this within the JRC and not the Business Objects EDGE server.  With this in mind, I do not believe I can use any of the RAS components of the JRC.
    Thanks, in advance, for any advice or help you may be able to provide,
    Dave

    Moved to Java SDK forum where the JRC is answered.

  • How to show pages based on user logged in adf security ?

    Hi All,
    JDev ver : 11.1.1.4.0
    I have three Roles MANAGERS, ADMIN, ANALYST with users in each role.
    And i used form based authentication. There are seperate screens for each user, i want to show according to the user entered with Roles.
    How to Configure these roles in Resource Grants and what should be done in login action..
    For me the page now going forward, it remains in the login page itself
    How to do that ?
    thanks,
    Gopinath

    Hi..
    try out following sample
    http://andrejusb.blogspot.com/2011/05/oracle-webcenter-11g-ps3-adf-security.htmlalso check this >http://andrejusb.blogspot.com/2009/01/practical-adf-security-deployment-on.html

  • Dynamic column based on user logged in

    Hi,
    I'm implementing Sales analytics and I have a requirement for a custom report.
    The custom report has two columns, Employee and Opportunity revenue.
    To start with, the employee column must display the logged in user. On drill down, it must show all the employees whose positions are child positions to the logged in user's position, and so on.
    Any pointers on how to accomplish this using the w_position_d and w_position_dh tables.?
    Thanks,
    Seetharam
    Edited by: Seetharam on Oct 7, 2009 1:30 PM

    Hi
    You can use :USER variable for showing only the user who logged in.....(by keeping a filter in the report) and for the drill ...if there is no hierarchy for postion in the rpd u need to create one so that it drills as required...
    regards

  • HTML Tile loaded dynamically based on user interaction is invisible

    When I include an HTML Tile in my application XML file, it shows up fine.  When I load it dynamically, it doesn't throw a runtime error but it's invisible.
    Thoughts?
    Thanks in advance!

    Here's how I'm loading the tile:
    private function onDataGridSelectionSignalReceived():void
        trace("onDataGridSelectionSignalReceived");
        //To read HTML tile from Catalog
        var htmlTile:ITile =  mosaicApp.loadedCatalogs[0].tiles[4]; 
        htmlTile.visible = true;
        var shellPanelParent:IShell = mosaicApp.shell;
        //Itegrate main panel
        for each (var mainPanel:IPanel in shellPanelParent.panels)
            //Iterate content panel
            for each (var contentPanel:IPanel in mainPanel.panels)
                //we are reading existing message tile due to panel alignment issue
                //and this will be again added to the panel as last component.
                var messageTile:ITile = contentPanel.removeTile(contentPanel.tiles[1]);
                //To add HTML tile into panel
                contentPanel.addTile(htmlTile as ITile);
                //To add Message tile into panel
                contentPanel.addTile(messageTile);
                //To remove SearchTile from panel
                contentPanel.removeTile(contentPanel.tiles[0]);
                break;

  • How to get Logo in report dynamically Based on user login?

    requirement is like this:
    same report format will be used by 3 different users, but the different logo should appear based on their login..

    place all 3 images in the template, then wrap an if statement around each. something like:
    <?if:userLogin='User 1'?>image goes here<?end if?>
    if that doesn't work try sticking each in a table with no border and doing the same with the if statements

  • How to forward action based on user logged in ?

    Hi All,
    Jdev Ver : 11.1.1.4.0
    I am using Adf security, with form based authentication..
    I have written login action in managed bean , and forwarding page using the based on url.
        public String doLogin() {
            String un = _username;
            byte[] pw = _password.getBytes();
            FacesContext ctx = FacesContext.getCurrentInstance();
            HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
          String loginUrl = null;
            try {
                Subject subject = Authentication.login(new URLCallbackHandler(un, pw));
                weblogic.servlet.security.ServletAuthentication.runAs(subject, request);
                SecurityContext sec = ADFContext.getCurrent().getSecurityContext();
                System.out.println("Profile :: "+sec.getUserProfile());
                System.out.println(sec.getUserName());
                System.out.println(sec.getUserPrincipal());
                for(String role : sec.getUserRoles()){
                  System.out.println("Roles :: "+role);
                System.out.println(JSFUtils.resolveExpression("#{securityContext.userName}"));
                if(un.equals("john.doe")){
                  //loginUrl="main";
                  loginUrl = "/adfAuthentication?success_url=/faces/main";
                }else{
                  //loginUrl="test";
                  loginUrl = "/adfAuthentication?success_url=/faces/test";
               // loginUrl = "test";//"/adfAuthentication?success_url=/faces/main";
                HttpServletResponse response = (HttpServletResponse)ctx.getExternalContext().getResponse();
                sendForward(request, response, loginUrl);
            } catch (FailedLoginException fle) {
                FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password", "An incorrect Username or Password was specified");
                ctx.addMessage(null, msg);
            } catch (LoginException le) {
                reportUnexpectedLoginError("LoginException", le);
            return null;
        }Now i want to return some action, not using the URL. and sendforward
    any suggestions please ?
    thanks
    Gopinath

    The application is created without configuring the security, later at the end we are doing the security configuration.
    I used formbased authentication , there are 3 roles for the users, based on the users after login action i need to show the screen.(no common screen, each screen is different for each users,)
    I used executeWithParams for executing some VO's before the page loads, if i use the two or more outcome actions in login action, its not rendering the corresponding page and it remains in the same page.
    in between i have to check for user in roles , so based on that i have to set the outcome. find my above login action code.
    This is my use case, tell me suggestions and any idea please.
    thanks
    Gopinath

  • How to set a value in dashboard prompt based on user id

    Hi
    i have a requirment like i need to set a dashboard prompt value based on user's login.i.e.if i login as administrator
    the adminstrator is belongs to circle(my requirment)then the circle name willbe displayed in dashboard prompt .
    if any idea pease help me.
    thanks

    Thanks for yor reply.please you can tellme clearly how to set use 'NQ_SESSION.USER' to set the value to logged in User.i.e i have circle table in that users and circle names will be there.it is teradata database.so how can i set that in to the dashboard prompt and one thing along with that prompt the follwing prompts will be there
    mobile no<>
    date<>
    circle name<"user">
    this is my requirement so please help me step by step what to do for achiving this.
    thanking oyu

  • How to cache columns that are dashboard prompts?

    Hi,
    I have a few columns in a table that are defined as dashboard prompts. The values in a particular column in the dashboard prompt are constrained based on the value selected in the previous dashboard prompt. Once a user logs in he/she can see only the data based on his role.
    How do I cache the dashboard prompt table (columns of which are defined as dashboard prompts) and the security table (which determines the user's role and finally determines the data level security) so the user does not have to wait too long for the landing page to show up once he logs in.
    Thanks for inputs.
    Edited by: user613817 on Oct 22, 2008 11:16 AM

    Here is how you seed the cache:
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1_16.html
    regards John
    http://obiee101.blogspot.com

Maybe you are looking for

  • UA.bat hangs in OBIEE 11.1.1.6.2

    Hello, Same problem as here: UA.bat is not working on OBIEE 11.1.1.6.2 version I did a fresh installation of OBIEE 11.1.1.6 on a Windows Server 2008 R2 Standard 64 bit (I installed the 64bit version) and patched it to 11.1.1.6.2. When trying to upgra

  • Remove Header when running report with ALV output

    Hi, We are running ITS Version 6200.1022.63326.3, Build 84960 connecting to R/3 Enterprise 4.7 on 6.40 Kernel Patch 196. I have a situation where I run a report through ITS, starting with a selection screen, I can remove the header part of the ITS ge

  • Pringting a form as print page

    Hi guys, I am facing a problem and I am searching for it for long time, but no luck. I am creating a simple iView with Input and output form, i have added a print button to print the OUTPUT form. But when i print the output form, it is printed with a

  • TS4083 How do I configure emails to appear read in both an iPhone and on my PC

    Once I read them on my iPhone they show as read there, but they're not updated as read if I then access the emails on the iPad or PC

  • What is GPIB? If I have a BNC board or RS-232C, do I still need a GPIB?

    I want to use LabView to control an ESP100 Motion Controller/Driver. I've downloaded VI's that perform all the commands through a GPIB. I don't know what a GPIB is. I have a BNC board and RS-232C port; can I use these instead of a GPIB?