Error when creating custom text field

HI Guyz,

I am getting below error while creating a new custom UDF text field. All the world is facing this problem earlier?

"Houston-COLUMN_UNAVAILABLE: no additional custom attributes of this type cannot be created"

Swati - PÉAN

The problem is finally solved.

Yes, there are several udf to IOM. However, it stores the details in a table of the adf. Cleaning of the custom fields were created.

TRUNCATE TABLE ADF_EXTENSION_COLUMN_USAGE;

DELETE ADF_EXTENSIBLE_TABLE_USAGE;

COMMIT;

-Swati Pandey

Tags: Fusion Middleware

Similar Questions

  • Get the error when creating custom 11.1.2.3 planning attributes

    Hello

    I am trying to create a custom attribute to a sparse dimension in my classic planning application, but while the updating of the database, a 1060114 error occurs. How to solve this problem, please suggest.

    Thank you

    Here you go https://support.oracle.com/rs?type=doc&id=1408609.1)

    Concerning

    Celvin

  • Slider custom text field (Cap) does not appear

    All;

    I created a custom text field based on the standard text field, changes work fine (really just a custom height and width and a border).  The problem is the method of painting which seems to remove the cap of the field when it gets the focus.  To be clear the carret never shown at all.

    public class CustomText extends TextField //cutom text field width
    {
        //Custom Height and Width in Pixels
        final static int textwidth=125;
        final static int textheight=25;
    
         CustomText()
         {
         super(); // Call the default constructor    
    
         //Border for text fields
         XYEdges padding = new XYEdges(5, 5, 5, 5); //space between box and border
         Border theborder = BorderFactory.createSimpleBorder(padding, Border.STYLE_SOLID);
    
         //Assign the border to the object
         this.setBorder(theborder);
         }
    
         public void onFocus( int direction )
         {
            super.onFocus( direction ); //invoke parent procedure
            invalidate(); //mark for redraw
         }
    
         public void onUnfocus()
         {
        super.onUnfocus(); //invoke parent procedure
        invalidate(); //mark for redraw
         }
    
         //Override the layout with the custom Width and Height
         protected void layout(int width, int height)
         {
            super.layout(textwidth,textheight);
            setExtent(textwidth,textheight);
    
         }      
    
        //Override the display message such that no message is displayed when the field is full
        protected void displayFieldFullMessage()
        {
        }
    
        //Override the default paint method to call the super class constructor and then assign the border
        protected void paint(Graphics graphics)
        {
           // int prevColor = graphics.getColor(); //Save Previous Color
            graphics.setBackgroundColor(Color.LIGHTGRAY); // Set to Gray
            graphics.clear(); // Clear for redraw
            super.paint(graphics); //Force Redraw of Object
          //  graphics.setColor(prevColor); //restore for cursor paint
    
        }
    
    };
    

    In the paint in the first and last method lines that are commented out were a soloution that I tried after reading on this subject.  Something along the lines of the restoration of the default color, but unfortunately without success.   Any ideas would be more useful

    Thank you!

    Quick thoughts:

    (a) to remove the requirement to substitute paint by setting the background a Color.LIGHTGRAY using the base class

    (b) you put on the field by using this:

    Super.Layout (TextWidth, TextHeight);

    If you then do the following:

    setExtent (textwidth, textheight);

    you are likely to confuse the field.  If you still want to use the entire height and use the full width and then try to deal with it in the Style, that is, replace this:

    Super(); Call the default constructor

    with this

    Super(TextField.USE_ALL_HEIGHT |) TextField.USE_ALL_WIDTH); Call the default constructor

    (c) why you override onFocus and onUnfocus?  I would like to delete these if you do not have anything specific to these methods.

    Make these changes, and you'll have a more simple TextField.  See if these changes will solve the problem of the caret too.

  • Custom text field

    I want to implement a custom text field that displays its label on the leading edge of a line and its part editable on the TRAILING edge of the same way like a ChoiceField. Is there a documentation available to achieve this (maybe it's to say-sample code)? Or even if I could see the source code for ChoiceField. I develop for a Blackberry Pearl 8110 with 4.3.

    I ended up solve this using managers of horizontal inside vertical management. I have to use a label field for the edit field that accompanies it. When lines are added, I followed is the width of the new label. Then in sublayout to align the edit fields according to the maximum width more stored a Variant. Could not align all the way to the right.

    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.text.*;
    
    public class MyLayoutManager extends VerticalFieldManager {
        protected int maxw;
        protected Font font;
        protected int font_height;
        private int size;
    
        public MyLayoutManager() {
            super(Field.USE_ALL_WIDTH);
            this.maxw = 0;
            this.font = Font.getDefault().derive(Font.PLAIN, 12);
            this.font_height = this.font.getHeight();
            this.size = 0;
        }
    
        public void addLine(String label, int initial) {
            MyEditField mef = new MyEditField(label, initial);
            int label_width = this.font.getAdvance(label);
            this.maxw = Math.max(label_width, this.maxw);
            this.add(mef);
            this.size++;
        }
    
        public int getPreferredHeight() {
            return this.size * this.font_height;
        }
    
        public int getPreferredWidth() {
            return 240;
        }
    
        protected void sublayout(int maxwidth, int maxheight) {
            int y = 0;
            for (int i = 0; i < this.size; i++) {
                Field f = this.getField(i);
                this.setPositionChild(f, 0, y);
                this.layoutChild(f, 240, this.getPreferredHeight());
                y += this.font_height;
            }
            this.setExtent(240, this.getPreferredHeight());
        }
    
        protected class MyEditField extends HorizontalFieldManager {
            private LabelField the_label;
            private JunkField the_value;
    
            public MyEditField(String label, int initial) {
                super(Field.USE_ALL_WIDTH);
                this.the_label = new LabelField(label);
                this.the_label.setFont(font);
                this.the_value = new JunkField(initial + "");
                this.the_value.setFont(font);
                this.add(this.the_label);
                this.add(this.the_value);
            }
    
            public int getPreferredHeight() {
                return font_height;
            }
    
            public int getPreferredWidth() {
                return 240;
            }
    
            protected void sublayout(int maxwidth, int maxheight) {
                Field f = this.getField(0);
                this.setPositionChild(f, 0, 0);
                this.layoutChild(f, maxwidth, maxheight);
                f = this.getField(1);
                this.setPositionChild(f, maxw + 20, 0);
                this.layoutChild(f, maxwidth, maxheight);
                this.setExtent(maxwidth, font_height);
            }
    
            private class JunkField extends EditField {
                private boolean firstFocus;
    
                public JunkField(String deflt) {
                    super(Field.EDITABLE | Field.FOCUSABLE);
                    this.setText(deflt);
                    this.setFilter(new NumericTextFilter(TextFilter.NUMERIC));
                    this.firstFocus = false;
                }
    
                protected void onFocus(int direction) {
                    this.firstFocus = true;
                }
    
                protected boolean keyChar(char key, int status, int time) {
                    if (this.firstFocus) {
                        this.setText("");
                        this.firstFocus = false;
                    }
                    return super.keyChar(key, status, time);
                }
            }
    
        }
    }
    
  • New to OAF - oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for HeaderTableEO line

    Hi I'm new to OFA. I am trying to create a master-details form based on the example given on Youtube (but using my own paintings).

    I have already defined in table colums.

    AM code is as follows:

    Public Sub CreateEmailHdrRow()

    {

    xxVmmcSendEmailDefHdrVOImpl vo = getxxVmmcSendEmailDefHdrVO1();

    String s = "Test";

    Line = vo.createRow ();

    If (!) VO.isPreparedForExecution ())

    {

    vo.setMaxFetchSize (0);

    }

    row.setAttribute ("EmailDefName", s);

    row.setNewRowState (Row.STATUS_INITIALIZED);

    }

    When I run, the error occurs at the level of line (rank rank = vo.createRow ();)

    Error message: oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for xxVmmcSendEmailDefHdrEO line.

    Any help is appreciated.

    Anjan,

    Please check that the type of the CreatedBy attribute is a number representing the id in FND_USER and not the actual text of the name of the user. Standard Oracle columns that use a number for this value not varchar.

    Kristofer Cruz

  • oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity.

    Hi all

    I get the following error when executing the Page create purchase orders. I extended the standard EntityObject class: Purchase Order Header to my EO custom, make one here to this EO origin.
    oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for CustomPurchaseOrderHeaderEO line

    Thank you

    Hi SumitSharma,

    Added the following line to the file Extended Entity Object.xml
    "DefClass ="oracle.apps.fnd.framework.server.OAEntityDefImpl"xx.oracle.apps"below the RowClass ="... "package line.

    This solved my error, but I can't do it this way is fair or unfair suggestions.

    Thank you

    Published by: 995022 on May 14, 2013 22:13

  • Please help me with the custom text field FormCalc

    There is someone online has done a very good thing for me - they helped me create a text field that would be of type 'this document has been printed on _' and include some day the pdf was printed on the employer's intranet site.

    I had a shortcut in my favorites and would click on it and place it on each new document that I needed on.

    Because the computer I was using suddenly fell down, can't get the details of how to set it up again. I have a pdf form that includes the box, but when I open it in LiveCycle, it's just empty.

    That's what I saved:

    < field h = mm "8,4935" name = "PrintedOn" w = "141,0398 mm" x = "-0,0001 mm" y = "0 mm" xmlns ="http://www.xfa.org/schema/xfa-template/2.5/" > ""
    < ui >
    < textEdit >
    < border hand = 'right' presence = "hidden" >
    <? templateDesigner styleId aped0? > < / border >
    < margin / >
    < / textEdit >
    < /UI >
    < police size = cast "18pt" = "Tahoma" weight = "bold" >
    < filling >
    < color value = "221,221,221" / >
    < / filling >
    < / make >
    < para hAlign = "center" vAlign = "middle" / >
    < link match = "none" / >
    < activity = "prePrint" ref = "$host" >
    < script >$ .rawValue = concat ("this document has been printed on:", num2date (date (), DateFmt (1))); < /script >
    < / event >
    < / field >

    I don't remember what to do to get this working.

    I use this text box "print on" ALL the time, and I need to know what to do to get back to work quickly.

    If there is someone who could help me, I could also send you a sample of a form which includes it - so you can see exactly what I mean.

    If someone could remember how to program this kind of thing in once again and save it in LiveCycle, then explain how I can put it on another computer so I'd really, REALLY appreciate it.

    ~ Chris

    PS - this one as I had put in place only prints print message per day on the first page. If she could somehow print on EACH page of the PDF file without me having to click and add it to each page individually, it would be better... but let's first!

    Hello

    The script is here. If you place a new textfield in the Master Page and put the following script in the event of pre-publication of the field:

    $ = concat("This document was printed on: ", num2date(date(), DateFmt(1)))
    

    The language is FormCalc.

    Please note that you don't need to go to the XML Source for this. Simply select the textfield object and open the Script Editor (in the Windows menu). Drag the bottom of the editor bar so that you can see a few lines, and then set the FormCalc language.

    Should work,

    Niall

  • In order to create several text fields

    Can we create several text fields with actionscript 2, without creating a movieclip on the stage.

    When I type

    _root.createEmptyMovieClip ("myTextfield", 1);
    _root.myTextfield.createTextField("myText1",1,0,0,100,20);
    _root.myTextfield.myText1.text = "this is text ';

    _root.createEmptyMovieClip ("myTextfield", 1);
    _root.myTextfield.createTextField("myText2",1,0,0,100,20);
    _root.myTextfield.myText2.text = 'this is the text TWO. "

    It only displays the text 2 I don't know why

    I want to create 5 fields of text on the stage

    2 for entry

    1)

    _root.createTextField("myText1",1,0,0,100,20);
    myText1.text = "this is text ';

    _root... createTextField("myText2",2,0,0,100,20);
    myText2.text = 'this is the text TWO. "

    (2) in the text/tefields format that you add manually without the help of actionscript, you select the text/textfield ann using the properties panel.

  • Not enough RAM when creating 3d text. How can I do to fix this?

    Not enough RAM when creating 3d text. How can I do to fix this?

    I managed to make it work... I think it was because I did not rasterized

    He makes before 3d...

  • How to create a text field containing text/label which can be modified by the end user?

    Hello

    I'm trying to figure out how to create a text field containing text or a label that can be changed by the end user. Can do something like this in LiveCycle?

    Below, I have a text field that contains a question and another text field where the user will enter their answer. Is there a way to allow the end user to change the text of the question, as shown in the example?

    Capture.PNG

    Hello

    If you used a standard text for the 'legend' field you could set the value by default (in the value of the object palette tab) in the legend and the legend of the value None (in the page layout palette).

    Concerning

    Bruce

  • How to create the text field that accepts (only Alphabates no numbers or numbers)

    Hey guys,.

    I just want to know how to create a text field that accepts (only text without characters or numbers)?

    I want to insert validation that field only accepts the alphabates no number or numbers are allowed!


    Thanks in advance!

    In the designer, click the field that you need to validate and open the script window, together the menu show drop-down list to validate in the drop-down list and place the code in the script window. Make sure that the language is Javascript and run is defined on the Client. If you don't see the script window goto window-> Script Editor Menu item.

  • Format custom text field only when the field is filled

    I have created a form that I need to have the format of a text field "model:"& value of text field, then when it is empty so it is just empty.»

    I put event.value = "template:" + event.value; "." in the format custom properties of the text field it set to format correctly, but if it had not entered in this field he said always model: so what should I do for it to be only occur when there is something entered in the field.

    Change to:

    If (event.value) event.value = "template:"+ event.value; ".

  • Error when creating a layer of text, when 2 + work plans are available in the document

    Hi, I met a weird error while trying to create a new text layer.

    When a single work plan is available in the document, the script works well and create a new empty text layer;

    When 2 or more work plans are available in the document, the script generates the layer, but she then gets stuck when trying to convert a text. The console says "the layer cannot contain text.

    Paste my code here with comments.

    #target photoshop
    
    
    //this script attempts to create a text layer above the selected layer contained into an artboard.
    //For some reason, it works on the first available artboard, but not on the other ones. The error is "The layer cannot contain text"
    
    
    //get active PS document
    var doc = activeDocument; 
    
    
    //get active artboard 
    var currentArtboard = getActiveArtboard();  
    
    
    //create new art layer in the current artboard
    var newLayer = currentArtboard.artLayers.add();
    
    
    //trying to convert to text layer. Fails when 2+ artboards are available int the document
    newLayer.name = "test";
    newLayer.kind = LayerKind.TEXT; 
      
      
    function getActiveArtboard() {  
        var key = false;
        var l   = doc.activeLayer;
        var p   = l.parent;
    
    
        try {  
            while (!key) {  
                doc.activeLayer = p;  
                var ref = new ActionReference();  
                ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));  
                key = executeActionGet(ref).getBoolean(stringIDToTypeID("artboardEnabled"));  
                if (key) {  
                    return p  
                }  
                p = p.parent;  
            } 
    
    
        } catch (e) {  
            alert('This layer is not contained within an artboard');  
            return undefined; 
        }  
    }  
    


    Any help is greatly appreciated. Thank you in advance!

    var doc = activeDocument;
    
    var currentArtboard = getActiveArtboard();
    
    function makeTextLayer() {
        var desc = new ActionDescriptor();
        var desc2 = new ActionDescriptor();
        var ref = new ActionReference();
        ref.putClass(app.charIDToTypeID('TxLr'));
        desc.putReference(app.charIDToTypeID('null'), ref);
        desc2.putString(app.charIDToTypeID('Txt '), "text");
        var list2 = new ActionList();
        desc2.putList(app.charIDToTypeID('Txtt'), list2);
        desc.putObject(app.charIDToTypeID('Usng'), app.charIDToTypeID('TxLr'), desc2);
        executeAction(app.charIDToTypeID('Mk  '), desc, DialogModes.NO);
        return doc.activeLayer
    }
    
    var newLayer = makeTextLayer();
    
    newLayer.move(currentArtboard, ElementPlacement.INSIDE);
    
    function getActiveArtboard() {
        var key = false;
        var l = doc.activeLayer;
        var p = l.parent;
        try {
            while (!key) {
                doc.activeLayer = p;
                var ref = new ActionReference();
                ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));
                key = executeActionGet(ref).getBoolean(stringIDToTypeID("artboardEnabled"));
                if (key) {
                    return p
                }
                p = p.parent;
            }
        } catch (e) {
            alert('This layer is not contained within an artboard');
            return doc
        }
    }
    
  • JavaScript to create a text field + button to open the Web page after the entry

    Hello!

    I am creating an interactive catalog for a customer. My client wishes to their viewers to be able to type a part number in the text field (green box) and when you clicked on the button 'Search' it opens a browser window and add to everything that has been entered into the text behind URL box that will.

    He will go to the search page on their Web site. The URL always starts the same:... com/Research/search_results? search = and behind the = would be what has been typed in the search box.

    Screen Shot 2015-11-11 at 1.59.50 PM.png

    On click on go to... com/Research/search_results? search = 98321


    Help, please! Thank you!

    Say that the text field is called 'SearchCode '. Use this code as your search button MouseUp action:

    var searchCode = this.getField("SearchCode").valueAsString;

    app.launchURL("...com/search/search_results?search="+searchCode);

  • Empty paragraphs in a textflow cause error when displaying the text

    Hello

    When I create a textflow which has empty ParagraphElements elements in it (i.e. a ParagraphElement childless) I get this runtime error when I try to display the text in a container:
    : Error #2175: one or more elements of the content of the TextBlock object has a null ElementFormat.
    Is this a bug, or is there a reason legitimate for this error? If so, I would like to understand why. In my reasoning, a vacuum ParagraphElement should justifiably in the rendering of a line break. But maybe I think too much in terms HTML here...

    I appreciate any light you can throw on this point,

    Thanks in advance,

    Roland

    P.S. I'm using the latest version of 370

    This is a bug in build 370 been solved.

    A work around to a different build gets displayed is also adding a SpanElement to the ParagraphElement.

    Richard

Maybe you are looking for

  • Firefox can be installed on a laptop of Chrome?

    No further details. I would use my Chromebook to run a programme of work, but it does work through Firefox.

  • Recovery of disk space problems.

    Whenever I run the disk cleanup on C:, the amount of available free space DECREASES immediately. Why? I ran the Disk Defragmenter (39 hours) and it did nothing. The c: drive was 60% fragmented before and after executing it. Windows 7. Acer Aspire lap

  • I lost all the entries in my list of Favorites

    I did a system restore and all elements in the list of my favorites have disappeared - I can see them in Explorer with all the files, folders and URLS, but how their bacl to my favorite list? Help, please. Kath

  • E5470 USB Bus controllers

    Hi all I have problems with the driver for the USB controller from the cab files to my laptop E5470. I tried all (A00, A01, A02, A03) versions of cabs with the result that it blue screens after that the image is deleted. When I exclude the MTD driver

  • Security won't allow me to install a download

    I have parental controls installed on the computer of my nephew and I am trying to install a game for him, Minecraft, I bought. I got the game downloaded, but when I go to my downloads and click the icon to open the download and install it, a window