Remove the property on a component OOTB

Hello

I want to delete a property of a component STANDARD - I can do using dyn admin or by creating a new properties file?

Hi ORA-100,

For example, if you want to remove an ootb-firstName property.

1. search & open the repository that you want to extend in dyn/admin (in our case it is ProfileAdapterRepository)

2. click on 'Definition of repository examining' and there you can see - CONFIGPATH Filename: /atg/userprofiling/userProfile.xml

In the userProfile.xml looking for the point-descriptor 'user' and see a table.

.

In this table ootb related profile properties are defined. You can search the property "firstName" let's delete.

3. now you have to the layer of the userProfile.xml in your custom module of ATG at the same place in the path of configuration in xml STANDARD format.

4 NextcCreate a new array that extends from the original table point important taking into account that a column that stores the id of the repository of this descriptor of point - call us as USER_ID. It's basically the primary key for our new (auxiliary) table and the foreign key to dps_user. This means that the value of the column 'id' in dps_user is the same as 'user_id' in custom_user. This is to ensure that our new table is related to the previous table and remove your property here as below.

Here, you can copy the tags required as gsa-model for an xml for step 2 userProfile.xml; remaining code required for the delete operation is as below.

Let me know if you face any problem.

Kind regards

Prateek Gupta

Tags: Oracle Applications

