This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create a multi-valued and drop-down custom attribute on OIM

Hi experts,

I need to create a drop-down multi-choice custom attribute with a limited list of values that once all values has been selected, they has to be storage on a multi-valued custom attribute on "Person" database table. I created a custom multi-valued attribute through a Person table extension but when I tried to edit the permissions for the Person database table on the Designer and I check "multi-valued column" option on the "Properties/More" tab, it automatically disable the "Define list of values" properties on "Properties/Column" tab.

Am I doing the correct process to create this type of attributes or there are other steps to do it properly?

Thanks in advance!

  • This sounds like you want a multi-select ComboBox for your web-portal. AFAIK, there is no OOB functionality for that provided by the Web Designer or even the data model.

    For the data model, you could use a simple MultiValue field and then maybe enforce the limited values through the formatting script.
    For the web portal, you would then have to implement a custom PropertyEditor-style component for that field, probably using checkboxes.
  • Unfortunately we haven’t been able to find a suitable solution yet. I feel like there must be an easier way to implement what we want. Let me explain myself a little better just in case someone comes up with an idea.

    When requesting a product, inside the request form (where the “reason”, “priority” an “valid from” inputs are shown) we would like to have an attribute that when clicked displays a drop-down list in which you can select more than one value. Something like the image above. We are more concern about the front-end part of the issue… Is there any element in the web designer that fulfills this requirements? I’m pretty confident someone has come up with the same problem as us.

    Thank you all in advanced for the help.

  • The HoverPanel display node is pretty flexible for these kind of things. The Head part is displayed and when you click on it (configurable) the Content part pops up.

  • Hello,

    We have been trying to find a solution for this but we ran out of ideas. We saw that creating a multivalue FK column is not possible, but maybe there is some configuration that can fulfill this needs either in the data model or in the web designer.

    Thanks in advance,
    Adrian
  • Just to clarify a little bit. We want something like how the recipients in a request is working but in the request properties, in order to have 2 or more objects added in the shopping cart item table at the same time.

     

  • I still think this should be possible using a custom property editor.

    To be more specific, copy VI_Common_PropertyEditor and write your own implementation of it (maybe use the HoverPanel for the design). Then assign your new component as "component to edit a value" in your property definition (for the Person editor form it's in the VI_Employee_Edit configuration section).

    Not saying it will be quick or easy, but it should work like that.