How to display screens (tabs) based on user authentication

hi
i am new to jheadstart, i want to display screens (tabs) based on users, ie if i have screens of dept, grade, desig, group, type, master etc..
if user is admin display all the items in tab,
if user 1 then display only dept, grade, desig
if user2 then other settings....etc
how to do this pls help,,,,,
thx in adv
Kris

Kris,
If you upgrade to JHeadstart 10.1.2.2 (requires a license), you will get built-in support for user authenrication and authorization including showing tabs based on the role. 10.1.2.2. ships with a demo app that uses all these features.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • How to display filtered data based on user login

    We have a SSRS report (.rdlc) which gives the report about Online count of machines. Report is incoperayed in Asp.net.
    We have many filters in This report. Now we have to retrict the report based on user login to the application .
    For ex: report has a drop down for Regional Admin. Now if one person login to the application he has to view only his region online count.
    How can we do this in SSRS?. We have our application hosted in Microsoft Azure . Please suggest

    Hi csmbrnoc,
    In Reporting Services, if we want to filter data based on user login, then there must be some relationship between the UserID and the Region in the dataset. For example, there is a field named UserID in the dataset, and each ID map some region and the corresponding
    “Online count of machines”. In this scenario, just as Visakh suggested, we can use built-in field User!UserID to obtain UserID of the current user, then directly add a filter to the dataset as below:
    Expression: [UserID]
    Operator: =
    Value: [&UserID]
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to display the records based on user input

    Hi all,
    On the front end, there are two date fileds, for example, start and end. Whenever user enters start date and end date, i want to display those dates starting from start date to
    end date whatever the user enters.
    For example, user enters Start date : 01/15/2012  and End date : 01/19/2012
    I want to display like this *01/15/2012 01/16/2012 01/17/2012 01/18/2012 01/19/2012*
    Thanks in advance.
    Thanks,
    Pal

    Hello
    You can generate a range of dates between two supplied variables with something like
    var start_date varchar2(20)
    var end_date varchar2(20)
    exec :start_date:='01/15/2012';
    exec :end_date:='01/19/2012';
    SELECT
        TO_DATE(:start_date,'mm/dd/yyyy') + (rownum-1)
    FROM
        dual
    CONNECT BY
        LEVEL <= (TO_DATE(:end_date,'mm/dd/yyyy') - TO_DATE(:start_date,'mm/dd/yyyy') ) + 1
    TO_DATE(:START_DATE,
    15-JAN-2012 00:00:00
    16-JAN-2012 00:00:00
    17-JAN-2012 00:00:00
    18-JAN-2012 00:00:00
    19-JAN-2012 00:00:00If you want to have them in columns you'd need to set an upper limit for the number of dates and use a pivot
    SELECT
        MAX(CASE WHEN date_idx = 1 THEN dt END) date1,
        MAX(CASE WHEN date_idx = 2 THEN dt END) date2,
        MAX(CASE WHEN date_idx = 3 THEN dt END) date3,
        MAX(CASE WHEN date_idx = 4 THEN dt END) date4,
        MAX(CASE WHEN date_idx = 5 THEN dt END) date5,
        MAX(CASE WHEN date_idx = 6 THEN dt END) date6,
        MAX(CASE WHEN date_idx = 7 THEN dt END) date7,
        MAX(CASE WHEN date_idx = 8 THEN dt END) date8,
        MAX(CASE WHEN date_idx = 9 THEN dt END) date9,
        MAX(CASE WHEN date_idx = 10 THEN dt END) date10
    FROM
        (   SELECT
                rownum date_idx,
                TO_DATE(:start_date,'mm/dd/yyyy') + (rownum-1) dt
            FROM
                dual
            CONNECT BY
                LEVEL <= (TO_DATE(:end_date,'mm/dd/yyyy') - TO_DATE(:start_date,'mm/dd/yyyy') ) + 1
        ) Or failing that, you could use string aggregation like so...
    WITH dates AS
    (   SELECT
            TO_DATE(:start_date,'mm/dd/yyyy') + (rownum-1) dt
        FROM
            dual
        CONNECT BY
            LEVEL <= (TO_DATE(:end_date,'mm/dd/yyyy') - TO_DATE(:start_date,'mm/dd/yyyy') ) + 1
    SELECT LTRIM(MAX(SYS_CONNECT_BY_PATH(TO_CHAR(dt,'mm/dd/yyyy'),' '))
           KEEP (DENSE_RANK LAST ORDER BY curr),',') AS dates
    FROM   (SELECT dt,
                   ROW_NUMBER() OVER (ORDER BY dt) AS curr,
                   ROW_NUMBER() OVER (ORDER BY dt) -1 AS prev
            FROM   dates)
    CONNECT BY prev = PRIOR curr
    START WITH curr = 1
    DATES
    01/15/2012 01/16/2012 01/17/2012 01/18/2012 01/19/2012HTH
    David

  • 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);

  • How to determine Organizational Data based on User Login

    Dear all,
    How to determine organizational data based on user login in Activity transaction, currently org determination is happening after entering customer number in the transaction.
    We have used 'Responsibility' determination rule for this configuration. Now the requirement is to determine org data based on user login.
    In Org model we have assigned user to org data through a business partner. But still org data is not getting determined in the transaction.
    Please help me to trace out the problem.. your suggestions will be highly appreciated.
    Best regards
    Raghu ram

    You just have to use other organization determination rule. In your case this would be rule 10000194 (ORGMAN_12). This determination rule delivers the responsible organizational unit of the user
    User is defined as a business partner in the container attribute 'PARTNER'. If not, the system user (sy-uname) is used.
    So you have to do the following:
    - use this determination rule
    - in BP link username with employee
    - assign in PPOMA_CRM employee or user to organizational unit
    This should solve your problem.

  • How to get BP kind based on user name?

    Hi,
    How to get BP kind based on user name?
    Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
    What is BLUEPRINT table?

    Hi John,
    do you mean Type:
    1     Person
    2     Organisation
    3     Group
    or Role like
    000000     Business Partner (General)
    BBP000     Vendor
    BBP001     Bidder
    BBP002     Portal Provider
    BBP003     Plant
    BBP004     Purchasing Company
    BEA001     Billing Unit
    BUP001     Contact Person
    BUP002     Prospect
    BUP003     Employee
    BUP004     Organizational Unit
    BUP005     Internet User
    The Role can be found in BUT100.
    Regards
    Gregor

  • How to do .1x port based network access authentication through ACS

    How to do .1x port based network access authentication through ACS.

    Hi,
    802.1x can authenticate hosts either through the username/password or either via the MAC address of the clients (PC's, Printers etc.). This process is called Agentless Network Access which can be done through Mac Auth Bypass.
    In this process the 802.1x switchport would send the MAC address of the connected PC to the radius server for authentication. If the radius server has the MAC address in it's database, the authentication would be successful and the PC would be granted network access.
    To check the configuration on the ACS 4.x, you can go to http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.1/configuration/guide/noagent.html
    To check the configuration on an ACS 5.x, you can go to http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_system/5-2/user/guide/acsuserguide/common_scenarios.html#wp1053005
    Regards,
    Kush

  • Displaying alert message based on user input on input param screen

    Hi,
    Based on user input I wish to display an alert popup on my report. I
    have provided the user 2 dropdowns called sortasc and sortdesc with all
    the column names used in the report to simulate dynamic sorting.This is
    because we do not have dynamic sorting in CR XI R2. When the user
    selects same column name in both sortasc and sortdesc then the sort
    type which has priority in the record sort expert is executed. This is fine but we want an alert
    or message popup displayed so as to prevent user from selecting same
    column names.
    I tried adding an alert with the following code:
    if {?sortasc} = {?sortdesc} then true else false
    So far I have not been prompted with any alert message box.
    Let me know if there is any other option.

    Hi Shalu,
    I have created a alert and it is working fine, please follow the steps
    Create a new Alert using two static parameters and give the condition for message like :
    if {?Myworld} = {?Myworld1} Then
    'You have entered a correct word'
    else
    'This is not a correct word'
    Then create a condition like :
    {?Myworld} = {?Myworld1} or {?Myworld} <> {?Myworld1}
    Also check the check box Enabled and save the alert.  Now it will popup if the myworld is equal to myworld1 or myworld is not equal to myworld1.
    Hope this will help you
    Thanks,
    Sastry

  • Show or hide ADF custom tab based on user's role

    Hi everyone,
    I have created a custom tab on the self-service interface (OIM 11.1.1.5) which contains two sub-tabs.  I would like to show or hide one of the sub-tabs based on the role of the currently logged in user.   Does anyone know of way to achieve this?
    Thank you very much!
    Paul

    Figured it out.  Here's how to do it:
    Scenario:
    You are working in OIM 11.1.1.x.   You create a custom tab on the self-service page.  This tab should only be visible to users with a certain role, say XYZ.
    Step 1:  Create a Boolean variable in the managed bean that will be true if the user has the role, false otherwise.
    Step 2:  Create a class called CurrentUser or something along those lines that will grab the logged in user's roles and test to see if he/she has the required role.  It should set a variable within the class to true or false.  Or you can skip creating a class and put this code in your managed bean constructor so that it runs as soon as the user goes looking for the tab.  The whole point of this, regardless of how you do it, is to end up with a Boolean variable that is set to true or false depending on the role requirements.
    Step 3:  In your .jsff file (the one with the tab you want to show/hide in it), find the tab and look for an attribute named "rendered."  This will likely be located in your <af:showDetailItem> tag under your <af:panelTabbed> tag.  This controls whether or not the tab is displayed.  So set the rendered value to the value of the boolean you created earlier, like this:
    rendered=#{somebeanname.yourbooleanvariablename}"
    Hence, when your variable is false, this tab will not be shown.  If it's true, they will see the tab.  That's all there is to it. :-)

  • Displaying Datagrid Rows Based on User Login Id

    Hey Everyone,
    So the problem I am having is that I am making a product configurator and when a user logs in I want to display there previous creations in a data grid so they can select edit or reorder them....the problem I am having is for some reason I can't get the designs to show up based on specific users...here is the process i am currently using in Flex 4.5
    I create 2 tables in the database (Users and Designs)
         the id for the design is based on the id of the user that created it
    In flex I create 2 php services
         -One generated from the users table for creating a new user for the configurator
         -The other one is generated from the Design table and I use the getAllDesigns(); to display the designs in the data grid
    All of the login info is validated through php files that are used by an httpservice call
    So my idea was to run an if statement to display the designs for specific user, something like this (i know the syntax isn't right this is just to get my idea accross
    Var designId = datagrid.row.id;
    (allready have userId var)
    if(userId != designId)
         row.visible = "false"
    I have tried many different approaches but cant get anything to work
    Any Ideas would be helpful
    Thanks In advance

    Your right, i was trying to wrap my head around that idea earlier but decided to go with this option to just see if i could get this to work then work on the server side filtering...
    How would I do this in theory,
    my thinking is that i query in my php file something like
    SELECT * FROM DESIGNS WHERE DESIGNS.ID = USERS.ID;
    then take the filtered data and pass it to a xml document
    then in flex create an array list out of the xml to insert into the datagrid?
    or do you have a better idea?
    also will that information even be able to be editable because i am parsing the data through the xml?
    Thanks for any input

  • How to Generate a Report Based on User's Parameters from Web Site

    Hi, all,
    I am trying to use Oracle Developer 6.0 Report Builder to generate report based on what user types in from the web site. Since I am a novice, I am wondering if anybody would help me with the following questions:
    1. How can I create a report based on user's parameters?
    Assuming that I have 2 text fields EMPNO and DEPT on the web site, after user types in some value, how can I pass these parameters into my query, can I do something like:
    select ENAME, JOB, EADDRESS from EMP
    where EMPNO =
    some_reference_of_parameters_from_user
    or is there any other way to achieve this functionality?
    2. How can I pass a PDF format report back to user after the report is generated?
    Any help is greately appreciated!!
    Best regards.
    Judy

    Hello,
    In the Report Builder, create two user parameters, and set the parameter name, datatype, width, and default values to what you want. Modify the query and put in a where clause (e.g., where deptno = :p_deptno). When you request the report with PARAMFORM=YES on the URL, it'll generate a default parameter form in HTML and allow the user to enter in the selected parameter values. Also set DESTYPE=CACHE&DESFORMAT=PDF on the URL to get the output back as PDF.
    If you upgrade to Reports 6i, you can customize the default HTML parameter form.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to display chart region based on select list in html region ?

    Hi all,
    i'm using 4.0.1.00.03 apex version,in a page i have 2 regions one is html and another one is Chart region.in html region i have a select list and button.when user sign into my application select list have some values in that page,user select's a value and clicks on the button then chart will be displayed.my query is when user first sign into my application i want to dispaly chart region when only select list is selected and clicks on the button.can any one guide me on this.
    thnx in Adv.

    Hi yann,
    thnx for ur reply,
    i have done what u have written but i didn't meet my requirement..
    let me explain what i need exactly
    as of now my application is like this..
    i have a html region in that i have select list(P6_LIST) and go button
    and chart region.
    chart query is like this..
    SELECT your_value
    FROM your_table
    WHERE your_value = :P6_LIST
    AND ...
    how it is working??
    when user sign into my application, user can see html region with 'select list and go button' and chart region with 'no data '.
    when user select a value in select list and click on go button automatically chart region will be dispalyed with chart.
    what i wanted to change is..
    when user sign into my application, user can see html region with 'select list and go button' and no chart region
    when user select a value in select list and click on go button then only user can see chart region with chart.
    plz help me how to do it.. :)
    thnx in Adv.
    Edited by: moulani on Nov 4, 2011 12:05 PM

  • How to display screen saver every 10 seconds ?

    I want to display Screen Saver every 10 seconds as long as the user doesn't make anything on his computer.
    I did that :-
    WHEN-NEW-FORM-INSTANCE
    declare
         t timer;
    begin
         t:= create_timer('Hany',10000,repeat);
    end;
    WHEN-TIMER-EXPIRED
    if :System.MODE = 'NORMAL' then
         Host('C:\WINDOWS\system32\ssmypics.scr');
    End if;
    but in RunTime the Screen Saver's Setting appear not the Screen Saver itself ..... like shown below :-
    http://img118.imageshack.us/img118/245/errorv.png
    that's seems weird because when I run the Screen Saver directly from Start>>RUN :-
    C:\WINDOWS\system32\ssmypics.scr
    it is working nice without appearing of the setting.
    so, what's went wrong ????
    I attached the fmb file to have a look for it if you like:-
    http://www.4shared.com/file/97992483/5ddd2f8c/Screen_Saver.html
    Edited by: HanyFreedom on Apr 14, 2009 3:40 PM

    There is a built-in screensaver in windows, why rebuilt that functionality on your own? If you really need it, try
    HOST('cmd /c C:\WINDOWS\system32\ssmypics.scr');I assume that you are using forms 6i? For in 10g this will now work on the client-side, because HOST is executed on the app-server.
    Edited by: Andreas Weiden on 14.04.2009 17:45

  • How to Broadcast Control Query based on User Exit Variable

    Hi Gurus,
    How to Broadcast dashboard based on Control Query based on User Exit
    Variable to different users via mail in BW 3.5 version. Any document or
    steps to achieve this will be very helpful.
    Regards
    Vishwanath

    Hi Surendra,
    Thanks for the reply and your suggestion. It will be great if you can help me to answer the below:
    1) What exactly we mean by Control Query - Any example will be very helpful
    2) As you mentioned, yes the user exist to be written will be for user-exit variable for dynamic period selection - An Example on how to create this will be helpful
    3) Once the above variable is created, what are the steps to include this variable in the Bex Query?
    4) Once all the queries to be used in dashboard are implemented with the exit variable, how to create a variant to be used in Broadcasting?
    5) How and where to configure the email recipients (to whom this dashboard will be sent via mail)?
    6) How to set up the BW broadcaster in BW 3.5 using the control query ?( My question is though we have to send the dashboard to the users, which has multiple queries, how a single control query with variant will help us).
    Awaiting your reply.
    Thanks and Regards
    Vishwanath

  • Displaying custom content based on user's roles

    Hi experts,
    I have been asked to look for a solution to display custom content based on the current user's roles.
    Basically It would be a simple page (or several pages I don't know yet)  that displays links to others systems in the enterpise landscape. Links have to appear but they may be "desactivaded" for some users.
    So i'm thinking of a custom portal app in java that display this page embedded in an iview, a test to check the current user permissions and some css / javascript magic to do the trick.
    What do you think ? Would there be another solution that I'm missing which doesn't require development ?
    I'm open to any suggestion / technology
    Regards.

    Sounds good,
    You can also consider using Service Map iView or Workset Map iView if those links should point to other portal navigation locations:
    See more here:
    Navigation with a Service Map - Portal - SAP Library
    Navigation with a Workset Map - Portal - SAP Library
    Best Regards,
    Tal

Maybe you are looking for

  • 9/24/2013 - AIR Runtime and SDK 3.9.0.960 Beta

    Adobe AIR Beta Channel Update This beta release provides access to the latest AIR runtime and SDK (with compiler) for Windows, Mac OS, iOS and Android. Below are some of the key features and benefits of AIR 3.9.  Please see our release notes for full

  • JDBC Sender Mapping Problem

    I am using a Receive Step to start a BPM with some DB Records, the Receive Step gets the resultset with some row elements but I notice that the message namespace is missing <ns0:mt_avisoEst xmlns:ns0="urn:sap-dms:DMS_SAP_01"> </ns0:mt_avisoEst> this

  • Portege M200 Display questions

    Hi. I've just received my new M200 tablet pc, but the display is sluggy compared to my Tecra S1 display. It seems like there is something on top of the whole display which makes the picture sluggy and the colours too. This can be seen especially on w

  • Logging Changes in Org Man Infotype Data

    Hi, We currently use Auditing to log changes to PA infotypes but would also find this function useful on OM infotypes (eg IT1001, IT1018 etc).  It's possible to see who changed it last using the 'Change Information' icon, but we would like to be able

  • Problem importing into FCPX from SD card

    Hi, I'm having a problem importing some videos from a micro SD card into FCPX.  It is some helmet camera footage shot at 720P @ 30fps.  It's a .mov file. My problem is when I go to the "import media" window, I can see the files on the import screen.