Similar Questions

  • Change the property of a component for a State given in actionscript

    Hi all

    In fact the following will be used in a skin (mxml). But I guess that this has no influence on the issue.

    Suppose I have two States, say 'normal' and 'highlight '. Suppose that there is a component of path spark with a fill property

    <s:fill>
      <s:SolidColor id="fullTabPathFill" color="#333333" color.highlight="#999999"/>
    </s:fill>
    

    So I can do the following to change the color property using actionscript,

    function creationComplete():void {
      fullTabPathFill.color = 0x444444;
    }

    But what happens if I want to change the color in the State "hightlight property? Is it possible to change the property 'color.highlight' using pure actionscript? Or is this a situation where only a variable bindable can be used?

    Thanks for your reply.

    create a new style on your component and how to bind the color.highlight property to it

    Take a look on

    http://www.jamesward.com/2010/07/30/how-to-define-styles-on-skins-in-Flex-4/

  • How can I remove the asterisk '' necessary '' to selectOneRadio

    Using JDeveloper 11.1.1.4.0

    How can I remove the asterisk '' necessary '' to a component of selectOneRadio? I set showRequired to false, as shown below, and yet the asterisk has not changed. Y at - it somewhere else this parameter substitution?
          <af:selectOneRadio value="#{bindings.CP_Files_LocationVO1.inputValue}"
                             required="#{bindings.CP_Files_LocationVO1.hints.mandatory}"
                             shortDesc="#{bindings.CP_Files_LocationVO1.hints.tooltip}" id="sor1"
                             inlineStyle="text-align:left;" showRequired="false">
            <f:selectItems value="#{bindings.CP_Files_LocationVO1.items}" id="si1"/>
          </af:selectOneRadio>
    Thank you
    Troy

    Hi Troy,

    Remove the property required of af: selectOneRadio (or set it to false).
    This property defines the required behavior, such as the obligatory indication (the asterisk) and it checks if it has a value.

    In your example, it seems that it is related to the attribute of a business component, which I think is mandatory.

    The showRequired property is to put compulsory indication without really defining the mandatory component. This setting has no effect if the required property is set to true.

    Ciao
    Aino

  • Remove the empty space of the entry component labeling

    Hi, OTN,.

    Some components entry such as inputNumberSpinBox or date. MinValue has the integrated label attribute.
    Between the label and the component itself, there is an empty space (5px width).

    If I erase label of the component that the space still exists – it makes my page look messy.
    How to remove this space empty?

    Thank you.
    11.1.1.3 JDev

    Hello

    you have the simple property = "true"; on the pane?

    I don't know, but I think that it removes unwanted space, but also removes the page label.

    In my case, I used panelLabelAndMessage container with the date inside and the label component in the panelLabelAndMessage.
    He helped me keep things lined up.

    Hope this helps,

    Kind regards

    Dimitris.

  • Recently upgraded to El Capitan, I had that problem for Mail stop unexpectedly when I saw some posts.  I followed the steps and was able to remove the trouble messages.   Now I can't restore the mail window message viewer component.

    Recently upgraded to El Capitan, I had that problem for Mail stop unexpectedly when I saw some posts.  I followed the steps and was able to remove the trouble messages.   Now I can't restore the mail window message viewer component.  When I try to catch the separator bar to go back to the left, only half of the small arrow icon and line appears, and it cannot be moved.   Can open the message by double clicking a message viewer.

    Hi there, alicefrompa!

    Thank you for using communities Support from Apple. From your post, I understand that you do not see the Message Viewer box which allows you to read your e-mails; only see you the Inbox that includes a brief overview of the message and are unable to restore access using the separator bars. I have had this happen to my own Mail app and am happy to let you know how I could fix!

    You are really on the right track - you want to roll your mouse over the divider between the Inbox and sections Message Viewer (which should now be on the extreme right edge of your mail window) and drag it to the left.  When you click on the receipt/Message Viewer box, the cursor turns into a line continuous black with a single arrow pointing to the left. When you see the cursor change, click with the left button of the mouse and (while holding down the mouse button in) drag the combination line / arrow to the left. You may need to drag a little further than before to get it. I had to hang mine almost completely in the middle of my Mail app before the display of the message box appeared.

    From there, you should be able to adjust the boxes to your widths you want as expected.

    If you are still not able to get the display of the messages visible after have try this, here are a few more things that you can do.

    1. Press command + O on your keyboard.
    2. Exit the Mail application, and then press on and hold the SHIFT key on your keyboard while reopening.
    3. Restart your Mac by selecting the menu  Apple in the upper right of your screen restart from the menu drop down.

    See you soon!

  • How to remove the dough from the pin of a component mask layer in the part Editor?

    I was a part in the editor that has a couple of rectangular PIN pads that I won't paste hidden. How can I remove the mask layer to stick pins of a component in the part Editor? I'll take any workaround, you can think so. I use version 10.1.372 thank you very much. T

    Hello

    To turn off the mask of the dough, just right-click the button, and then select Properties. Go in the tab CSA. At the bottom right, you will see checkboxes for solder and paste photomask. You can uncheck to remove the mask of the dough.

    I hope this helps.

  • − a valid license of the MODE of TRIAL will remove this message. See the property keywords of this PDF for more information.

    We recently purchased Adobe Acrobat Pro DC, however, that we were previously using a trial version, we get the message at the bottom of the documents ' MODE of ASSESSMENT − a valid license will remove this message. See the property keywords of this PDF for more information. "Is there a way to prevent the display of this message? The trial version has been removed before the installation of the purchased version.

    [Ask in the correct forum allows... Left the Premiere Pro for Acrobat... MOD]

    OK, the problem is that, even if you have purchased Acrobat Pro, you do not use it. You always use a free replacement product. Not only that, a free product in demo mode.

    When you go to print from the application, you must choose the Adobe PDF, not the PDF Creator printer.

  • remove the component inputtext by click of a button

    Hello

    I m able to add the component of text dynamically with the following code.

    public String cb1_action() {}
    Add the code in the event here...
    System.out.println ("in cb1_action3 - 1");
    UIComponent button;
    button = findComponentInRoot ("cb1");
    Pgl RichPanelGroupLayout;
    PGL (RichPanelGroupLayout) = button.getParent ();
    The names of < UIComponent > children;
    children = pgl.getChildren ();
    RichInputText;
    He = new RichInputText();
    it.setLabel ("New textbox" + (children.size ()));
    Children.Add (IT);
    AdfFacesContext.getCurrentInstance () .addPartialTarget (pgl).
    System.out.println ("in cb1_action3 - 1');
    Returns a null value.
    }


    But how to remove the same component/inputtext field dynamically?

    Hello
    Try as follows
    The names of children;
    children = pgl.getChildren ();
    Children.Remove (IT);
    AdfFacesContext.getCurrentInstance () .addPartialTarget (pgl).

  • Change the property of the component with the property name

    Hello

    I have an app that will give a TextArea (id = text) and also a component which, at some point, will try to change the property of the text box "text" to a certain value. In the component, I have two channels, one containing the name of the text box property: 'text' and the other with the future new value of this property. I want to know is how to change in the component, the property of the TextArea component with only to have his name.

    Look at the high line, this kind of watch what I want to do, I know that's not possible, but maybe there's a way you can show me to do what I want

    Example Code:

    -Application:

    < mx:Text id = "text" width = "100%" height = "100%" / >

    < local: Componente id = "Main" / >

    -Component:

    < mx:Button click = "clickhandler" / >

    < mx:Script >
    <! [CDATA]

    private function clickhandler (): void {}
    var to the: String = "text";
    var aux2:String = Hi, "it's the new text";

    parentDocument [text].setPropertyByName(àles) = aux2;

    }

    []] >

    < / mx:Script >

    }

    []] >

    < / mx:Script >

    Thanks for your help

    Sebastián Toro O.

    parentDocument [text] [at the] = aux2;

  • Public property of custom in the property panel component

    Hello

    I have ready a few days ago an article somewhere on public property of component adding custom in the Panel property of Adobe Flex 3 using a few Metatag.

    Today I thought to add my custom in the properties panel component property, but could not do, I can't even remember the meaning of this article.

    Could you please guide in this matter?

    Thank you.

    See the description of Inspectable tag in docs: http://livedocs.adobe.com/flex/3/html/help.html?content=metadata_3.html

    There are a number of categories for grouping.

    Property

    Type

    Description

    category

    String

    Includes property in a special subcategory in the property inspector UI Flex Builder. The default category is 'other '. Specify a value of 'Common good', 'Effects', 'Events', 'Layout constraints', 'Size', 'Styles' or 'other '.

  • How to hide or remove the component prying Grill

    When I lock the components in Ultiboard how can I remove the grill prying?

    Hello

    You can not hide or delete, but you can give it a different color.

    If you choose the same as the background, you won't see more...

    Options-> global preferences-> colors of the tab

    then in the "color item" selection box choose lock color and set your background color

    Success!

  • Property variant removes the animations?

    Start at the beginning.

    property variant images
    

    I have my container where I add images to.

    Container {
                id: drawContainer
                layout: AbsoluteLayout {
                }
    }
    

    from there...

        attachedObjects: [
            ComponentDefinition {
                id: imageDefinition
                content: ImageView {
                    imageSource: "cute_cat102.jpg"
                    preferredHeight: imageHeight
                    preferredWidth: imageWidth
                    animations: [
                        TranslateTransition {
                            toX: 400
                            duration: 1000
                        }
                    ]
                }
            }
        ]
    

    I add images dynamically, like this

    var imagesTmp = Array();
            for (var n = 0; n < 3 * numberOfTiles; n ++) {
                imagesTmp[n] = imageDefinition.createObject();
                imagesTmp[n].translationX = getX(n);
                imagesTmp[n].translationY = getY(n);
                drawContainer.add(imagesTmp[n]);
            }
            images = imagesTmp;
    

    So far so good. I can access any of these images and move them if I use images [0] .translationX.

    However, the animations are a problem! They work for imagesTmp but not for images!

    imagesTmp[0].animations // [object Object]
    imagesTmp[0].animations[0].play() // works
    
    images[0].animations // QVariant(QDeclarativeListProperty)
    images[0].animations[0].play(); // TypeError: Result of expression 'images[0].animations[0]' [undefined] is not an object.
    

    I wish I could be able to play animations of images, but as you can see, it won't let me. What I've done wrong?

    I need to have access to the images outside the service in what I create them.

    Hello
    Please try if it works:

    the property list images

  • remove the component style

    I use the date picker 8 Javafx. Its works fine. I've defined a style sheet for my application, and in this stylesheet, I have a button style. I apply this style to the entire scene.

    Now my question is: when I use the date picker and I click on the calendar icon, the datepicker popup appears and the left and right arrows bordering fields month and year in the seems to choose the style of the button class of stylesheet defined in my app., is there a way to avoid this and say datepicker to use default styles and styles not defined my request.

    I tried to remove the style when running from the scene, but of no use. Any help?

    Thank you

    Try to copy all the information from modena.css to something, like .date-picker button {} to 'substitute' General button class.

  • Difficulty to remove the element of ArrayDataModel in DeleteActionItem

    Hello

    I have a ListView that is filled with an ArrayDataModel. When I add data to the ArrayDataModel, it works very well. But when I want to delete a data model element in a DeleteAction I get the following error:

    asset:///Main.qml:112: ReferenceError: Can't find variable: theDataModel
    

    Here is my code:

    import bb.cascades 1.2
    import bb.cascades.pickers 1.0
    import bb.data 1.0
    
    import myApplicationData 1.0
    
    NavigationPane {
        id: navigationPane
    
        onCreationCompleted: Qt.app = app
    
        Page {
    
            content: Container {
    
                ListView {
                    id: listview
                    objectName: "listview"
    
                    dataModel: ArrayDataModel {
                        id: theDataModel
    
                        property bool empty: true
    
                        onItemAdded: empty = isEmpty()
                        onItemRemoved: empty = isEmpty()
                        onItemUpdated: empty = isEmpty()
                        onItemsChanged: empty = isEmpty()
                    }
    
                    // Use a ListItemComponent to determine which property in the
                    // data model is displayed for each list item
                    listItemComponents: [
                        ListItemComponent {
    
                            StandardListItem {
                                // Display the value of an item's title property
                                // in the list
    
                        id: component
    
                                title: ListItemData.name
                                description: ListItemData.path
                                imageSource: "asset:///images/icon.png"
    
                                contextActions: [
                                    // Add a set of four actions to the context menu for
                                    // a list item
                                    ActionSet {
                                        title: "Protocol"
    
                                        DeleteActionItem {
                                            onTriggered: {
                                                component.ListItem.view.dataModel.itemRemoved(component.ListItem.indexPath)
                                                theDataModel.removeAt(component.ListItem.indexPath) <---------------- Here I want to remove the data from theDataModel again but I get the error message: "asset:///Main.qml:112: ReferenceError: Can't find variable: theDataModel"
                                                app.ShowToast("Protokoll wurde gelöscht")
                                                app.ShowToastWithoutButton("Protokoll gelöscht")
                                            }
                                        }
                                    } // end of ActionSet
                                ]
    
                                textFormat: TextFormat.Auto
                                status: ""
                                imageSpaceReserved: true
    
                            }
                        }
                    ]
            } // end of Container
    
            actions: [
                ActionItem {
                    title: "Open"
                    imageSource: "asset:///icons/ic_open.png"
                    ActionBar.placement: ActionBarPlacement.OnBar
    
                    onTriggered: {
                        filePicker.open()
                    }
                }
            ]
    
            attachedObjects: [
                FilePicker {
                    id: filePicker
    
                    property string selectedFile
    
                    mode: FilePickerMode.Picker
    
                    type: FileType.Other
                    title: "Open document..."
                    viewMode: FilePickerViewMode.Default
                    sortBy: FilePickerSortFlag.Default
                    defaultType: FileType.Other
                    onFileSelected: {
    
                        selectedFile = selectedFiles[0];
    
                       *select file and fill it to data model *                    var data = {                                "name": name,                                "path": path,                            }                   theDataModel.append(data);  <-------------- here I append the data to theDataModel
                    }
                }
            ]
    
        }
    }
    

    It's the wrong way to access the data model? or how can I remove an item from this data model, when I remove it from the list?

    Try,

    component "". ListItem.view.dataModel.removeAt

  • Remove the container blocks app

    In my application the user can add new container objects to will be and I want to give them the ability to delete these objects as well.  In my design, I have alread QML set for the container that contains other containers, a portion of text, and a context menu.  Menu is in the context where I give the user the option to delete the container.  When remove is called a C++ function goes through my data model and removes the container of the user interface and removes the application data model object.  Problem is after I called the (container) remove call I call delete against the container and the application crashes.  I think that the crash is because I'm calling Delete against the container too early, but I don't know, and if I'm what would be a good way to work around this problem?  Here is a condensed version of the QML/code I use:

    hand. QML. stationContainer is where all new containers are added and removed

    // Application with UI adaptability support template
    import bb.cascades 1.0
    import bb.system 1.0
    
    NavigationPane {
        backButtonsVisible: true
        id: navigationPane
        objectName: "navigationPane"
    
        // create application UI page
        Page {
            Container {
                layout: DockLayout {
                }
                AppBackground {
                    // setup application background
                    background: Color.Black
                    verticalAlignment: VerticalAlignment.Fill
                    horizontalAlignment: HorizontalAlignment.Fill
                }
                Container {
                    horizontalAlignment: HorizontalAlignment.Fill
                    Container {
                        layoutProperties: StackLayoutProperties {
                            spaceQuota: 1.0
                        }
                        layout: DockLayout {
                        }
                        verticalAlignment: VerticalAlignment.Fill
                        horizontalAlignment: HorizontalAlignment.Fill
                        ScrollView {
                            scrollViewProperties {
                                scrollMode: ScrollMode.Vertical
                            }
    
                        Container {
                            property int padding: 10
                            objectName: "stationStacks"
                            layout: StackLayout {
                                id: stationStacks
    
                                // change layout direction according to current device orientation
                                // this feature is disabled for 720x720 devices in current template
                                // see: assets/720x720/AppOrientationHandler.qml
                                orientation: (orientationHandler.orientation == UIOrientation.Portrait) ? LayoutOrientation.TopToBottom : LayoutOrientation.LeftToRight
                            }
    
                            topPadding: padding
                            bottomPadding: padding
                            leftPadding: padding
                            rightPadding: padding
                            verticalAlignment: VerticalAlignment.Center
                            horizontalAlignment: HorizontalAlignment.Center
                        }
                    }
                    }
                }
            }
        }    // Page
        onPopTransitionEnded: { page.destroy(); }
    }// NavigationPane
    

    Container for model that is reused.

    import bb.cascades 1.0
    
    Container {
        topPadding: 25
        layout: StackLayout {
            orientation: LayoutOrientation.TopToBottom
        }
    
        Container {
            layout: StackLayout {
                orientation: LayoutOrientation.LeftToRight
            }
    
            Container {
    
                Container {
                    id: identifierButton
                    objectName: "identifierButton"
                    layout: StackLayout {
                        orientation: LayoutOrientation.LeftToRight
                    }
                    contextActions: [
                        ActionSet {
                            title: "Actions"
                            subtitle: "This is an action set."
    
                            actions: [
                                ActionItem {
                                    title: "Info"
                                    onTriggered: {
                                        app.showStationInfo(sIdentifier);
                                    }
                                },
                                ActionItem {
                                    title: "Refresh"
                                    onTriggered: {
                                        app.refreshStation(sIdentifier);
                                    }
                                },
                                ActionItem {
                                    title: "Remove"
                                    onTriggered: {
                                        app.removeStation(sIdentifier);
                                    }
                                }
                            ]
                        } // end of ActionSet
                    ] // end of contextActions list
                    Label {
                        id: identifierLabel
                        text: "Label"
                        objectName: "identifierLabel"
    
                    }
    
                    onTouch: {
                        if (event.isDown() || event.isMove()) {
                            // Focused, change the background
                            identifierButton.background = Color.Gray;
                        } else {
                            identifierButton.background = Color.create("#ff21697d");
                        }
                    }
                    verticalAlignment: VerticalAlignment.Center
                    horizontalAlignment: HorizontalAlignment.Left
    
                }
            }
            Container {
                Label {
                    id: stationName
                }
            }
        }
        Container {
            TextArea {
                id: stationData
            }
    
        }
    }
    

    How to take the container of model and use:

    /**
     * Setup and add the UI object for the station
     */
    void WeatherPilotApp::CreateStationUI(StationData *pStationData) {
        Container *stackPane = mApp->findChild("stationStacks");
    
    // Add the UI component
        QmlDocument *qml =
                QmlDocument::create("asset:///stationTafMetar.qml").property("app",
                        this).property("sIdentifier", pStationData);
        Container *stationContainer = qml->createRootObject();
        stationContainer->setObjectName(pStationData->getIdentifier());
        QString objectName = QString::fromStdString("identifierLabel");
        Label* label = stationContainer->findChild(objectName);
        label->setText(pStationData->getIdentifier());
    
        stackPane->insert(0, stationContainer);
    }
    

    The code to remove station is here:

    void WeatherPilotApp::removeStation(QObject* qStationData) {
        StationData* stationData = (StationData*) qStationData;
        addRemoveStation(stationData->getIdentifier(), false);
    }
    
    /**
     * Function will add, remove, or update all stations passed in as a
     * comma or space separated list
     */
    void WeatherPilotApp::addRemoveStation(QString sIdentifiers, bool bAdd) {
        qDebug() << "AddStation " << sIdentifiers;
    
        sIdentifiers.replace(',', ' ');
        vector splitIdentifiers;
        QStringList idList = sIdentifiers.split(' ', QString::SkipEmptyParts);
        for (QStringList::const_iterator iter = idList.constBegin();
                iter != idList.constEnd(); ++iter) {
    
            QString id = (*iter).toLocal8Bit().constData();
    
            splitIdentifiers.push_back(id.toUpper());
            qDebug() << "Added " << id;
        }
    
        if (bAdd) {
            //handle addition logic
        }
        // Remove the stations
        else {
            for (unsigned int idx = 0; idx < splitIdentifiers.size(); idx++) {
                for (vector::iterator it = mActiveStations.begin();
                        it != mActiveStations.end();) {
                    if (((StationData*) *it)->getIdentifier().compare(
                            splitIdentifiers[idx]) == 0) {
                        delete *it; // delete the StationData object
                        it = mActiveStations.erase(it); // Remove it from the vector
    
                        break;
                    } else {
                        it++;
                    }
                }                        // Get the main parent container
                Container *stackPane = mApp->findChild("stationStacks");                        // Get a pointer to this stations Container pointer
                Container *stationContainer = stackPane->findChild(
                        splitIdentifiers[idx]);
                bool success = stackPane->remove(stationContainer);
                if (!success) {
                    qDebug() << "Failed to remove " << splitIdentifiers[idx];
                } else {
                    delete stationContainer; // free up the memory
                }
            }
        }
    }
    

    Try deleteLater() and see if it makes a difference, but to be honest, I do exactly the same thing in my code...

    void CardEditor::onFieldRemoved(TitleValueField* tvf) {
        if (tvf) {
            CardLabelEdit* c = mLabelMap.value(tvf);
    
            if (c) {
                remove(c);
                delete c;
                mLabelMap.remove(tvf);
            }
        }
    }
    

    This command removes a CustomControl which is basically just a container with two TextFields in so pretty similar to what you want to do.

    My guess is that the problem is elsewhere perhaps with your vectorial cartography or your logic of pointer, try putting some checks and/or set a breakpoint on the removal of line and see the status of your vector and pointers at this time there.

    If you have configured all signals with these dynamic objects, you also need to exercise caution.

    [Edit] There was a good discussion about deleteLater in this thread...

    http://supportforums.BlackBerry.com/T5/native-development/deleteLater-vs-destroy-dynamic-objects-in-...

Maybe you are looking for

  • What is the default Structure factory of HARD drive?

    I have a HDD on a L755-1J5 Satellite failure. I didn't create backup of DVD discs. Duh! While the primary partition has ceased to exist, I can recover all of the recovery partition. To avoid buying the recovery disks and waiting for their arrival, my

  • used to synchronize iPod classic

    Hi, I have an classic iPod 160GB 2007 suddenly used to sync in iTunes. He recognizes the iPod, but then takes ten minutes to "check" and then told me that the ipod "cannot be synchronized because it cannot be read from or written into. I've updated t

  • Carpet * a DVD - RAM in Sat M55-325 drive does not work properly

    The Mat * one years (uj-840) DVD player does not work properly.A symptom of the problem is that the icon does not appear in 'my computer '.more and she does not recognize the CD. I went to the properties of the drive through Device Manager and saw th

  • Display connection to sbrio 9607 amulet

    Hello I would like to connect the Sbrio 9607 amulet monitor (part no783305-01). Previous related discussions in the forum, I understand that display must be connected to the sbrio using RS232. I want to assure you that it is not possible to use the U

  • How to call RT vi in the host vi?

    Please tell how to run Rt host vi vi as I am acquisition of data through shared variables of CR vi in host vi. I'm using LabVIEW 2011.