-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Requested by: Philippe Verley at IRD on the Speciforum
The title purposefully mimics Automatically create a new Preparation, Determination, or Collection Object Attribute upon CO creation and says it all.
The
Embedded Collecting Eventoption and the three remote preferencesCO_CREATE_COA,CO_CREATE_DET&CO_CREATE_PREPproved very useful for easing up and securing new CO entry. Number of clicks is decreased and mandatory fields are clearly identified.A
Collecting Eventdoes not make sense without aCollectorin CAY herbarium. When I set up theCO_CREATEpreps, my colleagues immediately asked whether a newCollectorcould be automatically created as well, since it is mandatory in our data entry process.☝️ Can one automatically creates a new Collector upon CE creation ?
A quick look at
CollectionObjectinitialization andCollectionObject Resourcesinitialization seems to indicate that presently answer is no and that it may not be straightforward to implement.🤔 I'm also wondering why you decided to implement COA, DET & PRE creation through Remote Preferences ? (genuine question) Have you thought of a generalized approach in
viewdefresources, with for instance and XML attribute that would control the underlying resource creation ?<!-- COA subview with 'create' attribute --> <cell type="subview" viewname="CollectionObjectAttribute" id="10" name="collectionobjectattribute" colspan="14" initialize="" create="onDataEntry"/> <!-- Collector subview with 'create' attribute --> <cell type="subview" viewname="Collector" id="12" name="collectors" colspan="12" rows="3" create="onDataEntry" />The
createattribute could accept several values:
never(default)onDataEntry: create the underlying object on new data entry onlyifEmpty: create the underlying object on new data entry or on data edition if empty- ?
Feel free to split the last bit to a separate thread "Generalizing automatic object creation on Data Entry" if the thought interferes with my 1st question on collector creation.
