Create and setup LOV programmatically

In our application, we are defining view attributes programmatically. And we are trying to setup the LOV for the view attributes. Has anyone tried defining LOV and setup LOV for view attributes programmatically? Thanks in advance.

Hi,
if you are talking about model driven LOV then I don't think you can do this. Even if you would have it created in the VO, you would then have to build the bindings for this in the pagedef file before you can hook it up to the UI. Dor now it seems that model driven LOV is a designtime feature.
You could build a LOV model, as shown in teh ADF Faces RC component demo and manually create the LOV component to look up the attribute. But then you are still missing the pagedef binding if you use ADF.
Frank
Ps.: I made a lot of assumptions: You use JDeveloper 11, you use ADF Faces RC - because your question is incomplete in this area

Similar Messages

  • "Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run se

    Team,
    I am trying to Install Exchange on my Lab, getting below error
    message.
    The Schema Role is installed on Root Domain and trying to install
    exchange on Child domain.
    1 Root Domain - 1 Child domain. both are located on single site.
    “Setup encountered a problem while validating
    the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter and wait for
    replication to complete.”
    Followed below articles:
    http://support.risualblogs.com/blog/2012/02/21/exchange-2010-sp2-upgrade-issue-exchange-organization-level-objects-have-not-been-created-and-setup-cannot-create-them-because-the-local-computer-is-not-in-the-same-domain-and-site-as-the-sche/
    http://www.petenetlive.com/KB/Article/0000793.htm
    transferred the schema roles to different server on root domain, still no luck.
    can someone please help me.
    regards
    Srinivasa k
    Srinivasa K

    Hi Srinivasa,
    I guess, you didn't completed the initial setup schemaprep and adprep before starting the installation. You can do it as follows:
    1. Open command Prompt as administrator and browse to the root of installation cd and run Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
    After finishing this,
    2. Setup.exe /PrepareAD /OrganizationName:"<organization name>" /IAcceptExchangeServerLicenseTerms
    3. To prepare all domains within the forest run Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms. If you want to prepare a specific domain run Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTerms
    4. Once you complete all of the 3 steps, install the pre-requisities for Exchange 2013
    5. Finally, run the setup program
    Hope this will help you
    Regards from Visit ExchangeOnline |
    Visit WindowsAdmin

  • Creating and modifying LOV in R12

    Dear gurus
    In R-12 how I can register a new LOV. Moreover, how I can identify that which LOV is attached to some particular field and how i can modify that LOV. OR If I want to remove the LOV from some particular field then ??
    Please advise
    I shall be ever thankful.

    Please refer to these manuals:
    Oracle Applications Flexfields Guide
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121flexug.pdf
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf
    Thanks,
    Hussein

  • How to create and share streaming video?

    Hi -
    I have finally finished a project in PE8 and I'd like to upload it to my website so that others can stream it.
    I have created output in FLV, MOV and MPG formats.
    I have uploaded them to my web server.
    However, whenever I link to the video, my browser (IE or Firefox) just asks to download or run it.
    Then, it tries to download the entire video - this is a problem as the files are up to 1.3gb.
    I've tried this:
    <html>
    <a href="myvideo.flv">CLICK HERE</a>
    </html>
    and this:
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="160" HEIGHT="136" >
    <PARAM NAME="src" VALUE="myvideo.mov" >
    <PARAM NAME="autoplay" VALUE="true" >
    <EMBED SRC="myvideo.mov" TYPE="image/x-macpaint"
    PLUGINSPAGE="http://www.apple.com/quicktime/download" WIDTH="160" HEIGHT="136" AUTOPLAY="true"></EMBED>
    </OBJECT>
    and this:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="400" >
    <param name="movie" value="myvideo.flv">
    <param name="quality" value="high" >
    <param name="LOOP" value="false">
    <embed src="myvideo.flv" width="400" height="400" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></ embed >
    </ object >
    So, why isn't it streaming?
    Is it the video format?
    The embedding on the web page?
    My server?
    Perhaps you can share the details of how you created and setup a streaming video?
    Thanks....

    You need to embed a player for the file. This will differ by the file type that you choose. I'd probably go with a Flash player, but you have other choices.
    I'd post your request for the exact instructions, and HTML code needed, plus tips on optimization to the Muvipix "Community," probably under the "Water Cooler" sub-forum. The Webmaster there, Ron, is an expert in embedded players, as are several other subscribers. I'll bet that you'll get the exact code, with all sorts of useful tweaks, in no time. If Ron suggests another file type and player, listen to him, and not to me. I just deliver the streaming AV files in the exact format that my client asks for. They have their Webmaster use them in their particular page design. My job ends, before your's, now, begins.
    Good luck,
    Hunt

  • Faces: programmatically creating and populating iterator in a backing bean?

    Rather than relying on bindings in pageDefs, I'm attempting to create and populate a JUIterator binding in a backing bean. The goal is to allow the backing bean accessible to any web page as a session bean without having to hard code the iterator in every page's pageDef file.
    I haven't had any success on finding a demonstration showing how to do this programmatically and have come up with the following code as a hack:
    DCDataControl dataControl = bindingContainer.findDataControl("AppModuleDataControl");
    ApplicationModule appModule = dataControl.getApplicationModule();
    JUIteratorBinding iterator = new JUIteratorBinding(appModule, "SingleRowView1", "SingleRowView1Iterator");
    bindingContainer.addIteratorBinding(iterator);
    iterator.setRangeStart(0); // Exception raised here
    iterator.setRangeSize(1); // Or here
    iterator.executeQuery();  // Or here
    Row row = iterator.getCurrentRow();Note the SingleRowView1 is a VO exposed through my ADF BC AppModule and returns a single row and column.
    At the appropriate line marked "Exception raised here" an exception is thrown. On this line and the next 2 lines, it doesn't matter if I comment out one or the other, any 3 will raise an exception showing I've a problem with the iterator setup I guess?
    Anybody any hints on how we would construct the iterator dynamically? Do I have to create the individual attributes for the iterator? Have I not done something in correctly creating the iterator?
    Any help appreciated.
    Regards,
    CM.

    Chris,
    I don't have an answer for you but in JDeveloper 11 templating allows you to create a pagedef file that then is inherited by all pages. So chances are that what you build today is no longer needed tomorrow
    Frank

  • How to Create a Page LOV Template and a Region LOV Report Template in APEX

    Hi All,
    Thanks in advance ..
    I am new to APEX , Currently working in APEX 3.2
    Can any one please guide me How to Create a Page LOV Template and a Region LOV Report Template in APEX
    So that I can create dynamic Multi column LOV in APEX
    Cheers
    Sachin

    Sachin,
    I think you are en-quiring about 'Custom pop-up page'. See this link. You will get all required info there.
    Regards,
    Hari

  • Default value in LOV field in Create and Update page in OAF

    Hi All,
    I am unable to default LOV field in Create and Update page in OAF.
    I tried in below way :
    OAMessageLovInputBean lovBean1 = (OAMessageLovInputBean)webBean.findChildRecursive("AAA");
    But I am getting developer mode exception, so please guide me how i can set the default value for create and update page instead of using code in process request method in controller.
    Thanks

    Hi,
    1) In case of create, you can default the value either in EOImpl or in AM while initializing the row:
    //in EOImpl
    public void create(AttributeList attributeList)
    super.create(attributeList);
    setXXAttribute(<value>);
    //in AM, VO new row initialization :-
    VOImpl VO = getVO1();
    VO.setMaxFetchSize(0);
    VORowImpl row = (VORowImpl)VO.createRow();
    row.setXXAttribute(<value>);
    VO.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    2) In case of update, execute the VO (also set the where clause if required) in PR method of update page.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.

    Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.

    Thanks. I tried an app called Office2HD and it does exactly what I need. I can even email my edited file from this app.

  • I created a pdf form and then iported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I wo

    I created a pdf form and then imported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I would like the form to open directly in Adobe Reader form to make it easier to enter information. Thanks, Ike

    If you created it in Forms Central, you have to edit it there. I believe Forms Central is similar to LiveCycle Designer in that the form created is no longer able to be edited in Acrobat. I might be wrong, but that is my understanding. You add the submit button in Forms Central. Within Acrobat, you should be able to go to the forms menu and Manage Data to save the data to an Excel file. Others better with forms should be by to clarify things, but this should get you started. In the future you might find it better to post a forms question in the forms discussions.

  • How to Programmatically Create and Activate an ABAP Class

    Hi,
    I have a requirement to programmatically create and activate an ABAP class that implements a 'pre-defined' interface.
    Do you have any ideas how this can be done?
    Thanks,
    Shreevathsa S

    Hi,
       Try if GENRATE SUBROUTINE POOL keyword can be of your help.
    See the below example,
    DATA itab  TYPE TABLE OF string.
    DATA prog  TYPE string.
    DATA class TYPE string.
    APPEND `program.`                     TO itab.
    APPEND `class main definition.`       TO itab.
    APPEND `  public section.`            TO itab.
    APPEND `    class-methods meth.`      TO itab.
    APPEND `endclass.`                    TO itab.
    APPEND `class main implementation.`   TO itab.
    APPEND `  method meth.`               TO itab.
    APPEND `    message 'Test' type 'I'.` TO itab.
    APPEND `  endmethod.`                 TO itab.
    APPEND `endclass.`                    TO itab.
    GENERATE SUBROUTINE POOL itab NAME prog.
    CONCATENATE `\PROGRAM=` prog `\CLASS=MAIN` INTO class.
    CALL METHOD (class)=>meth.
    Regards,
    Sesh

  • Programmatically create and deploy process definition

    1. It seems that PAPI does not support process definition creation and deployment. We need to programmatically create and deploy process definitions, what should we use?
    2. Is it possible to programmatically add variable definitions to a process instance? We have an external program that creates the process instance but sometimes the process instance may need to add some additional variables.
    Thank you for your help,
    shirley

    Hi Shirley,
    You're right PAPI wasn't intended to deploy processes, however, you can deploy processes automatically using ANT.
    You'd need to republish and redeploy (again using ANT) to add additional variables to a deployed process. Simplest thing to do would be to add attributes to an existing BPM Object. If you just added a new variable, you'd need to change argument mapping troughout the project.
    hth,
    Dan

  • Examples of creating Page Def and Data Bindings programmatically by API

    We are trying to find any examples creating Page Def and Data Bindings programmatically by API. We are working on a new project in which we need to generate Page Def and Data Bindings dynamically by API.

    Hi,
    I am not aware of such an API
    Frank

  • HT1937 i have old email address that is being used on my apple id and i do not know password I also have another apple id created but when I go to the istore it shows my pld account and i cannot delete and setup the right one

    i have old email address that is being used on my apple id and i do not know password I also have another apple id created but when I go to the istore it shows my pld account and i cannot delete and setup the right one

    No, "My Number" was not listed in my Phone menu, I had to manually type it it.  Is there a way for that number to automatically be listed in that "My Number" spot?  Would that maybe have something to do with my phone number not being listed as an option in the "Send and Receive" spot under messaging???

  • Creating Diagram and model file programmatically

    Hi,
    Am trying to create the Diagram and model file programmatically.
    I used the code similar to what is there in XXDiagramEditorUtil.createDiagram().
    In the normal case (when i have an empty domain ie nothing is set into the domain object), the diagram and the domain file gets created and works fine.
    Assume my model is of type XX, and that has a list of YY.
    i create YY and set it inside XX.
    Now when i create the domain file, the <YY> is set correctly inside <XX>.
    But in the diagram file, i dont see the <children/> tags corresponding to the YY.
    How would the appropriate <children/> tags be generated ?
    i tried diagram.createChild(yy.eClass()), but the diagram file does not get generated.
    Pls help.
    AbstractTransactionalCommand command = new AbstractTransactionalCommand(editingDomain,
    Messages.XXXDiagramEditorUtil_CreateDiagramCommandLabel,
    Collections.EMPTY_LIST) {
    protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
    XXX model = createInitialModel();
    YYY yyy = XXXFactory.eINSTANCE.createYYY();
    yyy.setAttribute1("2");
    yyy.setAttribute2("name");
    model.getYYYs().add(yyy);
    attachModelToResource(model, modelResource);
    Diagram diagram = ViewService.createDiagram(model, XXXEditPart.MODEL_ID,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    if (diagram != null) {
    diagramResource.getContents().add(diagram);
    diagram.setName(diagramName);
    diagram.setElement(model);
    //diagram.createChild(yyy.eClass());
    //diagram.insertChild(arg0);
    try {
    modelResource.save(.getSaveOptions());
    diagramResource.save(getSaveOptions());
    } catch (IOException e) {
    return CommandResult.newOKCommandResult();

    Hi ganesh,
    you have two options to get it working.
    The first one is using a CanonicalEditPolicy, which creates all Nodes and Edges for you based on your semantic model. This is easy to implement, but it has some drawbacks. Your editor will get dirty after opening it, because your Notation Model is changes and no layout information is available.
    The better way is to create Nodes and Edges for each semantic element you created.
    For your code snippet it might look like this:
    XXX model = createInitialModel();
    YYY yyy = XXXFactory.eINSTANCE.createYYY();
    yyy.setAttribute1("2");
    yyy.setAttribute2("name");
    model.getYYYs().add(yyy);
    attachModelToResource(model, modelResource);
    Diagram diagram = ViewService.createDiagram(model, XXXEditPart.MODEL_ID,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    Node yyyView = ViewService.createNode(diagram, yyy, SemanticHints.YYY,
    ,XXXEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    //Set some layout information assuming you use a XYLayout
    Bounds bounds = NotationFactory.eINSTANCE.createBounds();
    bounds.setX(70);
    bounds.setY(20);
    yyyView.setLayoutConstraint(bounds);
    Regards,
    Andreas

  • How to reverse the Credit memo in AR if it's created and posted into the GL

    Hi All,
    Can any one suggest on below issue:-
    If i have created a credit memo in AR and posted into the GL also. but after that i realizse that i have made a wrong entry now i want to rectify the errror .
    How do i rectify the entry if i created Credit memo in AR and it' posted into the GL also. Now want to resverse it. ?????????
    regards
    Sujeet

    Hi Sujeet,
    Please have a look, if the process suggested below is of any help:
    Subject:      How To Unpost Transactions in AR
         Doc ID:
    Note:219307.1     Type:      HOWTO
         Last Revision Date:      29-DEC-2005     Status:      PUBLISHED
    •     goal: How to unpost transactions in Accounts Receivable
    •     Goal: How to unpost a batch transferred from AR to GL
    •     Fact: Oracle Receivables
    •     Fact: Oracle General Ledger
    •     Fact: ARGLTP - General Ledger Transfer Program
    •     Fact: ARGCGP - Clear GL Interface Table
    Fix:
    Run the concurrent program ARGCGP to unpost (reset the posted status) for the
    Affected AR transactions.
    1. Verify the following before running ARGCGP.
    - The AR period affected is open
    - The correct posting_control_id is identified. Otherwise, running
    the program will make the problem worse by allowing data to be
    posted twice.
    - The batch has not been imported/posted to the GL
    (N) As GL Superuser, Navigate, Journals, Enter
    Query up batch name %<posting_control_id>%
    - The transactions cannot be found in the GL_INTERFACE table
    2. To run the program, it should be setup as a concurrent request.
    Note: The program can be run from the Unix command prompt however
    it will not pickup _ALL tables in a multi-org environment.
    - System Admin Responsibility: Concurrent > Program > Define
    - Query ARGCGP (as the short name)
    - Click 'Copy To'
    Give it a new program name and short name
    For example: ARGCGP-Reverse AR Posting
    - Click on Use in SRS
    - Save
    - Click on Parameters
    - Enter these parameters and save:
    Seq Paramater Valueset Default Value Required Display
    4 Set of Books id AR_SRS_SET_OF_BOOKS_ID Constant yes yes
    5 Posting_control_id 20 Characters yes yes
    6 Reset_gl_pst_date 6 Characters Constant Y yes yes
    7 del_gl_interface 6 Characters Constant Y yes yes
    8 debug_flag 6 Characters Constant N yes yes
    Description of Parameters
    - set_of_books_id = The ID for the book posted from AR
    - posting_control_id = the unique id for the original posting run from AR
    to GL. Can be identified by querying the
    AR_POSTING_CONTROL table if value is not known.
    - reset_gl_pst_date = (Y)es or (N)o flag to indicate if records in AR
    marked as posted should be reset so that they are
    postable again
    - del_gl_interface = (Y)es or (N)o flag to indicate if records for this
    posting_control_id should be deleted from
    gl_interface table
    - debug_flag = (Y)es or (N)o flag to put additional debug
    information in the log file
    3. Add the new program to Revenue Recognition Request Group.
    - Security > Responsibility > Request
    - Query up Group Revenue Recognition, Application Oracle Receivables
    - Add a new line
    - Report and from LOV choose ARGCGP-SRS
    - Save
    4. Change the user's responsiblity to Receivables User and run the process.
    5. Rerun the GL Interface.
    * WARNING: Before updating any tables in SQL*Plus,
    * perform a BACKUP of the affected tables.
    Additional info:
    When you cannot enter any parameters under point 2, please check if there is
    clicked on Use in SRS.
    Thanks
    Manish Jain.

Maybe you are looking for

  • SAP scrpits and Samrt forms

    can u please explain me 1.Why sap script without main windw is not possible.? 2.Why smart form without main windw is possible.? thanx in adv

  • IOS upgrade for ACE10-6500-K9

    Dear All, I have ACE10-6500-K9 installed in 6513 core switch with below mentioned sh version. Software   loader:    Version 12.2[121]   system:    Version A2(2.0) [build 3.0(0)A2(2.0)]   system image file: [LCP] disk0:c6ace-t1k9-mz.A2_2_0.bin   insta

  • JSF 2.1 in Weblogic 10.3.0.0

    Hi, Is there a way to install JSF2.1 in Weblogic 10.3.0.0? Please enlighten me. Regards, Kent

  • Can i mirror iphone4 with apple tv

    i have iphone4 can i mirror my phone by using apple tv airplay

  • Return ResultSet via RMI

    Hello all, I understand that it is not possible to return a ResultSet via RMI, correct? I have a query that I want to use its recordset and this recordset would then be used as an argument for my TableModel to create the data. How can I use a vector