Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
Topic Title: Creating definitions for import as XML
Topic Summary:
Created On: 1-Aug-2007 11:01
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 1-Aug-2007 11:01
User is offline View Users Profile Print this message


Jeremy Gooch

Posts: 14
Joined: 10-Nov-2006

Hi,

I need to import some new definitions into System Architect.  The content includes characters such as commas, which therefore precludes using the CSV import option.

I'm trying to create an XML document, meeting SAXML.DTD, but am not sure how much information I need to supply.  For instance, it wants a SAObjId - but these are new definitions so how can I safely assign an ID to each?

An example of my currently-non-validating XML is below.

Any advice on how best to achieve this would be most welcome.  Thanks.

J.

Edited: 1-Aug-2007 at 11:03 by Jeremy Gooch
Report this to a Moderator Report this to a Moderator
 3-Aug-2007 14:57
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

Hi

Probably the easiest way to do this would be to create a definition of the type you want to import. Right click it in the browser and export XML.
Take a look at the file and copy the output, filing in the fields that are useful for you.
You should not need any of the time/date/audit fields.
You should not need the GUID field (one should be assigned)
You will not need any properties that begin with a ~ tilde
Copy the format of the ID field - E.g. "_123", but simply start your numbering with "_1" and go up.
If there are any relationships between items the object IDs are important, if they are not, just ensure they are unique. New IDs will be assigned on import.

Hope this helps
Ian



-------------------------

Senior Software Developer
Telelogic UK Ltd.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.