Foreign Field not showing correct list??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PhotoMommie
    Member
    • Dec 2019
    • 47

    Foreign Field not showing correct list??

    I'm having an issue with my foreign entity showing the correct list.
    Here is the "links" section of my Case entityDefs:

    "links": {
    "plan": {
    "type": "belongsTo",
    "foreign": "cases",
    "entity": "Plan",
    "audited": false,
    "isCustom": true
    },
    "contacts": {
    "audited": false
    },
    "sampleDoors": {
    "type": "hasMany",
    "foreign": "case",
    "entity": "SampleDoor",
    "audited": false,
    "isCustom": true
    },
    "doorImage": {
    "type": "belongsTo",
    "entity": "Attachment",
    "skipOrmDefs": true,
    "disabled": true
    },
    "documents": {
    "type": "hasMany",
    "foreign": "case",
    "entity": "Document",
    "audited": false,
    "isCustom": true
    }
    }

    However, this is what I see in the available dropdown:

    Can I get help on figuring out what is wrong with this?
Working...