Letractively / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

Allow a field to be specified as a “timestamp” field where the date is automatically entered #120

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is Enhancement 7 in Task Order 4.

It is very useful to capture a “last modified” date for new or edited 
features.   We would like to be able to configure an optional field in the 
editable datalayer to contain a string and to have OLIVER automatically enter 
the timestamp into this field every time a feature is created or modified.  
This field should be shown to the user but not editable by them (see 
Enhancement 4).  To enter a date into an Oracle DATE field a very specific 
format is required.  To reduce development costs we propose to use a string 
value instead.

Configuration Parameters:
1.  The editable layer name
2.  The “timestamp field”

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 23 Jan 2012 at 2:17

GoogleCodeExporter commented 8 years ago
Implemented to support hidden or readOnly timestamp fields in the edit tool

A tool configuration for a field of an editTool with a readOnly timestamp might 
look as follows:

{
    name: "DATENTERED",
    auto_timestamp : "Y-m-d\TH:i:s.ms"
}

A hidden timestamp field might look as follows:

{
    name: "DATENTERED",
    auto_timestamp : "Y-m-d\TH:i:s.ms",
    hidden: true
}

Original comment by maric423@gmail.com on 7 Feb 2012 at 2:51

GoogleCodeExporter commented 8 years ago

Original comment by maric423@gmail.com on 7 Feb 2012 at 2:51

GoogleCodeExporter commented 8 years ago

Original comment by Aleda.Fr...@state.ma.us on 22 Feb 2012 at 4:00