How can I set roles in Forms?

I have a user granted with diferents roles, is there any posibility when he log on to the application( IN FORMS) to force him to choose with which role he would wants to work and start the application as if he had been granted only with this role?

FORMS_DDL('SET ROLE MY_ROLE [IDENTIFIED BY PWD]');
enables the given role and disables all others.

Similar Messages

  • How can I set up a form for someone to fill out on another person's behalf?

    I am trying to set up a form in which someone is asked to fill in the form for another person. Basically, we're asking people if they're still our primary contact. If they are, it's a simple blind form confirmation. If they're not, we are asking them to please tell us who is. So it will take them to a form where they can tell us who is the new contact. However, I don't want cookies for the new person to be attributed to the person that filled out the form (as that would then mess with segmentation, lead scoring/nurturing, etc). We also need to see who is the person filling out the form, so we know who the new person is replacing. So we'll need to collect the name and/or email address of the person filling out the form, in addition to the name and email address of the person they're adding.
    I know this can be done, as at a previous company we had a form that was used internally to add people who called in sales inquiries, so that we could capture them as "submitting an inquiry" as if they had just filled out a form. For example, I would fill out the form after someone called in asking for product information, but the online behavior of that person would not be attributed to me even though I filled out the form from my computer. Unfortunately, I can't recall how this was set up. Does anyone have any ideas on how this could be set up?

    Hi Abby,
    The easiest way to do this is to set up two forms:
    The first form is for your primary contact, who will submit the email address for the secondary contact and any additional contact data for the secondary contact. You can also include a field (hidden or otherwise) for the primary contact if you wish to record this form submission activity, but functionally this is not required.
    A second form which will accept the secondary contact's email address and any other contact info you'd like to capture through this process.
    The trick is that once you've got these two forms saved, you add a form processing step to the first form called Post Data to Server. In this processing step, you fill in the details for the second form, including making sure to map the secondary email address field on form 1 to the primary email address field on form 2. The URL will need to be the POST action url for the secondary form, which you can get from the integration details. You'll also need to append your SiteID and Form Name, and also a variable to disable cookies for this submission (elqCookieWrite). The final URL should be something like this:
    https://s1886.t.eloqua.com/e/f2?elqSiteID=1886&elqFormName=Alt2&elqCookieWrite=0
    My organization is 1886, so you'll have to replace this with your Site ID
    My secondary form name is Alt2, so you'll have to replace this with your secondary form name
    elqCookieWrite=0 ensures the secondary form will not try to associate the session with the ElqGUID (cookie)
    In the secondary form, make sure you have the processing step Update Contacts - With Form Data.
    Now when submitting form 1, you'll see a submission to both forms, and the contact info submitted to form 2 creates a new contact (or updates an existing one) with no ties to the current session/cookie used to submit form 1. You can add these contacts to a shared list, enter them into a separate campaign or program, or anything else you could do with a normal form submission.
    One caveat to remember though is that since this person did not submit the form, you have not technically collected any permission to contact them, so you'll have to sort that out with whatever rules apply in your area (your use case seems to be for existing customers which is generally OK, but you should still check).
    Hope this helps,
    Richard

  • How can I set the text feild in a form to print out the entire feild?

    Right now it's only printing out what shows in the box, I want the box to expand when printed and show all the text entered in the field, how can I set it to do that?

    I think that the font size has to be set in the form itself, not the FDF.

  • How can i set a form to read only when a checkbox it checked?

    How can i set a form to read only when a checkbox it checked?

    Hi,
    If you search the forums for Paul's example LockAllFields. This contains a function in a script object that you can call from the click event of the checkbox.
    Re: Saving Fillable Form as non-fillable PDF
    Good luck,
    Niall
    Assure Dynamics

  • How can I set two different emails in only one contact form?

    How can I set two different emails in only one contact form?

    To enter multiple email address with the Contact Form Widgets:
    Click the Options icon for the selected widget, then
    In the Email to box, enter multiple emails by delimiting them with a semi-colon. For example: [email protected];[email protected]
    Cari

  • How can I set the tab order in a form?

    How can I set the tab order in a form?

    Sorry. I don't mean page tabs, but the order in which form fields are selected by the tab key. In simple html there is a value called tabindex and I was just wondering if there is a way to assign this order within a portal form. I have basically recreated the form with a custom layout and adjusted the table structure to force the order I was looking for, but it would be a nice add for future versions.

  • HT201774 how can i set my on my iphone 3g, my personal e-mail address so i can check my mail when i am away form my lap top?

    how can i set upmy personalemail onmy Iphone 3g so i can read, send messages and sent picutres to my home e-mail address?
    Thanks,
    Alfredo

    Check out the User Guide http://manuals.info.apple.com/en_US/iphone_user_guide.pdf.

  • How can i set action on UITaBar and get event from that

    Hi All,
    I m doing one apps in which i have to add three UITabBarItem and this is UITabBarSystemItem.
    Now i cannot understand that how can i set action and get event from the?
    And how can i set various views on three tab bar item.
    I have to use UITabBar means i have to use UINavigationController+UITabBar
    My code id
    tabBar =[[UITabBar alloc] initWithFrame:CGRectMake(0,370,320,50)];
    tabBar.backgroundColor =[UIColor blackColor];
    UITabBarItem *search =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0];
    UITabBarItem *recents =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemRecents tag:1];
    UITabBarItem *favorites =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorit es tag:2];
    tabBar.items =[[NSArray arrayWithObjects:search,recents,favorites, nil] retain];
    tabBar.selectedItem = search;
    [myView addSubview:tabBar];
    [tabBar release];
    I add a action:
    UITabBarItem *search =[[UITabBarItem alloc] InitWithTabBarSystemItem:UITabBarSystemItemSearch tag:0 action:@selector(select:)];
    So it error: Warning -no'InitWithTabBarSystemItem:tag:action:' method fount
    So any can help me regarding it?

    Thanks RickMaddy very much.
    I read and do with sample at the View Controller Programming Guide . But when run it only view TabBar with title but haven't got any TabBarItem on it. I searched a few example about TabBar and i did, but i want do a form with a button then press on button it view a form with 2 TabBarItem on TabBar and press each TabBarItem will show correlative form page 1, page 2.
    UITabBarController *tabBarControl = [[[UITabBarController alloc] initWithNibName:nil bundle:nil] autorelease];
    tabBarControl.title = @"Tab bar";
    ViewControl1 *view1 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl1" bundle:nil] autorelease];
    ViewControl1 *view2 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl2" bundle:nil] autorelease];
    tabBarControl.viewControllers = [NSArray arrayWithObjects:view1,view2,nil];
    [self.navigationController pushViewController:tabBarControl animated:YES];

  • How can i set up an apple id to download apps without a credit card?

    I have several Ipads in school to set up for apps, but we don't have a school credit card and only want to use iTune cards. How can I set up an multiply id without using credit card details?

    How to Get Apps From the App Store Without a Credit Card
    http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    http://support.apple.com/kb/ht2534
    Why can’t I select None when I edit my payment information?
    http://support.apple.com/kb/ts5366
    If None is not available - On your computer launch iTunes and click “iTunes Store” in the left navigation pane. Click the “down arrow” next to your name at the top right side of the page and click “Account.” Enter your username and password and click “View Account” to log into your account information. Next to your Payment Type, click “Edit.” Select the “None” button and click “Done.” Confirm that your card has been removed by returning to the Apple account information screen. Under Payment Type, it should say that there is no credit card on file.
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/HT1918
    iTunes Store Accepted Forms of Payment
    http://support.apple.com/kb/HT5552
     Cheers, Tom

  • How Can I Set a Javascript Value into an Attribute of BSP PAGE

    Hi
    Can anyone tell me.
    How Can I Set a Javascript Value into an Attribute of BSP PAGE

    Hi Mithlesh,
    javascript runs on client side and you cannot assign the value to a Page attribute directly.
    As a workaround,you can use an Inputfield,hidden if required,and set the value using javascript.Then the form will have to be submit to be able to read the value in onInputProcessing and then can be assigned to any variable.
    In Layout
    <head>
    <script language="javascript">
    function pass()
       txt1 = document.getElementById("ip_mrf");
       txt.value = "hello" ;
    </script>
    </head>
    <htmlb:inputField  id="ip_mrf"
                               value="<%=mrf_number%>"
                               visible="FALSE"/>
    in onInputProcessing
    cha1 = request->get_form_field( 'ip_mrf' ).
    where cha1 is the page attribute
    hope this helps,
    Regards,
    Siddhartha
    Message was edited by: Siddhartha Jain

  • Using the States Example how can I set Selected to Maryland Without RowNumber

    Let's use the states example for the sake of everyone having
    the code in front of them. If I am returning a value from the
    database that I am writting out to the application like this
    <%out.write("STATE_NAME"); %>
    how can I set the selected value to that without knowing what
    the row number is, here is my try but I get a few error messages:
    <option spry:if="{name} == '<%out.write("STATE_NAME");
    %>'" value="{name}" selected
    ="selected">{name}</option>
    <option spry:if="{name} != '<%out.write("STATE_NAME");
    %>'" value="{name}" >{name}</option>
    I get double the states and the following in the debug box:
    Caught exception in Spry.Data.Region.prototype.processTokens
    while evaluating: Alabama == Exception:[object Error]
    Caught exception in Spry.Data.Region.prototype.processTokens
    while evaluating: Alabama != '' Exception:[object Error]
    This goes on for as many records as I have in the DB,
    Please let me know how it could be done if it could be done?

    I believe what you guys are looking for is the
    Set
    Default Row Based on Specific Column sample that is on the
    Spry
    Samples Page.
    The problem of using a spry:if="{name} ..." approach is that
    it only makes sure the form select widget is set to what the server
    thinks is the current row in the data set, but it doesn't actually
    set the current row in the data set to reflect this, so the cities
    select is out of sync cause it is defaulting to displaying the
    cities for the first row in the states data set.
    Checkout the sample I mentioned above, it will show you how
    to set up an observer where you can query for the correct row
    immediately after the data is loaded, and then set the current row
    so that everything is as expected.
    --== Kin ==--

  • How can you set Thunderbird to accept multiple attachments, particularly when selecting "email" in Windows Gallery with T'bird selected as default email

    Using Windows Gallery to send email photos - wioth each selection T'Bird opens a new email form. How can I set T'Bird to accept multiple attachments (similar to Gmail ).
    Using W'Gallery has the benefit of rteducing size of emailed pic to a few hundre kb.
    Thanks

    You best ask the windows gallery people. Thunderbird opening more than one window is based on yhow the request is made, not on Thunderbird,
    Selecting multiple files in explorer simply adds them to a mail, therefore the Windows gallery is the problem.

  • How can we set page title from resource bundle

    Hi friends ,
    how can we set page title from resource bundle,
    <%--
        Document   : MARC008Music
        Created on : Aug 4, 2008, 6:27:06 PM
        Author     : root
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
    <title>All Transaction Log Details </title>
          </head>
        <body>
            <f:view>
                <f:loadBundle basename="#{utility.resourceBundle}" var="rb"/>
                <f:loadBundle basename="#{utility.messageBundle}" var="mb"/>
                <h:form>
                </h:form>
            </f:view>
        </body>
    </html>i want set title( All Transaction Log Details ) from resource bundle.

    My problem is solved , Thanking you Sir.
    Thanks & Regards,
    Edukondalu Avula

  • How can i set end user

    HI,
    I'm very new for this BI and dba.. I need one solution regarding view ... That's after development i want to give the reports to the end user.. So how to create end user.. For example if i want give reports to HR department then how can i give that to HR.. That is how can i set this end user.. Is there any web services related issues are there else any ideas behind that .. How to create this end user...
    Regards,
    R.Gobinath.

    Hi
    If you are using Discoverer in conjunction with E-Business Suite and your company has told Discoverer to operate in what is called Apps mode then the user accounts are picked up from E-Business Suite. So in this scenario you would need to get your EBS system administrator to create the account, assign a password and then assign one or more responsibilities that have been granted permissions in Discoverer.
    In all other cases, when you are not running in Apps mode, then the user account will be a database account. As such, you would get your DBA to create the account and assign one or more roles that have been granted permissions in Discoverer.
    SUMMARY:
    When running in Apps mode, the user accounts are managed by the EBS system administrator and Discoverer understands and can work with Apps responsibilities.
    When running in non-Apps mode, the user accounts are managed by the DBA and Discoverer understands and can work with database roles.
    Hope this helps
    Best wishes
    Michael
    http://ascbi.com

  • Easy Question: How to identify user roles within form?

    Hi folks,
    I would like to display/hide button which calls static data maintenance form (from other form) based on current user roles.
    If user has role "STATIC_DATA" granted then DISPLAY button (which calls static data form), else DO NOT DISPLAY it.
    Any example, how to get user roles within form?
    Thanks,
    Tomas

    I can do it with below code:
    declare
      l_cnt number;
    begin
      select count(*)
         into l_cnt
         from user_role_privs
      where granted_role = 'STATIC_DATA';
      if l_cnt > 0 then
            -- display it
      else
         -- do not display
      end if;
    end;I think, above should work.
    Thanks,
    Tomas

Maybe you are looking for

  • Transfering data from I pod to computer to help orginize music

    Hello, I would like to know how(if possible) to transfer data(song ratings/on the go play lists)to my computer to help me orginize my music files. Thanks in advance, Doja

  • Use PC Ram in Macbook Pro(mid 2012)

    Hello there - I'm in the process of upgrade my Macbook Pro to something that is going to allow me to use Photoshop/Final Cup without it running super slow. In fact, my mac runs slow on just about anything! Down to business, I built a decent gaming PC

  • Transfer signature to InDesign (in color and white reverse)

    I scanned a signature, saved it in Photoshop. I want to copy and paste it into InDesign as a color and also as white reversing out of black. I can't get rid of the background! I am sure this has a simple solution, but I can't seem to manage. Laure

  • Trouble with ITS

    Hi , I am new to ITS server and I have a request where one button needs to be added to a screen . I have added this button at the back from screen painter and in the internet services , I have put the HTML code for this button with the right names. D

  • Ipad 2 Apple ID  - Change

    I rec'd an Ipad2 as a gift and it already has an Apple ID on it...how can I change it?