talk@lists.collectionspace.org

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

View all threads

Changing summary fields, columns, and header titles

CS
C Space
Thu, Nov 10, 2016 7:09 PM

Hi all,

We are attempting to change the summary fields, columns, and header titles
in the 'Find and Edit' using the provided documentation:

https://wiki.collectionspace.org/display/DOC/How+to+configure+summary+fields

https://wiki.collectionspace.org/display/DOC/How+to+change+the+columns+in+the+search+results

https://wiki.collectionspace.org/display/DOC/cspace-config+Fields#cspace-configFields-mini

https://wiki.collectionspace.org/display/CSPACE321/unified+collectionspace+config

The cspace-config-{tenant}.xml file that is deployed in the
$CSPACE_JEESERVER_HOME/lib directory provides details as to where these
merged xml files exist for each record type. In our case, within:

  1. application/tomcat-main/src/main/resources/defaults/
    base-collectionobject.xml
    https://github.com/collectionspace/application/blob/master/tomcat-main/src/main/resources/defaults/base-collectionobject.xml

application/tomcat-main/src/main/resources/defaults/extensions/anthro-collectionobject.xml
3.
application/tomcat-main/src/main/resources/tenants/{tenant}/{tenant}-collectionobject.xml

We have made the changes, at least what we think, to both the
'base-collectionobject.xml' and the '{tenant}-collectionobject.xml' files.

Even after initializing the changes by url
'/collectionspace/tenant/{tenant]/init', nothing seems to change.

We fail to see how, even after reading the documentation, the 'mini' field
changes what is returned in the 'Find and Edit' result summary.

We are looking towards returning:

"Controlled Object Name", "Object Name", and "Title" for Cataloging
records, only.

Are we going about this the wrong way? Any suggestions and examples on how
to achieve this would be appreciated.

Thanks!

Hi all, We are attempting to change the summary fields, columns, and header titles in the 'Find and Edit' using the provided documentation: https://wiki.collectionspace.org/display/DOC/How+to+configure+summary+fields https://wiki.collectionspace.org/display/DOC/How+to+change+the+columns+in+the+search+results https://wiki.collectionspace.org/display/DOC/cspace-config+Fields#cspace-configFields-mini https://wiki.collectionspace.org/display/CSPACE321/unified+collectionspace+config The cspace-config-{tenant}.xml file that is deployed in the $CSPACE_JEESERVER_HOME/lib directory provides details as to where these merged xml files exist for each record type. In our case, within: 1. application/tomcat-main/src/main/resources/defaults/ base-collectionobject.xml <https://github.com/collectionspace/application/blob/master/tomcat-main/src/main/resources/defaults/base-collectionobject.xml> 2. application/tomcat-main/src/main/resources/defaults/extensions/anthro-collectionobject.xml 3. application/tomcat-main/src/main/resources/tenants/{tenant}/{tenant}-collectionobject.xml We have made the changes, at least what we think, to both the 'base-collectionobject.xml' and the '{tenant}-collectionobject.xml' files. Even after initializing the changes by url '/collectionspace/tenant/{tenant]/init', nothing seems to change. We fail to see how, even after reading the documentation, the 'mini' field changes what is returned in the 'Find and Edit' result summary. We are looking towards returning: "Controlled Object Name", "Object Name", and "Title" for Cataloging records, only. Are we going about this the wrong way? Any suggestions and examples on how to achieve this would be appreciated. Thanks!
RL
Ray Lee
Mon, Nov 14, 2016 9:36 PM

Hi,
Is Controlled Object Name a field you've added? Can you share your
configuration files?

A warning about trying to show three fields: what you can do fairly easily
is to map different fields to the "ID Number" and "Summary" columns in
search results, but it's hard to add a new column. We've been doing a hack
where we combine multiple fields into one, and map that combined field into
the Summary column, so that we can show more information -- but it's pretty
involved. You'll want to start by picking two fields. The one with
mini="number" should show up in the "ID Number" column, and the one with
mini="name" should show up in the "Summary" column.

Ray

On Thu, Nov 10, 2016 at 11:09 AM, C Space cspace@bpoc.org wrote:

