How to get user_id FND of a page of the OFA

Hello

I want to get the user_id DNF of the user who opened the OAF of the controller page. How can I get it. Also, how can I see all the attribute names that I use in the controller. I see that I can use paramOAPageContext.getParameter ("attribute"). Where can I get a list of all attribute names?

Thanks for your help.

I want to get the user_id DNF of the user who opened the OAF of the controller page

pageContext.getUserId ();

Thank you
-Anil
http://oracleanil.blogspot.com/

Tags: Oracle Applications

Similar Questions

  • How to get rid of annoying mini page when the tab Overview

    When I put the mouse on a tab titled a picture of the web page of this tab is displayed. When you close a tab you must wait until this image disappears before you can close the tab. I can't find a way to remove this annoying feature.

    This isn't normal behavior for Firefox; Maybe it's a characteristic of an add-on that is installed in your browser. To turn off, try the instructions to disable or remove modules or extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems.

  • How to get number of a character Page?

    Currently I get a character by CreateOutlines Page

    Dim oaPols = oChar.CreateOutlines (False)

    Download oaPols (1) page of the object.

    But sometimes Indesign was the crash by this code: Dim oaPols = oChar.CreateOutlines (False)

    How to get number of a character Page?

    Willi Adelberger wrote:

    Why do you do the contours? It should NEVER be done in InDesign!

    Hey Willi,

    the OP is trying to find a method to get the page name of a character given somewhere on a page or on a spread and use a VB-Script scripting method.

    The False parameter in the method indicates that the character will be duplicated on top of the character as an outline object.
    In the user interface you select a character and press and hold the ALT key when you use the menu command for this.

    Usually we take the object returned after obtaining the information of her by the script.

    But obviously something bad on the side of the OP, because InDesign crashes if this method is used on one of the sample characters. Usually a geometrical object on a page will return the page object as the value of his property in parentPage (ExtendScript).

    I'm not in VB-Script, so here's an excerpt from ExtendScript to get the name of the page in the text of a character block.

    Select a character and run the code snippet:

    // ExtendScript (JavaScript) snippet
    // One single character should be selected:
    
    var myCharacter = app.selection[0];
    var result = myCharacter.parentTextFrames[0].parentPage;
    
    if(result == null)
    {
        alert("Character's text frame is considered on the pasteboard")
    }
    else
    {
        alert("Character's text frame is considered on page: "+result.name)
    };
    

    Now, back to the createOutlines() method.

    It would fail on for example all white space characters and characters that represent a fixed page element.

    It would also fail if the character is in the overset text.

    createOutlines() would be to raise an error, but should not crash InDesign.

    Now go to the OP to the following questions:

    What is the character that you try to use the method with?

    Is there excess in text?

    What is your exact version of InDesign?
    What is the exact version of your Windows operating system?

    Kind regards
    Uwe

  • I bought acrobat Pro DC a few months ago, but now I replaced my computer for a new. How to get back my acrobat Pro DC on the new computer?

    I bought acrobat Pro DC a few months ago, but now I replaced my computer for a new. How to get back my acrobat Pro DC on the new computer?

    Hi turbomail,.

    I see that you have an active subscription Acrobat Pro. Please try to download and install from this page: https://cloud.acrobat.com/acrobat. Please see Acrobat DC subscription | Download and install for more information.

    Let us know how it goes!

    Best,

    Sara

  • Parallax scrolling - how can we achieve image background full page on the homepage?

    Hello

    I made the link between muse adobe much. I was wondering how can we achieve image background full page on the homepage.

    something like: http://www.theqcamera.com/

    I can scale 100% width and height, but it keep the size and weight (Act something like reagent), I think we should do something with scale to fill... but can't really understand how, there is no specific width and height of the box, I have to take to get this effect?

    Thank you in advance.

    Hello

    You can use rectangles on the page and apply fill scroll to items, maintain the dimension of identical objects or on the content. You can also insert other elements like the rectangle text between images.

    Something like in this video:

    https://www.YouTube.com/watch?v=8m2Lg241e3A

    Thank you

    Sanjit

  • How can we dynamically open an external URl of the page of the OFA

    Hi team
    Hello, how can we dynamically open an external URl of the page of the OFA
    For example: my datas table DB are like that
    Employee no       Url
    1     https://www.google.co.in/
    2     https://www.facebook.com/
    3     https://www.yahoomail.com/
    When I don't ask used no 1 of my Search Page
    In the result of my search page table, I get
    1 https://www.google.co.in/
    NOTE: Here item URL is type bean link when I click on the link it should open google page in separate browser
    At the same time, when I question used no 2 which is shown below, then it should open facebook page in a separate browser.
    2 https://www.facebook.com/

    When I try this
    Destination URI - https://www.google.co.in/
    It opens no separate browser, but for employees don't I question as open 1,2,3 only the same page of google in the separate browser for everyone, it is static, I want to dynamically open the URL depend on my employee to query no. If I query emp No 2 it must open facebook page this is my requirement. How can I pass the URL as a parameter?

    Please share your knowledge and experience and your advice my on this issue
    How can I complete my task
    I hope that my requirement is clear, if not please let me know I explained more anyway :)

    Is it Possible to achieve this OAF Page
    Thank you for all your suggestions on this
    Thanks in advance

    A.T. :)

    .findIndexedChildRecursive ("ResultTable");

    Here, you should have the exact itrm link id and not the region containing the lino

    Would it be more likely ImagePath I think ResultTable corresponds to the id of the table of search results

  • When you open a new tab, how to make images of recently viewed pages underneath the toolbars?

    When you open a new tab, how to make images of recently viewed pages underneath the toolbars?

    See what-
    http://www.Google.com/support/toolbar/bin/answer.py?answer=115561

  • How to change the background color dynamically on the page of the ofa

    How to change the background color dynamically on the page of the ofa

    Hello

    Can you please let me know the dynamic conditions to change the background color?

    Thank you

    Vincent

  • I need someone to walk me through how to get Photoshop to recognize cc I downloaded the plug 9.1 raw in.  I thought that this would happen automatically, but it has not changed in photoshop.

    I need someone to walk me through how to get Photoshop to recognize cc I downloaded the plug 9.1 raw in.  I thought that this would happen automatically, but it has not changed in photoshop.  I ran the installer for the plug in but it didn't ask me what to do next.  The responses I get are all over the map on this so I'm writing again. the wording of the question differently.

    There was some problems with loading 2015 ACR 8. You may need to reinstall Photoshop. Which seem to help a lot of people.

  • How can I copy and paste a page in the same DC Adobe .pdf?

    How can I copy and paste a page in the same DC Adobe .pdf?

    Open the Page thumbnails. You can select the pages and then drag the pages. When you hold down the CTRL key you can copy pages.

  • How can I force a send this page if the user presses a tab?

    This may be obvious buy I start everything just with the APEX then maybe someone can tell me...
    How can I force a send this page if the user presses a tab and they go to another page before I run the backup of page variables?
    Thank you!!!
    C

    Hello

    If you use version 4.x Apex while you can create a dynamic action for this.

    * If this answer is useful or appropriate then please mark and award points.

  • Go to a page of the OFA using link article

    Hello

    I am trying to create a link in a custom oaf page. The link would be url to another page of the ofa custom that would be retrieved from a table.

    Link is as below

    test.jpg

    To do this, I did the following-

    1. creates a rowlayout.

    2. put a messagestyletext element for the "link name:" and put a link to the url element.

    3 written a VO to extract the url mapped to the instance of the view and the table and the mode of the binding element of the VO attribute.

    4. made its CSS class as oraLinktext

    When I run the project, I see the link is completed as a hyperlink. As I navigate to the page of OPS, another form of inside this project, I replaced the table value of the actual url with the url of google.

    To access the url, I've tried several things-

    1 try to dΘfinir an firepartialaction event. capture the event in the code of the PFR in CO and get the url of the link item and go to the

    String toc_url = pageContext.getParameter ("TOC");  Table of contents are the binding element ID

    pageContext.setForwardURL (toc_url, null, OAWebBeanConstants.KEEP_MENU_CONTEXT, null, null, true, OAWebBeanConstants.ADD_BREAD_CRUMB_YES, OAWebBeanConstants.IGNORE_MESSAGES);

    the toc_url returns null, as I have seen print its value, then of course the link is not navigate it there.

    2 tried the following in the code PR in CO.

    OALinkBean toc_urlbean = (OALinkBean) webBean.findIndexedChildRecursive ("TOC");

    BindValue OADataBoundValueViewObject = new OADataBoundValueViewObject (toc_urlbean, "OCD");  Table of contents are the attribute view name

    System.out.println (bindValue.ToString ());      oracle.apps.fnd.framework.webui.OADataBoundValueViewObject@1ff5160

    toc_urlbean.setAttributeValue (toc_urlbean. DESTINATION_ATTR, bindValue);

    After that the page load is complete, when I click in the link, page is not redirected to google.

    I'm new on OAF, and being not able to manage it properly. Can someone help me on this please?

    Thank you.

    I got the solution.

    I write down the solution if it serves to someone else newbie like me in the future...

    Set a 'fake' event firepartialaction in the action element. Capture the event in the code of the PFR process as below - and CO

    If (toc".equals (pageContext.getParameter (EVENT_PARAM))) {" "}

    OALinkBean toc_urlbean = (OALinkBean) webBean.findIndexedChildRecursive ("TOC");

    BindValue OADataBoundValueViewObject = new OADataBoundValueViewObject (toc_urlbean, "OCD");

    String toc_url = bindValue.getValue (pageContext.getRenderingContext ()) m:System.NET.SocketAddress.ToString ();

    pageContext.setForwardURL (toc_url, null, OAWebBeanConstants.KEEP_MENU_CONTEXT, null, null, true, OAWebBeanConstants.ADD_BREAD_CRUMB_YES, OAWebBeanConstants.IGNORE_MESSAGES);

    }

    bindValue.getValue (pageContext.getRenderingContext ()) is what gets the url in the mode of the binding element attribute.

  • Several areas of research in the same Page of the OFA

    Hello

    I'm new to OAF and while I practice the concepts, I have something in my mind on the creation of several search pages and tried to see how it behaves.

    I created a simple page with 2 regions serach (each from the different EO and VO). When I run the page and click on 'Go' on the first its got region performed on the two regions.

    I didn't write any code for it so far.  Strange thing is when I click on 'Clear' on the first region, that nothing is happening. But if I click on 'Clear' all values in the search field on the second region is eliminated from these two regions.  I know he is missing something, but don't know what it is. At this stage I cannot until the knowledge to build several areas of research.

    Can you please help me out here.

    When you have 2 pages of simple search, that's what I saw

    1 ' clear' on the first region button does not work.

    2. 'go' on the first region is performed on the two regions.

    3. "clear" on the second region performed on the two regions.

    Can you please help how to get to regions beyond?

    see the documentation for OAQueryBean (Developer's guide). You need to write code to support in your controller processRequest to support what you want.

    Concerning

    Marie Lise S

  • Need to download a CSV/Excel file to a table in the page of the OFA

    I have a table of products can be changed on a page of the OFA. I provide this table with the button 'Download', clicking on, the user must be able to locate the file excel/csv(It contain some products) local office and be able to download it in the products table.

    No idea how this can be done?

    Do we need to use messageFileUpload > get DataObject > > convert StringBuffer > > > and divide it into lines > > > > insert each line through VO > > > > > refresh the VO?

    Who is the process or do we not have any other process. If Yes can you please report it to a few examples of messageFileUpload?

    Thank you
    Sicard.

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    OAApplicationModule m = pageContext.getApplicationModule (webBean) (OAApplicationModule);
    OAViewObjectImpl vo = am.findViewObject("XxCholaCsvDemoVO1") (OAViewObjectImpl);
    If ("Go".equals (pageContext.getParameter (EVENT_PARAM)))
    {
    DataObject fileUploadData (DataObject) = pageContext.getNamedDataObject ("FileUploadItem");
    String fileName = null;
    String contentType = null;
    Long fileSize = null;
    Integer fileType = new Integer (6);
    BlobDomain uploadedByteStream = null;
    BufferedReader in = null;

    Try
    {
    fileName = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_NAME");
    contentType = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_MIME_TYPE");
    uploadedByteStream = (BlobDomain) fileUploadData.selectValue (null, fileName);
    in = new BufferedReader (new InputStreamReader (uploadedByteStream.getBinaryStream ()));

    file = new Long size (uploadedByteStream.getLength ());
    System.out.println ("FileSize" + FileSize);
    }
    catch (NullPointerException ex)
    {
    throw new OAException ("Please select a file to download", OAException.ERROR);
    }

    try {}

    Open the CSV file for reading

    String lineReader ="";

    t length = 0;

    String linetext [];

    While (((lineReader = in.readLine ())! = null)) {}

    Split delimited data and
    If (lineReader.trim () .length () > 0)
    {
    System.out.println ("lineReader" + lineReader.length ());
    LineText = lineReader.split(",");

    t ++ ;

    Print the current line current

    System.out.println (t + "-" +)
    LineText [0]. Trim() + "-" + linetext [1] .trim () + ' - ' +.
    LineText [2]. Trim() + "-" + linetext [3] .trim () + ' - ' +.
    LineText [4]. Trim() + "-" + linetext [5] .trim ());
    If (! vo.isPreparedForExecution ()) {}
    vo.setMaxFetchSize (0);
    vo.executeQuery ();
    }
    Line = vo.createRow ();
    row.setAttribute ("Column1", linetext [0] .trim ());
    row.setAttribute ("Column2", linetext [1] .trim ());
    row.setAttribute ("Column3", linetext [2] .trim ());
    row.setAttribute ("Column4", linetext [3] .trim ());
    VO. Last();
    VO. Next();
    vo.insertRow (row);

    }

    }

    }

    catch (IOException e)
    {
    throw new OAException (e.getMessage, OAException.ERROR);
    }
    }
    ElseIf (Upload".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    am.getTransaction () .commit ();
    throw new OAException ("Uploaded SuccessFully", OAException.CONFIRMATION);

    }
    }
    }

  • Call an HTML page directly from the page of the OFA.

    Hello
    I have a customer requirement to call an HTML page directly from my page of the OFA. The HTML page is the home page of their business and in my OAF page whenever the Cancel button will be squeezed user will be redirected to the HTML home page.
    Is someone can you please tell me how I can get this feature.

    Thank you
    Lucile

    R11 I have pageContext.sendRedirect (url) of the user; to achieve this.

    Kind regards
    Out Sharma

Maybe you are looking for

  • Amended by moderator

    I received an automated call saying my system is at risk and must connect in xxxxxxxxxxxxx when I Googled it. There is nothing to suggest that this is a support page?

  • Hardware failure Lenovo U41-70

    Dear all. I bought a new Lenovo U41-70 with 8 victory, I've upgraded to windows 10 then I got the title of equipment failure: IRQ Test with result code: WMB01Q010-WL7W3E. My concern is: is it seriouse failure, what the purpose of the failure, how do

  • Print spooler does not

    all my printers have disappeared.It won't let me uninstall it it says that the print spooler does not work?

  • After installing Windows Update KB2446708 but still want to install each stop

    The update of safety up-to-date security for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008 x 86 (KB2446708) has been downloaded and installed, but Microsoft Update still asking me to inst

  • SA520 - random don't reboot - no idea why!

    Hello I use a SA520 to a hospital in oder to manage the VPN and Internet access. They were some troubleshooting with VPN and it seems ok now for 1 month. But for 15 days, the router seems to restart randomly (2 or 3 times a day)... why? I don't know,