store user info with digitizer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

store user info with digitizer

Hardy
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



--
Sent from: http://osgeo-org.1560.x6.nabble.com/mapbender-users-f4220788.html
_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users
Reply | Threaded
Open this post in threaded view
|

Re: store user info with digitizer

Schmid Otto
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:[hidden email]] Im Auftrag von Hardy
Gesendet: Samstag, 4. April 2020 10:26
An: [hidden email]
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




_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users
Reply | Threaded
Open this post in threaded view
|

Re: store user info with digitizer

Hardy
Hi Otto,

many thanks fro your hint.

Hardy



--
Sent from: http://osgeo-org.1560.x6.nabble.com/mapbender-users-f4220788.html
_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users