access to field type 'parent link'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • littlegeorge
    Member
    • Feb 2017
    • 41

    access to field type 'parent link'

    Hello,

    I want to make the field type 'parent link' accessible for all kind of entities (for creating fields in the entity Manager). So I think, I have just to replace the line

    "notCreatable": true,

    into

    "notCreatable": false,

    in the file linkParent.json.

    But how can I do that in an update-safe way?


  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    You can enable this field in EntityManager in upgrade safe way, but it won't work correctly.

    Comment

    • littlegeorge
      Member
      • Feb 2017
      • 41

      #3
      Hi Tanya,

      thanks for answering!
      Can you tell me which parts will not work correctly? Maybe I have a chance to find a workaround for my purposes.
      Thanks in advance.

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        parent field requires link parent in entityDefs in all related entities, but it doesn't created automatically from Entity Manager, as I know.

        The single street address field provided by default is not adequate for our addressing needs so I'm looking to add a second street address field. It's easy

        an example, how to change field type in upgrade safe way

        Comment

        Working...