talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Edit Cataloging Templates

CT
Chris Thompson
Mon, Apr 9, 2012 7:34 PM

Here at the Walker we'd like to be able to use different edit cataloging
templates for different types of objects.  Patrick mentioned that there
has been some talk about this, so here is a bump.
What we would like to see is a template per collection, so maybe instead
of CatalogingTemplate.html being the default, it would be
CatalogingTemplate-{object.collection}.html, or something like that.

  • Chris Thompson
Here at the Walker we'd like to be able to use different edit cataloging templates for different types of objects. Patrick mentioned that there has been some talk about this, so here is a bump. What we would like to see is a template per collection, so maybe instead of CatalogingTemplate.html being the default, it would be CatalogingTemplate-{object.collection}.html, or something like that. - Chris Thompson
MT
Michael T. Black
Mon, Apr 9, 2012 7:47 PM

Hi Chris,

+1 for that from PAHMA.  

Michael

On Apr 9, 2012, at 12:34 PM, Chris Thompson wrote:

Here at the Walker we'd like to be able to use different edit cataloging templates for different types of objects.  Patrick mentioned that there has been some talk about this, so here is a bump.
What we would like to see is a template per collection, so maybe instead of CatalogingTemplate.html being the default, it would be CatalogingTemplate-{object.collection}.html, or something like that.

  • Chris Thompson

Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Chris, +1 for that from PAHMA. Michael On Apr 9, 2012, at 12:34 PM, Chris Thompson wrote: > Here at the Walker we'd like to be able to use different edit cataloging templates for different types of objects. Patrick mentioned that there has been some talk about this, so here is a bump. > What we would like to see is a template per collection, so maybe instead of CatalogingTemplate.html being the default, it would be CatalogingTemplate-{object.collection}.html, or something like that. > > - Chris Thompson > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
PS
Patrick Schmitz
Mon, Apr 9, 2012 8:02 PM

The idea we have been discussing so far is that when an object is created,
we would store the name of the template used to create it, inside the
object.

Then, when editing that object, we would check that field and load the
referenced template, to edit it.

The UI could almost do this now, but I need to talk to Yura about the
order of calls in PageBuilder.js, to see what it would take to make this
work.

This means that the template name would be stored per-object. This
functionality would be supported for any type of object, procedure,
authority item, etc.

There is a related feature we have discussed as possibly being needed: When
editing an object, people may wish to switch to another template. This would
allow them to switch from an Inventory template to a full cataloging
template. I would constraint this to only be allowed if the current record
has not been changed (don't want to deal with unsaved data).

Am not sure if this additional feature should also include support to
"reset" the saved template. I presume so. But, does the user get to decide
whether or not to save the new template as the default one for that object
record?

Some use-cases to consider:

Case 1: I create an object with the Inventory template, and later want to
add more cataloging info. When I am doing this additional cataloging, I
probably want to save the cataloging template as the new default, rather
than leaving the Inventory template as the default.

Case 2: I create a coin object with the "Coin" template. I want this view to
stay with the object. Later, someone wants to look at the coin using the
default full cataloging template. They probably do not want to save the coin
with the full cataloging template - it should stay associated with the coin
template by default.

Patrick

-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of
Michael T. Black
Sent: Monday, April 09, 2012 12:47 PM
To: Chris Thompson
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] Edit Cataloging Templates

Hi Chris,

+1 for that from PAHMA.  

Michael

On Apr 9, 2012, at 12:34 PM, Chris Thompson wrote:

Here at the Walker we'd like to be able to use different

edit cataloging templates for different types of objects.
Patrick mentioned that there has been some talk about this,
so here is a bump.

What we would like to see is a template per collection, so

maybe instead of CatalogingTemplate.html being the default,
it would be CatalogingTemplate-{object.collection}.html, or
something like that.

  • Chris Thompson

Talk mailing list
Talk@lists.collectionspace.org

nspace.org

The idea we have been discussing so far is that when an object is created, we would store the name of the template used to create it, inside the object. Then, when editing that object, we would check that field and load the referenced template, to edit it. The UI could *almost* do this now, but I need to talk to Yura about the order of calls in PageBuilder.js, to see what it would take to make this work. This means that the template name would be stored per-object. This functionality would be supported for any type of object, procedure, authority item, etc. There is a related feature we have discussed as possibly being needed: When editing an object, people may wish to switch to another template. This would allow them to switch from an Inventory template to a full cataloging template. I would constraint this to only be allowed if the current record has not been changed (don't want to deal with unsaved data). Am not sure if this additional feature should also include support to "reset" the saved template. I presume so. But, does the user get to decide whether or not to save the new template as the default one for that object record? Some use-cases to consider: Case 1: I create an object with the Inventory template, and later want to add more cataloging info. When I am doing this additional cataloging, I probably want to save the cataloging template as the new default, rather than leaving the Inventory template as the default. Case 2: I create a coin object with the "Coin" template. I want this view to stay with the object. Later, someone wants to look at the coin using the default full cataloging template. They probably do not want to save the coin with the full cataloging template - it should stay associated with the coin template by default. Patrick > -----Original Message----- > From: talk-bounces@lists.collectionspace.org > [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of > Michael T. Black > Sent: Monday, April 09, 2012 12:47 PM > To: Chris Thompson > Cc: talk@lists.collectionspace.org > Subject: Re: [Talk] Edit Cataloging Templates > > Hi Chris, > > +1 for that from PAHMA. > > Michael > > On Apr 9, 2012, at 12:34 PM, Chris Thompson wrote: > > > Here at the Walker we'd like to be able to use different > edit cataloging templates for different types of objects. > Patrick mentioned that there has been some talk about this, > so here is a bump. > > What we would like to see is a template per collection, so > maybe instead of CatalogingTemplate.html being the default, > it would be CatalogingTemplate-{object.collection}.html, or > something like that. > > > > - Chris Thompson > > > > _______________________________________________ > > Talk mailing list > > Talk@lists.collectionspace.org > > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectio > > nspace.org > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.c > ollectionspace.org >