How to add detail disclosure regon programmatically ?

Hi all,
I need to add detail disclosure in a seeded page. there are PO lines in the page and the requirement is to add receipts information as hide/show.
What is step by step approach i need to follow? Any code samples to add detail disclosure via controller extension is highly appreciated.
Thanks.
Regards.
Ram

Hi ,
REfer the following code:
import oracle.apps.fnd.framework.webui.beans.layout.OADefaultHideShowBean;
processRequest(OAPageContext pageContext, OAWebBean webBean)
// Get a handle to the hideShow bean if this code is in a controller associated with
// a parent or grandparent of the bean.
OADefaultHideShowBean hideShow =
(OADefaultHideShowBean)findIndexedChildRecursive("<component ID>");
// Alternatively, if this code is in a controller associated with the hide/show
// region, simply cast the OAWebBean parameter passed to the processRequest()
// method.
OADefaultHideShowBean hideShow = (OADefaultHideShowBean)webBean;
// Set the undisclosed Text. Always remember to obtain a translated text value
// from Message Dictionary. NEVER set a hard-coded text value.
hideShow.setUndisclosedText("<Show...>");
// Set the undisclosed Text. Always remember to obtain a translated text value
// from Message Dictionary. NEVER set a hard-coded text value.
hideShow.setDisclosedText("<Hide...>");
// Set the default (initial) disclosure state.
hideShow.setDefaultDisclosed(pageContext, Boolean.TRUE;
Thanks,
Kumar

Similar Messages

  • How to add a profile value programmatically?

    Anyone know how to add one? Is there an API?
    I want to add a user level profile option value for 'POR_DEFAULT_DELIVER_TO_LOCATION_ID' so I can default the value. Thanks!
    Thanks

    Hi,
    The LEVEL_VALUE column contains the value of the profile option (see eTRM for details).
    The LEVEL_ID should tell you at what level this profile option is set as follows:
    10001 --> Site
    10002 --> Application
    10003 --> Responsibility
    10004 --> User
    10005 --> Server
    10007 --> SERVRESP
    Note: 201945.1 - How to list E-Business Suite Profile Option values for all levels using SQLPlus
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=201945.1
    Regards,
    Hussein

  • HOW TO ADD DETAILS TO MULTIPLE TABLE(its urgent)

    Hi All,
    I have created one table called employee_master which records all the details of employee.
    The problem which i am facing is if the employee wants to update the details then it is over writing the original record in the master table.
    what i want to do is if the employee is updating a record then it should be updated and stored in the different table and should not over write the original record of employee master table. and in future the modified data should be available to the employee.
    to do this what i need to do. whether i need to create one more table or it can be done in employee master only. I am new to this application so don't know how to do it.
    need help urgently.
    Regards,
    Rafi

    Hi,
    This is your third message on the exact same question. Why don't you stick to one thread instead of duplicating the same question over and over.
    its urgentPeople on here are volunteers and will help you when they get a chance. So that comment is unnecessary.
    I believe your second thread, the responses presented gave the options to you. Anyway, the correct technique instead of creating a new thread when you have a reply, is to reply in the actual thread you created. Incase you can't find it, here is the URL: can we keep the original record as it is and create a version for it
    Ta,
    Trent

  • How to Add Detail Tabular Form within Master Tabular Form?

    Hi,
    Here is my requirement
    I have a tabular form lets say DEPT. I want to add plus [+] button in first column.
    If user click on plus button I want expand detail region and want to display All employees of that department in detail region.
    User should be able to add/update/delete employees in detail region for respective department.
    Has any one done this before.
    I have seen this on number web sites but did not find feature/template to do this in Oracle APEX.
    If any one has template of such form then please let me know.
    Thanks in advance for your help.
    Thanks,
    Devidas Dumbre

    Does any one has any solution for this?

  • How to add details of absences in absences Infotype 2001 for previous dates

    Hi Experts...
    In  my clients company....  one of  Personnel subareas employees leave records are not updating in
    2001 Infotype.
    Now they wish to have to update in 2001 Infotype.
    What is the implication for this new changes in absences records.
    What are the different methods to upload these absence data to the employees.
    How can we upload these data with in a short span time.
    Please advice.
    Thanking you.
    Regards,
    sai

    HI Dilek....
    Thanks for the reply.
    Here it s not possible to change payroll period every time.
    As because the employees leave records are there from year 2007 in different months.
    I will put the status as Release dfor correction.
    What changes to be done with payroll status infotype.
    there is no need of running retro for the above changes we made.
    What could be the optimum solution.
    Regards,
    Sai.

  • Reg: How to add role to a role programitically.

    Hi All,
    How to add a role to another role programmatically ?
    My requirement is...
    I have a super role S1 which has two sub roles R1 and R2.
    I have two schedulers running. When scheduler-1 runs, I want role R1 to be added to super role S1 and the role R2 to be removed. When scheduler-2 runs, I want the role R2 to be added and role R1 to be removed from role S1.
    Now my question is...how to add the sub roles programmatically to super role?
    Thanks,
    Shilpa.

    Hi Shilpa,
    sounds like you want to provide users with different content at different times. Have you ever heard about PCD Filtering? PCD Filtering allows you to hide or show parts of the content using arbitrary filter expressions. I guess you could also implement a PCD filter which filters content depending on the current time.
    Check the article <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3367e690-0201-0010-d285-c69bd884c9f3">Filtering Role and Workset Content</a>, Shantanu's blog <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6370">Filtering Role Content by User Attributes</a> and the presentation <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/17968de1-0a01-0010-1f9f-c090fbc7001a">FilteringRoleand WorksetContentforDevelopers</a> for more information about PCD Filters.
    Best regards,
    Martin

  • How to add a new Shared Variable programmatically to an existing and deployed library?

    Hi there!
    I am trying to accomplish this on both LabVIEW 8.6 and LabVIEW 2010 and seems like it's not any different in this situation.
    My case: A project has a library with 4 Shared Variables (SVs). The library and the variables are deployed (visible in Distributed System Manager 8.6/2010). I want to add 2 more variables into this library. It is possible to do this manually from Project Explorer window's options menu. But while running an application it has to be done programmatically. Can I provide the library reference to the one currently existing without creating a new one?
    "Create Or Add Library To Project" function in the Datalogging and Supervisory Control (DSC) toolkit does not help in this case. That function, as the name suggests, just tries to create a new library in the project.
    Two possible methods:
    The function "Add Shared Variable To Library" (DSC>EngineControl>Libraries & Processes) needs a library reference, which could be provided via "CreateOrAddLibraryToProject" function, but this function tries to create a new library, and if I provide the path of the existing library it throws an exception that the library already exists in the project (yes, as I wrote above, I need to add new variables to an existing and deployed library).
    OR
    The function "Create Shared Variable" (DSC>EngineControl>Variables & I/O Servers) will add Shared Variable in a process, and not physically in a library file, and the problem (limitation) with this approach is that it doesn't allow to add complex data type Shared Variables (for example in LabVIEW 8.6 it has only 4 datatype options in input parameter, and even in LV2010 it does not have "Image" datatype that I need).
    The scond method is my preferred method as it allows to work on Online Shared Variables and doesn't create them physically in libraries (and this is good as the variables' scope remains only till the Variable Engine is running). But it doesn't support advanced data types, and the first method is powerful in terms that it supports to virtually any datatype, it just seems tricky to get that reference to the library.
    Any tips?
    Thanks ahead!
    Vaibhav

       <<<<>>>>   
    As the above two images show, while a library does not exist, it is easy to use the "CreateOrAddLibraryToProject.vi" which will add a new library to the project (if it doesn't exist on file system, a new library will be created) and that way, using the reference (the green wire going out from the function and the Case Structure, can be used to add Shared Variables to the library. The problem was what to do when a library already exists in the project, how to add more variables to it. I was looking for a way to get a library reference, and somehow I could not see it inside a Project's property (VI Server functions). Hence I posted the question. And upon continuing my search, I found it on the Application's property list.
    I hope it was useful for someone else as well. And thanks for the replies. Please share a better idea if you have.
    Vaibhav

  • I just started using fire fox and I cant figure out how to add a new folder to my bookmarks. Can anybody explain how in detail (I'm bad with computers so I need real detail) Please and thank you. :)

    I just started using fire fox and I can't figure out how to add a new folder to my bookmarks.
    Can anybody explain how in detail (I'm bad with computers so I need real detail)
    Please and thank you. :)

    If you use extensions (Tools > Add-ons > Extensions) like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    You can use one of these to start Firefox in <u>Safe mode</u>:
    *On Windows, hold down the Shift key while starting Firefox with a double-click on the Firefox desktop shortcut
    *On Mac, hold down the Options key while starting Firefox
    *Help > Restart with Add-ons Disabled
    If it works in Firefox Safe-mode then disable all extensions (Tools > Add-ons > Extensions) and then try to find which is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    See also:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to add (multiple) cursors programmatically in an XY graph?

     how to add (multiple) cursors programmatically in an XY graph?
    I am building an XY graph. then I would like to add cursors at certain locations (positioned on x axis) I determine through a program.
    How can I add cursors programatically?
    Thank you.

    Initialize a cluster array (CrsrList type) with as many cursors as you think you would ever need.   Setup your cursors dynamically, then delete the unused cursors (array elements) and then update your CursorList property.
    Message Edited by vt92 on 03-20-2009 04:04 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    cursors.PNG ‏5 KB

  • How to add Favorites in EP ? Pl... provide steps in details....urgent

    Hi All
         How to add Favorites in EP ? What and settings i need to do ?
        Can any one help me on this and this is urgent for me ?
        In general what is content we will keep in this Favorites ?
    Thanks and Regards
    Rakesh

    Hi,
    You can "add Favorites in EP" by clicking on the image available next to forward link in the title bar of the portal
    Various options like
    Open in New window
    Refresh
    Personalise
    Details
    Add to Browser Favorites
    Add to Portal Favorites
    When you click on "Add to Portal Favorites" then the particular iview is added in the portal favorites iview section. which is displayed below the detailed navigation.
    Example if you add the iview present in the Content administration --> K M Content
    you can add the KM content iview in the favorites.
    Now if you are present in the System Administration --> Portal Display --> Theme Editor then you can navigate to KM iview directly without going through Content administration --> KM Content.
    This reduces the number of navigation paths.
    Hope this helps you.
    Thanks and Regards,
    Gauri Gosavi.

  • In Scom,How to add CAC value in given MP (management pack)? Please give me in detail procedure with example if possible.

    In Scom,How to add CAC value in given MP (management pack)? Please give me in detail procedure with example if possible.

    Hi 
    CAC is System.ConsolidatorCondition condition detection module used to consolidate the monitoring i.e. you can generate an alert on multiple occurrence of issues instituted of generating single alert for issue.
    refer below link for more information
    http://msdn.microsoft.com/en-us/library/ee809324.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/20301.how-to-add-consolidation-for-url-monitoring-in-scom-20072012.aspx
    Regards
    sridhar v

  • How to Add IBAN Field in the Bank Details Infotype?

    Hello All,
    I need to know the procedure for How to add IBAN field in the bank details infotype?
    Could anyone help me please.
    I m new to SAP HR.
    Immediate help will be appreciated.
    Thanks.
    Regards,
    Mudassir.Imtiaz

    Hi mudassir,
    For IBAN implementation:
    1. Implement SAP Notes 925410, 1409674, 1405521
    2. Go to t-code FIBF - From menu select Settings - P/S Modules - of an SAP Application - Create entry
    For Turkey we've added the following entry (depends on country) :
    00003040 TR CONVERT_IBAN_2_BANK_ACCOUNT_TR
    3. Go to V_T588M for module pool MP000900 and screen 2000 select IBAN & Q0009-IBAN00 fields as standard.
    4. Go to table T77S0 and make value of ADMIN IBAN entry S.
    Regards,
    Dilek

  • How to add environment variable programmatically??

    Hi all,
    I want to add TOMCAT_HOME environment variable programmatically. How can I do this?
    Is there any dos command to set an environment persistently?
    Pls help guys...
    Thanks in advance
    Mithunk

    The way environmental variables work is that they are passed to newly created tasks by the task that creates them. So, for example, when a command shell calls Java it passes a copy if it's current environmental variables, and if Java calls Runtime.exec it can override the set it passes on.
    The comands within a shell that set environmental variables can do so because they are part of the command shell, not separate programs run by it.
    In short a program run by a shell can't alter the environmental variables belonging to the shell. They move only from the calling task to the called.

  • How to add project summary programmatically to publishing page.

    Let me know how to add project summary webpart to page in sharepoint 2013.

    Hi,
    Okay,
    check those links to add web part using code, try them and change the parameter to the name of the web part
    http://www.stefangordon.com/add-web-part-to-page-programmatically/
    http://blogs.msdn.com/b/tconte/archive/2007/01/18/programmatically-adding-web-parts-to-a-page.aspx
    http://nikpatel.net/2010/11/09/programmatically-add-the-web-part-on-the-sharepoint-web-part-page/https://manojssharepointblog.wordpress.com/2013/03/27/adding-and-removing-web-parts-programmatically-in-sharepoint/
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/1bc7212c-385d-4a89-9b7e-9d37ee762017/add-webpart-on-sharepoint-page-programmatically?forum=sharepointdevelopmentlegacy
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

  • How to add a file to an existing package programmatically in Acrobat 8?

    Hello
    Is it possible to add a file to an existing package programmatically in Acrobat 8? (embed a pdf file in a pdf package programmatically); If so, how should I do it?
    Thanks in advance,

    Finally, I found out how to add a file to an existing package programmatically by using JavaScript (function: app.execMenuItem("AddFileAttachment")). Thanks for your help Ironsenth. However, I need to specify the file to attach programmatically and I can't figure out how to do it.
    Could you let me know where I can find this information (what document to read)? Is there any parameters for the 'AddFileAttachment' method?
    Thanks in advance,

Maybe you are looking for

  • Once and for all

    Ok guys and girls, first let me apologize for starting yet another install link, but I am still confused after reading every link so far. I also am have the problem with itunes and quicktime opening for like a second and then closing. I don't have No

  • Why does Sony multi-card reader show up now as a RealTek product?

    I've had a Sony MRW62E/T1/181  card reader for several years. It worked fine until recently. When I plugged in the USB cord that came with it into my XP Pro SP3 computer, I got a message asking me to install a RealTek driver. To the best of my knowle

  • Is it possilbe ro use a 9i Database with 11g 11.1.1.1 for plsql pursposes?

    Hello, I am helping someone out that is in the process of upgrating Forms developed in 6i to 11g Fusion, and their databases fom 9i to 11g. They need to show feasibility of the task first, and test the forms. They have two new_ boxes already setup wi

  • Uninstalling a trial version of Photoshop Elements 10

    I have Photoshop Elements 8 (PSE ) & Premiere Elements 8 (PRE 8) installed. I want to install a trial version of PSE 10 but not PRE 10. If I do the install of PSE 10 must I convert my catalogs created in PSE 8 to PSE10 catalogs in order to carry out

  • Calendar weirdness on iPad air and desktop mavericks

    Hello This morning when I checked my new ipad air, the calendar app just flashed and didn't open. I restored from last night's backup and no change. Decided to check my calendar on my desktop (running mavs) and found, oddly, that two weeks worth of w