Announcement

Collapse
No announcement yet.

Set the relationship panel to read-only for some pre-defined conditions

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

  • Set the relationship panel to read-only for some pre-defined conditions

    I have 2 entities Mstr and Dtl with one-to-many relationship (1 Mstr record with multiple Dtl records)

    There is a relationship panel of Dtl in the detail view of Mstr.

    I can set the fields of Mstr to read-only for some pre-defined conditions. how can I set the relationship panel of Dtl to read-only for some pre-defined conditions?

    Thanks




  • #2
    If you can not achieve this with Dynamic Logic feature, you can override detail small view and set it with the code

    https://www.espocrm.com/documentatio.../custom-views/

    'recordViews' =>
    array (

    'detail' => your detail view,
    'detailSmall' => your detail small view
    ),

    'modalViews' =>
    array (
    'detail' => your view
    ),

    OR field view, if it's enoght

    Comment

    Working...
    X