API not returning enough data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bandtank
    Active Community Member
    • Mar 2017
    • 379

    API not returning enough data

    I'm retrieving Knowledge Base Articles through the API and everything appears to be working, but the content is not complete. It looks like the API is returning 5,000 characters, including HTML elements and tags, which is less than half of the total length of many articles. Is there a way to fix this?

    I'm using this code.
  • yuri
    Member
    • Mar 2014
    • 8483

    #2
    TEXT fields are cut when records accessed with LIST request (api/v1/{EntityType}).

    There's a config parameter 'maxSelectTextAttributeLengthForList'. You can set it to some very large integer value.
    Last edited by yuri; 07-28-2021, 07:30 AM.
    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

    • bandtank
      Active Community Member
      • Mar 2017
      • 379

      #3
      That fixed it. Thanks. Is there a list of every possible configuration parameter? There seem to be a lot of helpful parameters that aren't exposed by default.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8483

        #4
        Yes.

        Here on github (most recent version, not yet deployed to the docs site): https://github.com/espocrm/documenta...nfig-params.md

        Here on the docs site: https://docs.espocrm.com/administration/config-params/
        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

        • bandtank
          Active Community Member
          • Mar 2017
          • 379

          #5
          Amazing. Thanks.

          Comment

          Working...