Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - R Glenn Walker

Pages: [1]
1
I am trying out building my own MDG Technology in EA 17 and I love the Save Package as MDG Technology, in concept. I started with one of the TEA accelerators and did a few tweaks. I can load it fine using the "Import Package as MDG Technology" option from the Publish Technology action on Specialize ribbon. It works fine. Now I exported the technology using the "Save Package as MDG Technology" option and got an XML file.

When I go to import the technology, I get a message saying that this version of EA only supports an ID of 12 characters or less. When I look at the technology file, it uses the package name as the ID and the name for the technology. My question would be is there a way for me to provide a shorter ID as meta data that will be used when saving the package as a technology file? I checked the documentation, but this seems not to be covered at all. Lots of info on the manual way of exporting profiles and creating an MDG.

I know I can cheat and shorten the package name but it would be nice to keep the descriptive name for the technology and have a shorter id value.

I opened the XML file and manually changed the ID and was able to import successfully but would prefer not to have to do this manually each time. Is there an undocumented feature that I can add a piece of meta data to the MDG package to indicate the ID. I tried using the alias field, but that did nothing.

Any solutions would be appreciated.

2
I am trying out building my own MDG Technology in EA 17 and I love the Save Package as MDG Technology, in concept. I started with one of the TEA accelerators and did a few tweaks. I can load it fine using the "Import Package as MDG Technology" option from the Publish Technology action on Specialize ribbon. It works fine. Now I exported the technology using the "Save Package as MDG Technology" option and got an XML file.

When I go to import the technology, I get a message saying that this version of EA only supports an ID of 12 characters or less. When I look at the technology file, it uses the package name as the ID and the name for the technology. My question would be is there a way for me to provide a shorter ID as meta data that will be used when saving the package as a technology file? I checked the documentation, but this seems not to be covered at all. Lots of info on the manual way of exporting profiles and creating an MDG.

I know I can cheat and shorten the package name but would be nice to keep the descriptive name for the technology and have a shorter id value.

Any solutions would be appreciated.

3
I have written a simple script that creates composition links between an element and any child elements. It works except that when I try to set the direction, I don't get the effect for which I am looking to achieve. I want "Source -> Destination". But it always sets it to "Destination -> Source". I

         var theElement as EA.Element;
         theElement = Repository.GetTreeSelectedObject();
         
         elements = new Enumerator(theElement.Elements);
         while (!elements.atEnd()) {
            var element as EA.Element;
            element = elements.item();
            connector = element.Connectors.AddNew("Part Of","composedOf");
            connector.SupplierId = theElement.ElementID;
            connector.Direction = "Source -> Destination";
                                 // Assuming need update here so that the supplier end is filled in properly.
            connector. Update();
                                // this works fine. Aggregation is showing properly.
            connector.SupplierEnd.Aggregation = 2;
            connector.Update();
            elements.moveNext();
         }

Pages: [1]