Page 1 of 1

document type sharing procedure?

Posted: Wed Jan 05, 2011 11:04 pm
by plaintextview
Hi,

The Oxygen 12.0 help page, "Document Type Sharing", states you can share a document type by "saving the document type at global level in the Document Type Association panel".

When I open the Document Type Association panel, there is just a list of the document types, and the only buttons at the bottom of the list are "New", "Edit", "Duplicate", "Delete", "Up" and "Down".

How do I save a document type in order to send it to another Oxygen user?

Thanks,

- Chris

Re: document type sharing procedure?

Posted: Thu Jan 06, 2011 11:09 am
by Radu
Hi Chris,

A document type can either be saved in the Oxygen internal options or saved externally on disk.

So in the Oxygen Preferences->Document Type Association page you should switch the User role to Developer.
Then edit the Docbook 4 document type for example.
You can see that the Storage location for it is external in the OXYGEN_INSTALL_DIR/frameworks.

So basically to create your own document type which can be shared with others you would have to:
1) Create a new directory in the OXYGEN_INSTALL_DIR/frameworks for your new framework. This directory will contain resources for your framework (CSS files, new file templates, schemas used for validation, catalogs). See the OXYGEN_INSTALL_DIR\frameworks\docbook for example.
2) Switch the user role to developer in the Oxygen Preferences (see above), create your new custom document type and save it external in the newly created framework directory (with a name like custom.framework).
3) If everything went fine then you should have a new configuration file saved in: OXYGEN_INSTALL_DIR/frameworks/your_framework_dir/custom.framework after the Preferences are saved.
4) You can then share the new framework directory with other users (have them copy it to their OXYGEN_INSTALL_DIR/frameworks directory and then open Oxygen) and they will also have the new document type in the list of Document Types.

Regards,
Radu

Re: document type sharing procedure?

Posted: Sat Jan 08, 2011 3:27 am
by plaintextview
Thanks Radu,

That did the trick... can you log a defect on the docs? Your reply and the docs are a little bit different : >

- Chris

Re: document type sharing procedure?

Posted: Mon Jan 10, 2011 9:49 am
by Radu
Hi Chris,

Indeed I see the confusion, the user manual speaks about global level meaning external framework file and in the same page there is a radio button switching between Global and Project options.
We'll try to also update our user manual.

Regards,
Radu