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 - Dahsra

Pages: [1]
1
General Board / EA v14 Beta Crashes when opening
« on: March 08, 2018, 05:44:57 pm »
Hi

I have all old versions of EA installed in my machine.
I tried installing the latest EA v14 beta and whenever i tried to open it EA crashes with the below  exception
 


All old versions are working good.

Does anyone else got the exception ?


Arshad

2
For my requirement of comparing package with another model package , i need to import a baseline from one model to another model in EA.I know EA doesn't provide any direct API calls for importing baseline. Tried using *DoBaselineCompare*but it doesn't work .

So i exported baseline from one package using below code
Code: [Select]
Byte[] byteBLOBData = new Byte[0];
  byteBLOBData = Convert.FromBase64String(sValues);
  Stream data = new MemoryStream(byteBLOBData);
  Stream otherData = new MemoryStream();
  ZipArchive archive = new ZipArchive(data);
  foreach (ZipArchiveEntry entry in archive.Entries)
    if (entry.Name == "str.dat")
      otherData = entry.Open();
  MemoryStream ms = new MemoryStream();
  otherData.CopyTo(ms);
  byte[] bytesInStream = ms.ToArray(); // simpler way of converting to array
  XmlDocument doc = new XmlDocument();
  string sss = Encoding.Unicode.GetString(bytesInStream);
  doc.LoadXml(sss);
  doc.Save(@"C:\ExportedBaseline.xml");

And it get exported successfully in the given path. I just tried importing the baseline manually in a package to check whether it works , and its working perfectly . Now i need the same to do it programmatically .
  • How to create a blob data from that exported baseline file ?
  • If blob data is created i will just create a new value in t_document table and insert that blob content in BinContent property.
Can anyone suggest a way to import baseline into a package programmatically :( :o

3
Bugs and Issues / Way to access t_Objectproperties table with out us
« on: October 12, 2015, 11:00:29 pm »
Hi i have added a Startevent from BPMN2.0 in a BPMN2.0 diagram and i have chosen its type as MESSAGE.Now i need to get this value without using query.
I found that this value was present in t_objectproperties table under the column Value.
Is there any way to acheive through API..?? :-? :o :-/

4
Bugs and Issues / Identify between technology type in elements
« on: August 11, 2015, 05:37:44 pm »
Hi

If i have both the  BPMN1.0 Activity  and BPMN2.0 Activity elements in EA , how to identify whether the activity is from BPMN1.0 or BPMN2.0  using c#.
Is there any default API calls there to identify it..?  :-/  :-/

5
Bugs and Issues / Is there any documentation of database details
« on: June 19, 2015, 01:14:51 pm »
Hi i need to find under which tables these details of an elements are stored NOTES and TESTCASES are stored .

In t_object i can't find the notes column in it.

Does the notes and Testcases are stored in seperate trable..! if so can anyone please tell me the table name..!  :-[ :-[ :-[

6
Bugs and Issues / Adding Resource For a Element c#
« on: June 03, 2015, 04:06:04 pm »
Hi was tring to add resources for an element in code base .But was getting null primary key issue .
What have done so far was :(,
Code: [Select]
EA.Resource resource = (EA.Resource)Element.Resources.AddNew("Person", "");
                    resource.Update();

and am getting the following error :'(...!!

[highlight]DAO.Recordset [3058] Index or primary key can't contain a Null value.[/highlight]
What was i doing wrongly  :-[ :-[ ..? Could nayone please help me ..!


Thanks
Arshad

Pages: [1]