CSV Export skip attribute

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rinorway
    Senior Member
    • Feb 2016
    • 179

    CSV Export skip attribute

    CSV export is mostly used for quick inspection or reporting in other programs.

    But if you have a textfield or Wysiwig field, the CSV export is useless because of the newlines etc that get exported.

    in application\Espo\Services\Record.php there is a static list for attributes to skip.
    PHP Code:
         $fieldListToSkip = array(
                'modifiedByName',
                'modifiedById',
                'modifiedAt',
                'deleted',
            ); 
    
    and an empty
    PHP Code:
    protected $exportSkipAttributeList = []; 
    
    It would be great to have this available as a global preference or at the entity/attribute level, or even at runtime.


  • wtconseil
    Active Community Member
    • Apr 2015
    • 335

    #2
    Yep that could be great +1 !
    any kind of tricks as an easy workaround ?

    Comment

    • telemarket2
      Junior Member
      • Nov 2015
      • 20

      #3
      yes +1

      Comment

      Working...