Add a "Choose Role" button on the portal page

Hello,
     I am working with portal role
     Is it possible to add a "_Choose Role_" button on the portal so that when the user enters,  they can choose the desired role or hide the others?
    I know it must be developed,anyone can help me ?

Hello:
   Atul Agrawal!
  First thank you for your suggestions. I am very sorry to disturb you a lot.
To put in the option for role selection you will have to modify logon.par. On the login page, add check for role selection.
You can use the following in order to assign the role and delete the role
roleFactory = UMFactory.getRoleFactory();
role =roleFactory.getRoleByUniqueName("PCD Location of you role");
roleFactory.addUserToRole(userID, role.getUniqueID());
//where userID id is the id of the user who is trying to login
//same way you can use deleteRole or removeUserFromRole method as required
I have some questions to ask you?
If  I must assign these roles to user in user management before they logon?
How much roles can be choose in checkbox once a time?
thank you very much!
lexian

Similar Messages

  • Is there a way to add images , text and button in the individual marquee of a carousel

    Is there a way to add images , text and button in the individual marquee of a carousel ?

    Write a custom carousel.  Usually carousel components are just ULs that use something like jQuery to rotate through the LIs.  The foundation carousel component is really just designed for some specific use cases.  Generally I would just recommend rolling your own.

  • How to remove logoff button from the Portal?

    Could anyone help me to remove the logoff button from the Portal? I am using netweaver portal 7.0 Thanks!

    Hi Michael,
    Thank you for your reply!
    Can I do it through the portal or I have to do customized programming in NWDS? Could you please show me step by step in details?
    In the future the portal will be use SSO with active directory so user does not have to login/logoff. I think the session in the server will be closed after a couple of minutes. What do you think?

  • ReturnToPortal() doesn't refresh the portal page

    In the community preference page, when finishing changing the preference, calling IPortletResponse.ReturnToPortal() closed the preference page but didn't refresh the portal page. What needs to be done to refresh the portal page so the portlet can be refreshed with the new pref data?
    ALUI 6.1MP1.
    TIA!

    This is why it doesn't work...
    There is a bug that I filed for this, basically that icon on the portlet header works for user and admin preferences... it make sense to add community preferences there too to make it all consistent.
    The problem is: community preferences behaved differently.. in 5.x, the only way to edit them was to go through edit this community... the refresh mechanism is built into the community editor.
    In g6 that didn't change... you still need to go through that route to actually update the portal with the new preferences. going through the icon does nothing. user and admin prefs will work b/c they also worked like that in 5.x.
    Basically, it's a bug b/c community prefs never worked like that... adding it to the button promoted the sense that it should work, which it never did...
    so you have to go through the edit this community route to make it refresh.

  • How to add custom link or button to task details page to open a different t

    Dear All
    In HumanTasks Workflow, On task details page, I want to add a custom link or button. Clicking on this link or button, should load a different task details page.
    The exact business usecase is like this:
    1. We have some human tasks with very detailed payload like about 100 attributes. When the task is submitted for Approval, we send notification emails. These emails shows the Task Details with all these 100 attributes along with standard Approve, Reject buttons etc. NOW in addition to this, we want to add extra custom button/link like Custom View. When we click on this buton or link, it should replace the task details page with the Custom task details page contents. The reason is most of the managers/approvers access their emails on smart phones like iphones. So in these phones, seeing full task details (100 attributes) is very tedious. So we want to provide a simplified view of same task with very minimum attributes like about 10 with Approve, Reject buttons. Now this compact view details will have a button called Detailed View on click on which it loads details page.
    So we want to have 2 pages for a task:
    taskDetails1.jspx -> Has all 100 attributes with a custom button/link called "Compact View". Click on Compact View switch to below page.
    taskCompact1.jspx -> Has only 10 attributes with a custom button/link called "Detailed View". Click on Detailed View switch to above page.
    1. I tried implementing this using the VacationRequest sample where the payload is like creator, startdate, enddate, reason. I already have taskDetails1.jspx page, which shows this information in the email body.
    2. I want to add another button to taskDetails1.jspx so that when I click on it, I want to load a different page like taskCompact.jspx which has only say creator, reason.
    I already added a link and gave the url with parameters like taskId, taskContext etc which I got from bindings, but nothing is displayed when I click on custom button. The taskId, context values are comming correctly in the url.
    So bottom line, what is the URL that I can provide in the task details page, to load a different task details page contents. I want to pass other taskdetails jsp details.
    Please let me know, if there is any other approach to implement this usecase.
    Thanks in advance
    Ravi Jegga

    Hi,
       I am not sure if you can add your own custom buttons to the application tool bar because your table control is in a sub screen area in a standard screen so the menu area would be controlled by the standard screen and not the subscreen , but along side the table control you can give buttons for scrolling and handle the same in the subscreen if you check the FM EXIT_SAPLMEREQ_002 it has a variable IM_UCOMM which would have the ucomm set in the subscreen so here you can handle your user command to scroll on the table control.
    Regards,
    Himanshu

  • What is the Web Dynpro tab on the portal page?

    Newbie here...
    I am confused between NDWS and the Web Dynpro tab on the portal page.  As I don't have access to either right now, I need to know what is required by a Portal Content Admin to maintain an application.  The Basis people do the JCO setup.  Those are the only tabs I have seen when using the Web Dynpro tab from the portal, not NDWS.  Seeing as I don't have access to either tool, and I have to ask for what I need and I don't know what I need...  Been there?
    I guess my question is the use of the two tools.
    Thanks,
    Amy Smith
    Haworth, Inc.

    Thanks so much for a quick response!
    So, the Web Dynpro Content Admin is normally a part of the content admin role.  Hmm... I get a "you are not authorized" when I click that tab, even though I can do iViews, etc. and was told I have the content admin role.  So if no one edited the rights of the content admin, I should be able to get into Web Dynpro Content Admin tool.  Is this so?  Is there any special user config, check box, etc in addition to the role?
    Is the Dynpro content admin tool useful for content admins or content developers?
    My Basis person does not want the content admin to be able to change JCO settings.  Is there a way to give the content admin rights to everything in the WDCA   except that? 
    Thanks again.  I am a J2EE developer who volunteered to take content admin and content development roles and am trying to figure out what has been done here and what needs to be done.  On top of that anyone who has been involved claims "I know nothing..."  until I ask specific questions.  It's just hard to know what the specific questions are.
    I know, training...  No money. Sigh...  I am good at doing tutorials and reading manuals and experimenting, however, I need access to the right tools and permissions first.
    Thanks again.
    --Amy Smith   Haworth, Inc.

  • I'm having trouble with certain buttons on the Ebay pages.

    I'm having trouble with certain buttons on the EBay pages. Like enlarge, other pictures,add to my watch list, etc. this happened after I upgraded to 8.0. I have tried to upgrade java but the java console will not work ?? tried all this in my other browser and all works fine. What do I do? Thanks

    If it happens again then try to reload the website or clear the cache and the cookies from that website.
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    *http://support.mozilla.com/kb/Deleting+cookies
    *http://support.mozilla.com/kb/How+to+clear+the+cache

  • How to get the Portal Page name from PLSQL?

    Can anyone tell me how to get the portal page name from my dynamic page using plsql?
    Apparently you can get the page id and work it out from there, but my calls to get the page id are not returning any values anyway.
    My code for attempting to get the page id is below.
    <oracle>
    declare
    v_pageid varchar2(30);
    begin
    v_pageid := wwpro_api_parameters.get_value('_pageid', '/pls/portal30');
    htp.print('Page is '|| v_pageid);
    end;
    </oracle>
    Ideally I'd actually just like to get the page name. Is there a straightforward way to do this?
    Thanks in advance!
    Sarah

    Few clarifications -
    1. wwpro_api_parameters cannot be used to get default portal
    page parameters such as '_pageid', '_dad', '_schema' etc.,
    2. Page information can be obtained through any components which
    are available in that particular page. For example, in case of
    dynamic page, we need to publish it as a portlet and add it to the
    page. This process creates necessary packages in the DB, but we
    will not have access to the portlet methods.
    So, I would prefer creating a simple DB provider & portlet and access
    page title from its show method as follows -
    //Declare local variable l_page_id, l_page_title as varchar2
    select page_id into l_page_id from wwpob_portlet_instance$ where
    portlet_id = p_portlet_record.portlet_id and
    provider_id = p_portlet_record.provider_id;
    select name into l_page_title from wwpob_page$ where id=l_page_id;
    More information on DB provider can be found at
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/understanding.database.providers.html
    Secondly, usage of wwpro_api_parameters.get_value method is
    incorrect. This method expects two arguments -
    <ul>
    <li><b>p_name : </b> The name of the parameter to be returned.</li>
    <li><b>p_reference_path : </b> An unique identifier for a portlet instance on the current page.</li>
    </ul>
    p_reference_path would be something like 99_SNOOP_PORTLET_76535103 and not some type of path as its name suggests.
    The following code fragment fetches all parameters available
    for a portlet.
    Note : Copy this code into 'show' method of your portlet.
    //Declare l_names, l_values as owa.vc_arr
    * Retreive all of the names of parameters for this portlet
    l_names := wwpro_api_parameters.get_names(
    p_reference_path=>p_portlet_record.reference_path);
    * Retreive all of the values of parameters for this portlet
    l_values := wwpro_api_parameters.get_values(p_names=>l_names,
    p_reference_path=>p_portlet_record.reference_path);
    //Loop through these arrays to get parameter information
    htp.p('<center><table BORDER COLS=2 WIDTH="90%" >');
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.tableData(wwui_api_portlet.portlet_heading('Name',1));
    htp.tableData(wwui_api_portlet.portlet_heading('Value',1));
    htp.tableRowClose;
    if l_names.count = 0 then
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.p('<td COLSPAN="2">'
    ||wwui_api_portlet.portlet_text(
    'No portlet parameters were passed on the URL.',1)
    ||'</td>');
    htp.tableRowClose;
    else
    for i in 1..l_names.count loop
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.tableData(l_names(i));
    htp.tableData(l_values(i));
    htp.tableRowClose;
    end loop;
    end if;
    htp.p('</table></center>');
    Hope it helps...
    -aMJAD.

  • I am trying to delete pages from a PDF file. I opened the bookmarks, selected the pages to delete and choose Edit Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    I am trying to delete pages from a PDF file. I opened the bookmarks in the PDF file, selected the pages to delete and choose Edit > Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    Resolved

  • How can I disable the previous button in the first page and the next button in the last page?

    Hi all,
    I have created a new skin for a webhelp by modifying the layout and the buttons. However, I am not able to find a way where in we can
    disable the previous button ini the first page of the webhelp and hte the next page in the last page of the webhelp. If both the next and previous button is visibile in the first and last page, it is sort of misguiding the user.
    I am using Robohelp 9.
    Please advice.
    Thanks,
    Parag

    I think you are mixing Previous and Next in a browse sequence and the Previous and Next that you get in the browser itself.
    In a browse sequence, they are automatically disabled at the start and finish. When in the first topic in the sequence only Next will be enabled, when in the last topic only previous will be enabled.
    Previous and Next in the browser are working on the topics your user has viewed which is not the same thing.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • An error occurred during translation of your HTML master page. For more information, please navigate to the master page by clicking the preview button in the Master Page Gallery or directly typing its URL

    I apply theme before singing all users into application ,now  visitor/member are not affected color text so we are reapplying themes 
    I am not able to reapplying SPColor /my site Host template "  An error occurred during translation of your HTML master page. For more information, please navigate to the master page by clicking the preview button in the Master Page Gallery
    or directly typing its URL" while applying theme i am getting error
     

    is it your public site/ community site or team site?
    what level of subscription you have?i would say try to delete the site and try to create a new.
    http://community.office365.com/en-us/forums/154/t/147705.aspx
    are you able to open the site in the sharepoint designer?
    or try to send them the private message to the support team.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Disable a button of the include page

    I am trying to disable a button on the include page using javascript's document.form.button.disable=true function. It works fine if I see just the include page in the browser but if I see the whole jsp page along with the include page, the button is not disabled. Can anyone help me here.
    Thanks in advance,
    snd

    The reason for this is due to the fact that the include page behaves like a component when the main page is loaded. This makes the attributes of the include page available to the main page, but restrictions are imposed on the realization of conditions applied on the include page when the main page is loaded. This results in the button becoming enabled.
    Suggest reworking on the logic or to handle the button in JSP itself.

  • Move button to the next page with his function.

    Hello, is the any way to move a button to the another page with his functions?
    I can't creat a new button, because I need all the function that contains the button original. I use it now, but it is not ok for to change te page because it has not the paramater location.... :
            var newAddRect=[addRect[0], addRect[1] + delta -1, addRect[2],addRect[3] + delta -1];
            btnAdd.rect = newAddRect;
    I saw the propierty: button.page, but is only for read.
    I know about the propierty Action of the button, and I know that I could assign the code... but I descarted because it's will generate a recursive code....
    Can I use in the button.Action the call a trusted function ?
    Thank you!
    Regards.

    Thank yoy try67 !
    I am trying this way, now I am creating a new button, and I am trying to put, all the code of the original button in one function.
    And, when I am creating de new button  btn:
    var btn = this.addField(name, type, page, newAddRect)
    btn.setAcion("MouseUp","myFunction()");
    this not works...
    the function is in one file in:
    C:\Documents and Settings\user\Datos de programa\Adobe\Acrobat\9.0\JavaScripts\myFile.js
    and the contains of the function is a simple alert.....
    Any idea...¿?
    Thank you!
    Regards,
    Xavi Marín.

  • Error when trying to run UCM from browser -The portal page for your Content

    Hi
    When I try and run the UCM in a browser using "http://localhost/idc", it showing
    "The portal page for your Content Server needs to be rebuilt. Start the WebLayout Editor as a standalone application and select Update Portal... from the Options menu."
    I did see a previous message that says to go to Weblayout Editor Applet - Options - Build Home Page - Update -Ok, but I was not able to see the Build Home Page option in the drop down.
    Any ideas what may be causing this issue?
    Thanks in advance for your help
    Cheers
    Sylvia

    Hi Srinath
    Thanks for your reply.
    Commenting out the following lines still does not fix my problem.
    <div align=center><b>Welcome to UCM10g for SIF DEV</b></div><br>
         <$if IsLoggedIn$>UserName = <i><$UserName$></i><br><$endif$>
         <$if IsDynamic$>Current Time = <i><$dateCurrent()$></i>
         <$else$>This is a static page.
         <$endif$>
    I have installed this product on two environments following the same kind format.
    In our dev environment I am able to type in the following to get to the Welcome to Content Server Page
    http://devenv/idc/
    In the other environment I use the following and I get that the error "The portal page for your Content Server needs to be rebuilt. Start the WebLayout Editor as a standalone application and select Update Portal... from the Options menu."
    http://testenv/idc
    So the only way to get to the Content Server Page is to type the full path as below which I don't want to do, because I want the welcome screen to appear first.
    https://testenv/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=HOME_PAGE&Auth=Internet
    Is there a way I can configure the application to get to my welcome screen instead of getting the error message detailed above?
    Thanks
    Sylvia

  • What happen to itunes download button on the download page? I can't download itunes by clicking the button. It seems not clickable

    I tried to download itunes to my new laptop that run on Windows 8 64-bit but seems like the download button on the download page is just an image which is not clickable. I tried on my old laptop that run on Windows 7 Home Premium, the button still as an image which is not clickable. Anybody face the same issue? How you solve it?

    See the Further Information area of Troubleshooting issues with iTunes for Windows updates for download advice and direct links if required.
    tt2

Maybe you are looking for

  • How to enable create user option in portal under user administration?

    Hi, In Portal, in user administration tab, always the create user and Copy to  New user option is disabled, how can i enable those? -Siva

  • My iPad is disabled and I cannot connect to itunes - help

    I am trying to connect my disabled iPad to itunes to reset the forgotten password. As suggested in another dicussion I have tried unplugging the USB and holding the home button on the iPad for 10 seconds and then replugging the iPad into the computer

  • How do I edit my ID?

    The account I had for iTunes and iCloud is no longer active. I've updated my iTunes can't seem to figure out how to do iCloud.

  • Acrobat x pro crashes (error 6) under domain user account

    Acrobat X Pro (installed under CS6 Suite) crashes when run under a domain users account (receives error 6, uninstall/reinstall product). I've done this many times with the same result. My feeling is that the problem is related to permissions/rights i

  • Oracle SOA support for these protocols

    Not sure if anyone knows but what component in the Oracle SOA stack or how would the SOA stack support: 1) OFTP 2) MFT 3) Connect:Direct Can't find anything in the documentation about this. Thanks