Package Items

rated by 0 users
This post has 3 Replies | 2 Followers

Top 50 Contributor
Posts 28
Points 195
Andy Posted: Fri, Mar 7 2008 11:52 AM

I get the idea of packages, and have managed to move them from one system to another, but I am not sure I am creating them "correctly"

What ItemTypes should be in the packages?  RelationshipTypes for instance.  Do I include the ItemType for the RelationshipType?  The Aras packages don't seem to.

Thanks in advance,

Andy

"I know this stuff like the back of my hand. Hey, where'd that mole come from?"
  • | Post Points: 0
Top 10 Contributor
Posts 199
Points 1,215
Bill replied on Mon, Mar 10 2008 6:18 PM

Hi Andy,

This is a tough question to answer, because my answer changes based on the version of Aras Innovator or solution you are working with.  I can, however, try to give a list of the Core ItemTypes that make up the basic metadata of a database.  This is NOT a definative list, but should act as a helpful guideline when creating your packages.

 

Actions

E-Mail Messages

Forms

Grids

Identities

ItemTypes (Exclude ItemTypes with is_relationship=1)

Life Cycle Maps

Lists (Exclude Lists associated with PolySources like “Change Controlled Item” and “Deliverable”)

Methods

Permissions

RelationshipTypes

Reports

Sequences

SQLs

Workflow Maps

 

Try to think of this list as a checklist when you ask yourself, "Did I miss anything?"

I hope it helps!

-Bill

  • | Post Points: 20
Top 150 Contributor
Posts 8
Points 100

Here's a question.  If you include Sequences in the package, then the Sequence objects are exported as they are in the development, system, right?

That means that if you re-import the package onto a production system, you'll overwrite your Sequence numbers and reset them to some old value, causing all sorts of grief, right?

What is the best way to handle this situation? 

Shaun

  • Filed under:
  • | Post Points: 20
Top 10 Contributor
Posts 199
Points 1,215
Bill replied on Mon, Dec 19 2011 3:46 PM

Actually, the export tool addresses this issue.  When you export a Sequence Item, the "value" property is not exported.

Instead, the "initial_value" property is exported.

 

<AML>
 <Item type="Sequence" id="EEA2CC3F0D1D47E899257601C07507D1" action="add">
  <initial_value>1318</initial_value>
  <name>Project Number</name>
 </Item>
</AML>

 

 

When imported, the initial value will be set as the value if there the value is NULL.

This prevents resetting the Sequence accidentally.

-Bill

  • | Post Points: 5
Page 1 of 1 (4 items) | RSS