Announcement

Collapse
No announcement yet.

Modify edit modal view of entity

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

  • Modify edit modal view of entity

    Hi,

    I want to add some custom logic regarding to autofill an entity field based on some data i have on browser's localStorage.

    I made it for full form view of the entity but i can't make it works for the modal view.

    In clientDefs i overridden edit-small view but nothing happens.

    Any ideas?

    Thanks



  • #2
    Hi,
    If you are making some changes in js or json files you always need to clear cache in Administration -> Clear Cache. Also, you don't need to fire Clear Cache each time if you uncheck the 'Use Cache' box in the Administration -> Settings.

    Comment


    • #3
      Hi,

      Thank you very much for the tip.

      My mistake was in the json file definition, i was overriding "views" and i needed to override "recordViews"

      I upload the correct json definition for what i was trying to accomplish.

      I hope it helps someone in the future.

      Comment


      • espcrm
        espcrm commented
        Editing a comment
        Any screenshot of it in action?
    Working...
    X