Announcement

Collapse
No announcement yet.

Supply layout for core Entity in extension

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Supply layout for core Entity in extension

    hi I created an extension for a project entity we use daily. It has a relationship panel for it's linkMultiple with Contacts. I would like to supply a specific layout for these Contacts. It's called listForProject.json

    How do I reference this (including the correct namespace) in files/<....>/entityDefs/Project.json ?

    I've tried the following:

    PHP Code:
       relationshipPanels:{
          
    contacts:{
             
    "layout":"<myExtensionNamespace>listForProject"
          
    }
       }, 
    but this cause a 404 for /api/v1/Contact/layout/<myExtensionNamespace>:listForProject

  • #2
    Hi

    You can't use namespaces. Just specify listForProject. Put the json file to custom.

    Comment

    Working...
    X