Letractively / morisoliver

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

Add the ability to prefill certain attribute values in an editing layers #119

Closed GoogleCodeExporter closed 8 years ago

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

When adding a new feature it can be useful to specify a value to be used to 
pre-fill an attribute.  For example, if adding a new feature in an OLIVER data 
viewer that is meant to only add “New Bedford” data we might want to 
automatically fill in the TOWN_ID value with the appropriate New Bedford value. 
 Per Enhancement 4 those fields might also be configured non-editable by the 
user.

Configuration Parameters:
1.  The editable layer name
2.  A list of field/default-value pairs for the layer from #1

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

GoogleCodeExporter commented 8 years ago
Implemented using fields option - value
ex:
fields : [
  name: "ORGCODE",
  value: "MASSGIS"
]

Original comment by maric423@gmail.com on 1 Feb 2012 at 9:01

GoogleCodeExporter commented 8 years ago

Original comment by Aleda.Fr...@state.ma.us on 3 Feb 2012 at 2:12