[Mapbender-users] store user info with digitizer

Schmid Otto Otto.Schmid at stadtwerk-am-see.de
Sat Apr 4 10:41:04 PDT 2020


Hi Hardy, 
YAML-Definition for the element Digitizer: 

  featureType:
    connection: db_name
    table: table_name
    uniqueId: gid
    geomType: point
    geomField: the_geom
    srid: 25832
    events:
      onBeforeSave: '$feature->setAttribute("last_user", $user->getUsername());'

VG
Otto

-----Ursprüngliche Nachricht-----
Von: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von Hardy
Gesendet: Samstag, 4. April 2020 10:26
An: Mapbender_users at lists.osgeo.org
Betreff: [Mapbender-users] store user info with digitizer

Hi,

which user info could be stored when digitzing?
I like to store the current user Name or id into the datarow when digitizing.

Regards
Hardy






More information about the Mapbender_users mailing list