Hi all,

We are attempting to change the summary fields, columns, and header titles
in the 'Find and Edit' using the provided documentation:

https://wiki.collectionspace.org/display/DOC/How+to+
configure+summary+fields

https://wiki.collectionspace.org/display/DOC/How+to+change+
the+columns+in+the+search+results

https://wiki.collectionspace.org/display/DOC/cspace-config+
Fields#cspace-configFields-mini

https://wiki.collectionspace.org/display/CSPACE321/unified+
collectionspace+config

The cspace-config-{tenant}.xml file that is deployed in the
$CSPACE_JEESERVER_HOME/lib directory provides details as to where these
merged xml files exist for each record type. In our case, within:

  1. application/tomcat-main/src/main/resources/defaults/base-
    collectionobject.xml
    https://github.com/collectionspace/application/blob/master/tomcat-main/src/main/resources/defaults/base-collectionobject.xml
  2. application/tomcat-main/src/main/resources/defaults/extensions/anthro-
    collectionobject.xml
  3. application/tomcat-main/src/main/resources/tenants/{tenant}/{tenant}-
    collectionobject.xml

We have made the changes, at least what we think, to both the
'base-collectionobject.xml' and the '{tenant}-collectionobject.xml'
files.

Even after initializing the changes by url '/collectionspace/tenant/{tenant]/init',
nothing seems to change.

We fail to see how, even after reading the documentation, the 'mini' field
changes what is returned in the 'Find and Edit' result summary.

We are looking towards returning:

"Controlled Object Name", "Object Name", and "Title" for Cataloging
records, only.

Are we going about this the wrong way? Any suggestions and examples on how
to achieve this would be appreciated.

Thanks!


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

Hi, Is Controlled Object Name a field you've added? Can you share your configuration files? A warning about trying to show three fields: what you can do fairly easily is to map different fields to the "ID Number" and "Summary" columns in search results, but it's hard to add a new column. We've been doing a hack where we combine multiple fields into one, and map that combined field into the Summary column, so that we can show more information -- but it's pretty involved. You'll want to start by picking two fields. The one with mini="number" should show up in the "ID Number" column, and the one with mini="name" should show up in the "Summary" column. Ray On Thu, Nov 10, 2016 at 11:09 AM, C Space <cspace@bpoc.org> wrote: > Hi all, > > We are attempting to change the summary fields, columns, and header titles > in the 'Find and Edit' using the provided documentation: > > https://wiki.collectionspace.org/display/DOC/How+to+ > configure+summary+fields > > https://wiki.collectionspace.org/display/DOC/How+to+change+ > the+columns+in+the+search+results > > https://wiki.collectionspace.org/display/DOC/cspace-config+ > Fields#cspace-configFields-mini > > https://wiki.collectionspace.org/display/CSPACE321/unified+ > collectionspace+config > > The cspace-config-{tenant}.xml file that is deployed in the > $CSPACE_JEESERVER_HOME/lib directory provides details as to where these > merged xml files exist for each record type. In our case, within: > > 1. application/tomcat-main/src/main/resources/defaults/base- > collectionobject.xml > <https://github.com/collectionspace/application/blob/master/tomcat-main/src/main/resources/defaults/base-collectionobject.xml> > 2. application/tomcat-main/src/main/resources/defaults/extensions/anthro- > collectionobject.xml > 3. application/tomcat-main/src/main/resources/tenants/{tenant}/{tenant}- > collectionobject.xml > > We have made the changes, at least what we think, to both the > 'base-collectionobject.xml' and the '{tenant}-collectionobject.xml' > files. > > Even after initializing the changes by url '/collectionspace/tenant/{tenant]/init', > nothing seems to change. > > We fail to see how, even after reading the documentation, the 'mini' field > changes what is returned in the 'Find and Edit' result summary. > > We are looking towards returning: > > "Controlled Object Name", "Object Name", and "Title" for Cataloging > records, only. > > Are we going about this the wrong way? Any suggestions and examples on how > to achieve this would be appreciated. > > Thanks! > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_ > lists.collectionspace.org > >