Prepend to extended metadata instead of __APPEND__

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • agudek
    Junior Member
    • Aug 2018
    • 4

    Prepend to extended metadata instead of __APPEND__

    Hey all,

    I was wondering if anyone has found a way to prepend to lists in extended metadata JSON definitions? I know it is possible to append using __APPEND__, but this adds the new item to the end of the list, while I'd like to have it at the start.
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    There's no such an ability.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • agudek
      Junior Member
      • Aug 2018
      • 4

      #3
      Hi, thanks for the response! What would be the best way to implement this myself?

      I found the merging functionality in Util.php and could easily alter it to also support prepend, but that will probably be overwritten after each update right? Any pointers for keeping this extension permanent?

      Comment

      Working...