How to maintain layout data irrespective of the layout changes.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krishnapriya
    Senior Member
    • Aug 2017
    • 209

    How to maintain layout data irrespective of the layout changes.

    Hi,

    With the help of this comment=> http://forum.espocrm.com/forum/devel...3779#post33779

    I have added data-name attribute to all fields in custom/layouts/entity/detail.json and it is working perfectly.

    But whenever I modify the detail layout of the entity from layout manager(add/delete one field), custom/layouts/entity/detail.json loads again and the data-name attribute is lost. I have to type them again.

    This happens when I rebuild from administration also.

    How to maintain the data-name attribute unchanged in custom/layouts/entity/detail.json file irrespective of the layout changes.

    Please help.

    Thanks.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    go to custom/Espo/Custom/Resources/layouts/{Entity}/detail.json and add it again.
    Hope it will be fixed soon.

    Comment

Working...