Generation of Templates Using Code

J

JB

Hi Folks,
I have a few large-ish projects and templates and I would like to be able to
recreate using code. I imagine I could export forms and modules and just
re-import them when I need to but could this be automated?

The biggest thing for me is to recreate the templates used which contain
several customized styles, numbering and bookmarks and toolbars.

Could anyone provide some pointers for the best way to achieve this please??

Cheers

J
 
J

Jonathan West

JB said:
Hi Folks,
I have a few large-ish projects and templates and I would like to be able to
recreate using code. I imagine I could export forms and modules and just
re-import them when I need to but could this be automated?

The biggest thing for me is to recreate the templates used which contain
several customized styles, numbering and bookmarks and toolbars.

Could anyone provide some pointers for the best way to achieve this
please??


Hi JB

You can use the OrganizerCopy method to copy modules between templates. It
would be a relatively straightforward task to write a program that copies a
set of modules from one template to another, or from one template to
several.

Beware that if the project in the source template or the destination
template is password protected, then the OrganizerCopy method fails with an
error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top