talk@lists.collectionspace.org

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

View all threads

Adding/Removing Data Entry Templates

PM
Peter Murray
Tue, Nov 17, 2015 8:54 PM

I couldn't find this in the documentation, but I did figure it out with a liberal use of grep in the UI source code tree.  I'm putting it here for lack of time to build an actual manual page.

The configuration file for data entry templates is stored in the UI's src/main/webapp/defaults/configtemplateViews.json file.  The default file specifies the two cataloging templates and the Intake template (https://github.com/collectionspace/ui/blob/v4.2/src/main/webapp/defaults/config/templateViews.json).  You can remove these default definitions by saving an empty JSON list to your tenant config directory (https://github.com/cherryhill/sdmom-tenant-config/blob/512ed4238311ecba36552e443f3fe8ac2ff45295/ui/config/templateViews.json).  Similarly, presumably, you could add definitions of templates to this file that you put in you html/pages directory.

Peter

Peter Murray
Dev/Ops Lead and Project Manager, Cherry Hill Company
Blogger, Disruptive Library Technology Jester - http://dltj.org/

I couldn't find this in the documentation, but I did figure it out with a liberal use of `grep` in the UI source code tree. I'm putting it here for lack of time to build an actual manual page. The configuration file for data entry templates is stored in the UI's src/main/webapp/defaults/configtemplateViews.json file. The default file specifies the two cataloging templates and the Intake template (https://github.com/collectionspace/ui/blob/v4.2/src/main/webapp/defaults/config/templateViews.json). You can remove these default definitions by saving an empty JSON list to your tenant config directory (https://github.com/cherryhill/sdmom-tenant-config/blob/512ed4238311ecba36552e443f3fe8ac2ff45295/ui/config/templateViews.json). Similarly, presumably, you could add definitions of templates to this file that you put in you html/pages directory. Peter -- Peter Murray Dev/Ops Lead and Project Manager, Cherry Hill Company Blogger, Disruptive Library Technology Jester - http://dltj.org/
AR
Aron Roberts
Wed, Nov 18, 2015 12:15 AM

Thanks much for this investigation and your notes on data entry templates,
Peter!

Have made a few annotations on the 'Needed/Missing docs' page, pointing to
your findings here and several other recent threads on the Talk list:

https://wiki.collectionspace.org/pages/diffpagesbyversion.action?pageId=154763659&selectedPageVersions=19&selectedPageVersions=18

On Tue, Nov 17, 2015 at 12:54 PM, Peter Murray jester@dltj.org wrote:

I couldn't find this in the documentation, but I did figure it out with a
liberal use of grep in the UI source code tree.  I'm putting it here for
lack of time to build an actual manual page.

The configuration file for data entry templates is stored in the UI's
src/main/webapp/defaults/configtemplateViews.json file.  The default file
specifies the two cataloging templates and the Intake template (
https://github.com/collectionspace/ui/blob/v4.2/src/main/webapp/defaults/config/templateViews.json).
You can remove these default definitions by saving an empty JSON list to
your tenant config directory (
https://github.com/cherryhill/sdmom-tenant-config/blob/512ed4238311ecba36552e443f3fe8ac2ff45295/ui/config/templateViews.json).
Similarly, presumably, you could add definitions of templates to this file
that you put in you html/pages directory.

Peter

Peter Murray
Dev/Ops Lead and Project Manager, Cherry Hill Company
Blogger, Disruptive Library Technology Jester - http://dltj.org/


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Thanks much for this investigation and your notes on data entry templates, Peter! Have made a few annotations on the 'Needed/Missing docs' page, pointing to your findings here and several other recent threads on the Talk list: https://wiki.collectionspace.org/pages/diffpagesbyversion.action?pageId=154763659&selectedPageVersions=19&selectedPageVersions=18 On Tue, Nov 17, 2015 at 12:54 PM, Peter Murray <jester@dltj.org> wrote: > I couldn't find this in the documentation, but I did figure it out with a > liberal use of `grep` in the UI source code tree. I'm putting it here for > lack of time to build an actual manual page. > > The configuration file for data entry templates is stored in the UI's > src/main/webapp/defaults/configtemplateViews.json file. The default file > specifies the two cataloging templates and the Intake template ( > https://github.com/collectionspace/ui/blob/v4.2/src/main/webapp/defaults/config/templateViews.json). > You can remove these default definitions by saving an empty JSON list to > your tenant config directory ( > https://github.com/cherryhill/sdmom-tenant-config/blob/512ed4238311ecba36552e443f3fe8ac2ff45295/ui/config/templateViews.json). > Similarly, presumably, you could add definitions of templates to this file > that you put in you html/pages directory. > > > Peter > -- > Peter Murray > Dev/Ops Lead and Project Manager, Cherry Hill Company > Blogger, Disruptive Library Technology Jester - http://dltj.org/ > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >