Drupal Webform Excel Export: Warnung zu falscher Dateierweiterung beheben

Drupal Webform Excel Export: Warnung zu falscher Dateierweiterung beheben

Das Drupal Modul "Webform" erlaubt es, die gespeicherten Formularergebnisse nach Excel zu exportieren.

Aktiviert man den Export als Excel (unabhängig vom ausgewählten Separator) erhält man allerdings beim Öffnen der Datei in Excel eine Warnmeldung von Excel:
"Sie versuchen eine Datei zu öffnen, {Dateiname}, deren Format von dem in der Dateierweiterung angegebenen abweicht. Stellen Sie sicher, dass die Datei nicht beschädigt ist und aus einer vertrauenswürdigen Quelle stammt, bevor Sie die Datei öffnen. Möchten Sie die Datei jetzt öffnen?"

Quelle: MS Excel (Fotos + Warnmeldung)

Dieses Problem lässt sich beim Excel Export direkt nicht beheben. Stattdessen gibt es eine bessere Lösung: Den Export nach *.csv!

Dabei gilt es allerdings zu beachten, dass csv keine Kommata als Trenner, sondern Semikolon zur Trennung verwendet.

Sofern Excel als Standard mit der .csv-Endung verknüpft ist, wird die exportierte Datei nun fehlerfrei sofort geöffnet.
Hier die korrekten Einstellungen als Screenshot:

AttachmentSize
drupal_webform_export_format_excel_warnung.png4.02 KB
format_von_dem_in_der_dateierweiterung_angegebenen_abweicht.jpg25.73 KB
Einordnung:

Comments

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Internal paths in single or double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or path. Paths to files in single or double quotes, written as "files:somefile.ext", for example, are replaced with the appropriate URL that can be used to download the file.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><blockquote>
  • Lines and paragraphs break automatically.
  • Pairs of<blockquote> tags will be styled as a block that indicates a quotation.
  • You can enable syntax highlighting of source code with the following tags: <c>, <cpp>, <css>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <smarty>, <xml>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Textual smileys will be replaced with graphical ones.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.