Menu

List of contacts, multiple same contact, how to ?

2017-06-15
2017-06-15
  • Florent Wernert

    Florent Wernert - 2017-06-15

    Hello everyone,

    In some cases for my ApplicationSolution list of contact in need to have two times the same contact because the contact has two differents role like functional owner and technical owner. However it seems like it'es imppossible to add the same contact twice. Plaese someone knows how ?
    My only solution right now is to add enum role_type choices but i don't want to.

    I need to have something like that in the contact list: "role_type:Functional Owner / contact: Dieudonnee", "role_type Technical owner / contact Dieudonne".

     
  • Florent Wernert

    Florent Wernert - 2017-06-15

    PICTURE:

     
  • Vincent @ Combodo

    There is a XML parameter to allow <duplicates>true>/duplicates> on an AttributeLinkedSetIndirect (I suspect it is safer to change this on both side of the n:n relation.)
    The standard Datamodel does not allow this on this particular relation, so you may need to customize iTop for this.
    

    There is a known bug on this feature and the UI does not handle it correctly if you try to create the two relationships in one submission, but you should be successfull if you do it in 2 changes: Modify/Apply

     
    • Jeffrey Bostoen

      Jeffrey Bostoen - 2017-06-15

      Good to read it's a known issue, I encountered this yesterday but was planning on another test to confirm it.

       
  • Florent Wernert

    Florent Wernert - 2017-06-16

    Hello Sir,
    Thank you for your answers. I tried it, but it doesn't work. The contact doesn't appers in the list when i search him for the second time. I added <duplicates>true</duplicates> in Class FunctionalCI on the attribute contacts_list.

     
  • Florent Wernert

    Florent Wernert - 2017-06-16

    OK my fault is changed it with the delta merge but it doesn't affected it contrary to redefine.
    Thank you !!!!!!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.