No announcement yet.

Middle field type "link" in additionalColumns

  • Filter
  • Time
  • Show
Clear All
new posts

  • Middle field type "link" in additionalColumns

    Hello there,

    I have 2 entities Contact and Oportunity, I create a "many to many" link between them.
    Then I want to add middle fields so I use additionalColumns.

    I create a field called active (boolean) but I also want to create a field called "call" which is a belongsTo link type to another entity.

    In entityDefs/Contact.json :
    "opportunities": {
    "type": "hasMany",
    "relationName": "linkContactOpportunity",
    "foreign": "contacts",
    "entity": "Opportunity",
    "additionalColumns": {
    "active": {
    "type": "bool"
    "call": {
    "type": "link", <- belongsTo
    "entity": "Call"

    I haven't figured out how to create this type of field in the middle view, is it possible or/and what's the best way to do it?​

    Thank you for your support and looking forward to your response.

  • #2
    Here is a solution by Eymen Elkum from Eblasoft:
    I guess it is possible only by using his extension for Multiple Links, which is a great Extension by the way.


    • sltctom
      sltctom commented
      Editing a comment
      Thank you for your answer,

      My problem isn't how data is diplayed but how it can be managed in back-end. Futhermore, I don't want to buy an extension to solve my problem.