[Mapbender-users] mapbender 3: Dateiupload bei digitzer

mark kellermann mark.kelly228 at googlemail.com
Fri Sep 4 01:40:53 PDT 2015


Hallo,

ich teste die Funktion des Dateiuploads im Element digitizer.
Leider bekomme ich die Funktion nicht zu laufen!

Folgend die YAML Beschreibung:

sim15:
    label: 'Schaden erfassen'
    maxResults: 1500
    featureType: { connection: str_mittenwalde, table: sim15, uniqueId:
gid, geomType: point, geomField: the_geom, srid: 25833 }
    openFormAfterEdit: true
    popup: { title: 'Schaden erfassen', width: 500px }
    tableFields: { gid: { label: Nr. }, ot: { label: OT } }
    formItems: [{ type: tabs, children: [{ type: form, title: Erfassung,
css: { padding: 10px }, children: [{ type: breakLine }, { type: upload,
title: 'Datei hochladen', name: file1, path: digitizer_upload_vorlage,
format: '%name%', allowedFormats: [jpg, png, gif, pdf] }, { type: breakLine
}] }] }]

In der Kartenanwendung öffent sich das popup, mit folgendem Inhalt:

{"type":"upload","title":"Datei
hochladen","name":"file1","path":"digitizer_upload_vorlage","format":"%name%","allowedFormats":["jpg","png","gif","pdf"]}

Andere Elemente Funktionieren einwandfrei!

Mit der Bitte um Hilfe!
Danke.

MfG
Mark Kellermann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20150904/e020f79a/attachment.html>


More information about the Mapbender_users mailing list