Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: alarsen on October 21, 2002, 09:54:35 am

Title: rtf templates - where are they?
Post by: alarsen on October 21, 2002, 09:54:35 am
We have two separate copies of EA for two developers.  We have the program installed on each of our machines.  We share a project file on the network.  I recently used the documentation/rtf dialog to create a new template called Requirements.  The second programmer didn't have a copy.  I tried to find where it was stored but no files were found.  How do we share template files we create?
Title: Re: rtf templates - where are they?
Post by: Chris_Reynolds on October 21, 2002, 10:31:33 pm
They seem to be held in the underlying repository in a table called t_rtf. 8)
Title: Re: rtf templates - where are they?
Post by: alarsen on October 22, 2002, 08:54:19 am
 ;D Didn't find it in t_rtf but did find it next door in t_rtfreport.  Thanks alot!  There's lots of stuff in those tables!
Title: Re: rtf templates - where are they?
Post by: gsparks on October 28, 2002, 04:30:58 am
Hi Guys,

Just to set records straight ...  

The Document Template created from the Documentation/RTF dialog (a set of options, filename, heading styles etc.) is stored in the t_rtfreport table. I believe this is what Al referred to.

The raw RTF templates which may be modified in the Resources/RTF Templates area are stored in the t_rtf table and in the t_trxtypes table. The t_rtf table holds 0 or more RTF fragments, the t_trxtypes table holds the template name and details. And I think this is what Chris is pointing to.

My apologies for the over-use of the word template!

Geoff Sparks
Title: Re: rtf templates - where are they?
Post by: jaimeglz on October 28, 2002, 06:20:23 am
Hi, all.

I suppose this thread has left some people wondering "Just how do I get to the underlying repository?". You need MS Access, and follow these simple steps:

1. Open MS Access, and cancel the Wizard that comes up by default.
2. Click on the "Open" icon (or select File -> Open), and select "All files" in the File Type drop-down list.
3. Navigate to the directory where your EAP project resides.
4. Select your .EAP file, and open it.

Please make a backup copy of your .EAP and make sure you understand the relationships between all these tables before you make any changes.

Jaime Gonzalez