Created on 20 August 2019, almost 6 years ago
Updated 1 March 2024, over 1 year ago

I'm attaching patch to vbo_export, which adds export to word functionality.

How it works:

  1. Renders every entity in default view mode.
  2. Export data to *.doc file as HTML table (two columns - first - label, second - data)
  3. In configuration, you can set maximum number of rows, which can be exported at once. This is to prevent memory limit error. If you have complex entity types, it may fail with bigger number of rows. Our tests shows, that limit is 5000 - 10000 items, depending how complex entities are.
  4. If user will select more rows than defined limit, confirmation form will be displayed. If user will continue, only first LIMIT selected items will be exported. (e.g. if 4000 will be set as limit, only first 4000 selected entities will be exported).

For export to word, extra patch is required for views bulk operations. See: https://www.drupal.org/project/views_bulk_operations/issues/3075992 πŸ“Œ Fix limited rows on export to word Closed: works as designed

✨ Feature request
Status

Needs work

Version

4.0

Component

Code

Created by

πŸ‡΅πŸ‡±Poland gugalamaciek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡ͺBelgium falc0

    My attempt to fix rendering nested groups

    I skipped comments in #9 for now.

  • πŸ‡§πŸ‡ͺBelgium falc0

    Fixed labels not showing in nested groups.

  • πŸ‡§πŸ‡ͺBelgium rp7

    Fixed deprecation notice: Deprecated function: Creation of dynamic property Drupal\\vbo_export\\Plugin\\Action\\VboExportDoc::$renderer is deprecated in Drupal\\vbo_export\\Plugin\\Action\\VboExportDoc->__construct().

  • First commit to issue fork.
  • Merge request !25Issue #3075993 - Export Word β†’ (Open) created by AstonVictor
  • Pipeline finished with Success
    3 days ago
    Total: 137s
    #512954
  • Pipeline finished with Success
    3 days ago
    Total: 178s
    #513040
  • Pipeline finished with Success
    3 days ago
    Total: 140s
    #513051
  • Pipeline finished with Success
    3 days ago
    Total: 164s
    #513056
  • Pipeline finished with Canceled
    3 days ago
    Total: 141s
    #513085
  • Pipeline finished with Canceled
    3 days ago
    Total: 323s
    #513087
  • Pipeline finished with Canceled
    3 days ago
    Total: 123s
    #513089
  • Pipeline finished with Success
    3 days ago
    Total: 143s
    #513093
  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    Hi there,

    Prepared a new MR with a plugin to export data as a doc file. For exporting data, it uses phpoffice/phpword package.

    Please, check if it works for you.

    p.s. I didn't update the requirements hook because the package doesn't have a changelog file from the 1.2.0 version. And there is no sense to use 1.1.0 version because it uses the deprecated utf8_encode() function.
    thanks in advance

Production build 0.71.5 2024