Dependent Properties: Mandatory Sub-properties

Hello,
I have the following requirement: When the user fills in property A, then it is mandatory to fill in property B. (i.e. B only becomes mandatory if the user fills in property A).
Is this something configurable with standard CM config? Can I use dependent properties for this?
I have read through the guide "How to Configure Predefined Properties with Dependent Values", but it addresses a different scenario.
Thanks in advance,
Martin

Hi Martin,
I'm afraid this is not possible with the standard CM configuration. You can configure a property to have dependent values from another property but you have to mark on the properties that are displayed on the screen, if they are mandatory or not (and they get a red star). Unfortunately this checks not if the "dependOn"-property is also marked as mandatory or not.
Best regards,
Robert

Similar Messages

  • Dependant properties in XML Forms

    Hi all,
    I have a set of dependant properties, simillar to the Country / Cities example in the sap guides, and i understand how i can add this to the properties of a file, but how would i go about presenting these properties through the edit screen of an XML Form so that the cities properties display when a country is selected?
    Thanks

    Hi Richard,
    I would suppose that the property renderer which renders your dependant property takes care of this.
    The property renderer for the country property would have to make sure that when a country is selected the city property values are changed accordingly. The easiest would be to just do a server roundtrip with the new country value. The renderer for the city property would check the value of the country property and display the appropriate values accordingly.
    There is a renderer in the standard for dependant properties. Maybe that one will work for you as well. It is:
    Name: multi_dependence
    Codelink: com.sapportals.wcm.control.util.PropertyRendererMultiDependence
    Hope this helps,
    Esther

  • Dependent properties in XML Forms

    I followed this article
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/de31ec90-0201-0010-be95-f501d25027a8 ]
    and I tried to apply the example of dependent properties in a XML form.
    It didn't work.  The dependent property doesnt't refresh as it does in a Details dialog box. Does anyone know how to do it in the Edit Form?
    Are dependent properties supported by XML Forms?
    Thanks in advance.

    Hi Gabriela,
    unfortunately, this functionality is not supported in the XML Forms (out of the box), in the current version.
    Best regards,
    Robert

  • [svn] 3363: Fix performance problem when changing multiple DisplayObject-dependent properties .

    Revision: 3363
    Author: [email protected]
    Date: 2008-09-25 11:58:56 -0700 (Thu, 25 Sep 2008)
    Log Message:
    Fix performance problem when changing multiple DisplayObject-dependent properties. The call to assignDisplayObjects() is now batched up into the next commitProperties() call.
    Bugs: SDK-17033
    Reviewer: Deepa
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17033
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as

    hello sir,
    i want to your help
    i was installed fresh windows 7 via cd rom and then after installed all software.
    and now after 1 day customer complained me that cd rom not read any cd and i m also check when i insurt cd so its not read and when i am double click on cd rom icon its eject so what i do for that please reply on my email address.
    [text removed for privacy]
    VIMAL

  • Environment dependent properties

    Hi,
    In the past, I have created an application (outside NWDI) that connects to an ABAP stack. The connection parameters were stored in an XML file inside the deployable archive. The XML file was adjusted before deployment, depending on target environment (DEV, QA or PROD).
    This approach is not possible using NWDI. What's the best practice to support this kind of environment specific data on a Java stack?
    In ABAP I would create a Z-table for the properties and generate a table maintainer for SM31, but creating tables and surely creating maintenance GUI on the Java stack is taking too much time imo. Afaik there is no se16/sm31 for Java tables.
    For example, isn't there a portal service that can read custom properties that are editable in Visual Admin?
    Thanks,
    Jeroen

    Hi pascal,
    Thanks for your reply. It's a portal service connecting to an ABAP gateway to register itself as a JCo service. It also logs in to the ABAP system. I'll investigate if the system landscape service is flexible enough to store all the needed parameters (e.g. logon credentials).
    Regards,
    Jeroen

  • [svn:fx-trunk] 6201: Introduces a new method to the IItemRendererOwner contract, updateRendererInformation(), which handles the setting of a renderer' s data and data-dependant properties.

    Revision: 6201
    Author:   [email protected]
    Date:     2009-04-22 14:15:50 -0700 (Wed, 22 Apr 2009)
    Log Message:

    Well the answer depends on whether you want to use the DefaultTableModel or a custom TableModel. The key point to either solution is that you want to store all the data in the table model.
    1) Using the DefaultTableModel
    All the data from your Person object is added to the model. By default the table will create a column for each column of data added to the model. However, this doesn't mean that you need to display every column in the table. After creating the JTable you can simply do:
    table.getColumnModel().removeColumn(...);to remove the columns you don't have room to display. You can still access the values in the model by using:
    table.getModel().getValueAt(...);2) Create a custom TableModel
    You can keep all the data in your Person object and then write a custom model to access the data. Something like this example:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=610618
    Note: the example isn't complete as you still need methods to add each Person object or the entire List of Persons to the model.
    Again, you would need to remove the columns you don't want displayed.
    In either case you can then handle the tooltip by overriding the getTooltipText(...) method. Something like:
    public String getToolTipText( MouseEvent e )
         int row = rowAtPoint( e.getPoint() );
         int column = columnAtPoint( e.getPoint() );
         Object value = getValueAt(row, column);
         return value == null ? null : value.toString();
    }

  • FPM Form GL2 Toggle Button Type-Dependent Properties

    Hi Experts,
    This is a maybe a Thomas Jung kind of question.
    I am implementing Form UIBB GL2 and using a toggle button to expand/collapse details. It is doing the trick however, when it the toggle status is checked the image disappears. The reason for that the image_checked attribute of the element appears as a checkbox field on the component configuration page as below.
    and when I tick the checkbox it is completely loosing it. I suppose it is assinging an "X" to the image_checked value and of course it is not recognised as an image.
    So, is there a way to set image_checked value into the component configuration, or should I take the hard way using  if_fpm_guibb_form_cfg_gl2 to add the button to the desired location. I really don't want to waste more time with this.
    This really looks like a bug to me, and I hope there already is a solution.
    SAP_BASIS
    731
    0010
    SAPKB73110
    SAP Basis Component
    SAP_ABA
    731
    0010
    SAPKA73110
    Cross-Application Component
    Best Regards
    Emre

    So no one know what this issue is, interesting. I am going to create a customer note..

  • Making Dependent information mandatory in Oracle Advanced Benefit Options

    Hi,
    If employee select Employee + Spouse option through SSHR, system should ask him to select spouse from available dependents. This has to be at option level.
    Where this is setup?
    Cheersss...
    Sandip

    Navigation:
    1. Employee self service
    2. Benefits
    3. Update Benefits
    4. Select Employee + Spouse option
    5. Next
    6. He should be able to select spouse from existing list of dependents and he must select it as for this is option, selecting spouse is manatory(Business requirement)
    7. Submit the request.
    Basically for particular option, dependent selection should be required. I checked in the system. There is dependent designation at plan level. That was not working as per my requirement. I want it at option level. If I select spouse, system should ask for marriage certificate and she should not get enrollmed till certificate is provided.
    Hope I am clear!
    Please ask if more detail is required.
    Cheersss...
    Sandip

  • Metadata Properties and XML Form

    Hello,
    I have two metadata properties, Country and City, City is a dependent properties, when I select a Country the City change according to the value of Country. I put  in the XML form two combo box associated with Country and City properties, the Country is filling correctly, but the City is filled with numbers instead of the name of the City, and it don’t change according to the Country. If I see the properties in the details of the Xml Forms this two properties work fine. What is wrong? It is possible to include a dependent property in a XML Form or there is another way to do that?
    Thanks in advance for your help
    Maria Teresa

    Hello,
    Thanks for your help, but I read this document and I create the properties Country and City, they work fine if I check this in the Details of a document, but when I put this two properties in the XML Form, the Country property works fine, but the City property isn't filled with the valued I configured. What is wrong, how can I put a dependent property in a XML Form?
    Thanks
    Maria Teresa

  • Metadata Properties in EP 7

    Hi All,
    This is in reference to the metadata properties in KM of EP 7,
    i have to create the dependent properties in system group of Property metadata.
    As an eg:
    One Property will be Books, the dependent prop will be the categories of the books like Fiction, Non Fiction etc and so on...
    this i have done in EP 6 but the same is not working in EP7.
    This should come when somebody is trying to upload some document and he can then index the documents as above said categories....
    Kindly Guide...
    Thanks in advance...
    Regards
    Piyush B

    -

  • Transactional/Consistent properties

    I'm thinking that it would be very nice to have related properties updated all at the same time, only firing their events when they are all in a consistent state. So for exampe, if I have a widthProperty and a heightProperty, and a third property depended on that (areaProperty) I would like to make it so that areaProperty is always in a consistent state.
    However, as soon as I change either widthProperty or heightProperty, the areaProperty will get recalculated and since it queries the other x/y property it will calculate a non-existant area value as an intermediary value.
    So, I'm wondering if there is something I can do about it. This example is simplified, it might be about a dozen related properties, not just two.
    Anyway, I thought a few solutions:
    1) have a versionProperty that is only updated after all the other properties have been updated -- areaProperty can then trigger off that and only calculate the value when a new version is available. This kind of sucks because direct binding to the "real" properties would then be discouraged.
    2) have a containing property, like Dimension in this simplified case, and then do bindings that start with the containing property (like Bindings.select(dimensionProperty, "x")). This way I could create a new Dimension object (certain that it has no listeners), set its x/y and then update the dimensionProperty -- listeners will see all changes at once.
    I don't like either of these solutions. The first one because it makes it impossible to direct bindings, and the second one because I'd like to avoid doing Bindings that are only checked at runtime (and involve creating new objects, which makes it hard to do direct bindings without monitoring the containing object as well).
    Are there any other solutions?

    Yes I have noticed the same problem while implementing the same scenario I detailed in my response. Luckily for me all the values finally converged to the right value, I think the ChangeListener was called multiple times with the final one having access to the final values. But in the end it was a non-issue for me as I only ended up relying on the height property, and did not have to worry about the width. But still I see the point.
    For 1) does this assume that both dependent properties will change at the same time? I imagine there are three scenarios; one of the dependent properties changes, the other one changes, or both change.
    A simple solution for the case that both dependent properties must change together is to use two boolean flags. Since the ChangeListener is an anonymous class, the two booleans can be member variables. The same ChangeListener is applied to both height and width properties. When changed() is called set the flag of the ObservableValue (either height or width), then change the area if both flags are set, then after calculating the new area change the flags back to false. Though this still will not take care of the situation where only one dependent property might change and not the other.
    If the solution must allow the scenario of only one dependency being changed, as well as both, then I just do not see how to avoid having the intermediary value... though maybe my imagination is lacking today.
    thanks
    jose
    Edited by: jmart on Sep 10, 2012 1:36 AM

  • How do I change the actual icon of a sub VI?

    This is most likely an easy question...
    After I create a Sub VI, I'd like to customize the icon that appears, instead of using the defauly "2" or "3" icon, depending on which Sub VI I created.  Can you use a small image file?  Where is the option to modify the appearance?
    TIA
    Message Edited by LV_Student on 06-12-2006 09:03 AM

    In the chapter "Creating an Icon" of the LV help you can find the following:
    Right-click the icon in the upper right corner of the front panel or block diagram and select Edit Icon from the shortcut menu to display the Icon Editor dialog box. You also can display the Icon Editor dialog box by selecting File»VI Properties, selecting General from the Category pull-down menu, and clicking the Edit Icon button.
    To create or edit a custom control or indicator icon, right-click the icon in the upper right corner of the Control window and select Edit Icon from the shortcut menu to display the Icon Editor dialog box.
    Click the 16 Colors or 256 Colors box to select which icon you want to create.
    For VI icons, place a checkmark in the Show Terminals checkbox to show an outline of the connector pane on the editing area. The connector pane is only a guide. It does not appear in the final icon.
    Use the tools on the left side of the Icon Editor dialog box to create the icon design in the editing area. The normal size image of the icon appears in the appropriate box to the right of the editing area.
    Before coming to the forums with such questions, it may advance your knowledge, if you search the LV help first. You'll always find things you did not know before.
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Why time-dependent not work for cost center and profit center hierarchy

    Has anybody been able to successfully turn on time-dependent for cost center hierarchy? Looks like the R/3 datasource 0COSTCENTER_0101_HIER is defaulted to be NOT time-dependent, and I don’t know how to change the R/3 configuration to enable time-dependent for this datasource.
    Here is what I found. If you go to RSA2 in R/3 and enter datasource 0COSTCENTER_0101_HIER, and then select "Hierarchy Info", you will see that all the time-dependent properties are unchecked by default. By comparison, Cons Unit datasource 0CS_UNIT_CSCU_HIER has “Version Dependent Hierarchy” as selected, and we are able to load Cons Unit hierarchy as time-dependent, but have no luck so far with the Cost Center hierarchy.
    Can any BI guru tell me how I can make time-dependent work for the cost center hierarchy?
    Thanks a bunch!

    Check SETLEAF and SETNODE.
    Basically CO Master data groups dont have seperate tables. They will be available in above tables. Choose proper Set class to filter the results

  • Sub-contracting in routing

    Hi,
    i have one routing for my finished good with some 10 operations.the bom is simple with bar as input & Finished goods as output.
    The first 3   & the 8th operation  are mandatory sub-contracting operations & the rest could be in-house or external depending upon  available capacity .
    i have done the neceassary settings for mandatory s/c operations.
    since the routing is for only one material,the MM Module is objecting as they need some material identification as it involves excise etc.My s/c operation is only for my operation,yes it involves material.But in single routing material codification cannot be done for wip stages.
    Is this possible with 1 routing? or should i go with routing in each stage?
    please advise
    regards
    afroz

    Hi afroz
      As ou need WIP at each stage and also involving excise and subcontracting I suggest you go for different Routing and BOMs.
    for the first 3 and the 8th operation maintain the BOM for each operation with part identification at each level( different part nos) for operation 4-7 maintain 1 routing and BOM. You can get the WIP when you carryout operation wise confirmation. for the remaining operations you can have 1 Routing and BOM for Inhouse and also alternate BOMs at each level for subcontracting and maintatin the proc type X  and maintain quota arrangement.
    hope this helps
    Regards
    SK

  • Creating dependent values in XML forms

    Hello,
    I need to create subcategory that depends on the chosen category.
    So, I have created properties with dependent values and it work just the way I need, but my problem is that I need to use them in XML form.
    Does anybody have any idea how to build an XML form with two fields and the values of the second field will depend on the chosen value of the first one?
    Hopefully somebody can give me an advice pretty soon, because I need to solve the problem urgently.
    Thanks in advance,
    Inna

    Hi Inna,
    Unfortunately dependent properties are not supported by XMLForms.
    Patricio.

Maybe you are looking for