[GeoNetwork-devel] Creating a new template

Hi everyone. I'd like to make a custom template, but I'm getting a little hung up on how to go about doing so. I've found the default templates in WEB-INF/classes/setup/templates, but when I add a new one, it doesn't show up in the template list inside the app. Are these templates registered somewhere?

Thanks for any help,
Ryan

Im interested on this topic too… Thanks.

On Mon, Aug 23, 2010 at 10:02 AM, Ryan Zoerb <razoerb@anonymised.com> wrote:

Hi everyone. I’d like to make a custom template, but I’m getting a little hung up on how to go about doing so. I’ve found the default templates in WEB-INF/classes/setup/templates, but when I add a new one, it doesn’t show up in the template list inside the app. Are these templates registered somewhere?

Thanks for any help,
Ryan

This SF.net email is sponsored by

Make an app they can’t live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Visita:
www.infocussite.com
www.infocussite.com/mancala/

hi,

how do you add your new template ?

If you import an XML file you can say in the page where you select the file that it is a template. If you’re using the GeoNetwork editor, you can sa at the bottom of the page that this should be saved as a template. In any case you should also check the privileges – if you want the templae available to everyone, make sure it is visible to group “all”.

Does this help you ?

Kind regards
Heikki Doeleman

2010/8/23 Samuel Chávez <samuelchvez@anonymised.com>

Im interested on this topic too… Thanks.

On Mon, Aug 23, 2010 at 10:02 AM, Ryan Zoerb <razoerb@anonymised.com> wrote:

Hi everyone. I’d like to make a custom template, but I’m getting a little hung up on how to go about doing so. I’ve found the default templates in WEB-INF/classes/setup/templates, but when I add a new one, it doesn’t show up in the template list inside the app. Are these templates registered somewhere?

Thanks for any help,
Ryan

This SF.net email is sponsored by

Make an app they can’t live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Visita:
www.infocussite.com
www.infocussite.com/mancala/


This SF.net email is sponsored by

Make an app they can’t live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

As we are rolling out GN in our company the inevitable happens, people say both that the ISO19139 schema is too complex and that they also want to add more features to it.

I could create a new profile but I want to do as much as possible in the standard system before I take that path. The closest starting point to our requirements is the MCP profile.
Here are the changes I wish to make.

1) The ANZLIC-theme.xml codelist for thematic classification of resources would be replaced with a Water and Atmosphere specific one.
i.e AGRICULTURE-Crops to WATER-Wetlands would be replaced with abalone to zooplankton

2) The mcp-allgens.xml MCP Geographic Extent Name Register which lists regions specific to Australia would be replaced with one listing regions specific to New Zealand and Antartica.

Can I gently point out that the NZ in ANZLIC is supposed to be New Zealand and yet NZ is conspicously absent from these ANZLIC standards.

3) We wish to add a project code to the metadata record indicating the project that generated the data.

Is creating a new profile the only way of achieving this?

Thanks Andrew

Andrew Watkins
Systems Development Team Manager
National Institute Water & Atmospheric Research (NIWA).

NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.

Thanks for the response Heikki. So that’s how you manually add a template, is there any way to add the template somewhere in the GeoNetwork war and have it automatically show up in the template list on startup? I found that if you put a template in one of the existing folders under setup/templates, it will show up, but not if you add your own. Is there any way to, for example, add a ‘test’ folder alongside ‘19139’, ‘19115’, …?

Thanks,
Ryan

On Aug 23, 2010, at 4:32 PM, heikki wrote:

hi,

how do you add your new template ?

If you import an XML file you can say in the page where you select the file that it is a template. If you’re using the GeoNetwork editor, you can sa at the bottom of the page that this should be saved as a template. In any case you should also check the privileges – if you want the templae available to everyone, make sure it is visible to group “all”.

Does this help you ?

Kind regards
Heikki Doeleman

2010/8/23 Samuel Chávez <samuelchvez@anonymised.com>

Im interested on this topic too… Thanks.

On Mon, Aug 23, 2010 at 10:02 AM, Ryan Zoerb <razoerb@anonymised.com> wrote:

Hi everyone. I’d like to make a custom template, but I’m getting a little hung up on how to go about doing so. I’ve found the default templates in WEB-INF/classes/setup/templates, but when I add a new one, it doesn’t show up in the template list inside the app. Are these templates registered somewhere?

Thanks for any help,
Ryan

This SF.net email is sponsored by

Make an app they can’t live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


Visita:
www.infocussite.com
www.infocussite.com/mancala/


This SF.net email is sponsored by

Make an app they can’t live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

2010/8/25 Ryan Zoerb <razoerb@anonymised.com>:

Thanks for the response Heikki. So that's how you manually add a template,
is there any way to add the template somewhere in the GeoNetwork war and
have it automatically show up in the template list on startup? I found that
if you put a template in one of the existing folders under setup/templates,
it will show up, but not if you add your own. Is there any way to, for
example, add a 'test' folder alongside '19139', '19115', ...?

Templates are loaded from the administration interface.
Add or remove templates in the WEB-INF/classes/setup/templates
directory and load them for one or more schema from the admin
interface. They have to be in one specific schema directory not in a
test folder

Cheers.

Francois

Thanks,
Ryan
On Aug 23, 2010, at 4:32 PM, heikki wrote:

hi,

how do you add your new template ?

If you import an XML file you can say in the page where you select the file
that it is a template. If you're using the GeoNetwork editor, you can sa at
the bottom of the page that this should be saved as a template. In any case
you should also check the privileges -- if you want the templae available to
everyone, make sure it is visible to group "all".

Does this help you ?

Kind regards
Heikki Doeleman

2010/8/23 Samuel Chávez <samuelchvez@anonymised.com>

Im interested on this topic too... Thanks.

On Mon, Aug 23, 2010 at 10:02 AM, Ryan Zoerb <razoerb@anonymised.com> wrote:

Hi everyone. I'd like to make a custom template, but I'm getting a
little hung up on how to go about doing so. I've found the default
templates in WEB-INF/classes/setup/templates, but when I add a new one, it
doesn't show up in the template list inside the app. Are these templates
registered somewhere?

Thanks for any help,
Ryan

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Visita:
www.infocussite.com
www.infocussite.com/mancala/

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork