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 - Karan Mundhra

Pages: [1]
1
General Board / Custom tables in EA
« on: July 26, 2021, 07:31:46 pm »
Hi,

I am using the custom tables in EA. Attached screen shot.

The column width for the tables can be changed by the user. It is stored in EA.

The question is where is this information regarding the column width getting stored. I am unable to find it any of the sql tables

Thanks,
Karan

2
Bugs and Issues / Document generator misses content randomly
« on: March 24, 2021, 08:03:00 pm »
Hi All,

I have a MYSQL server on which Enterprise architect model is hosted.
Users connect to it using an ODBC connection and do the modelling. They also generate documents using the same connection.

Of late, have noticed that the document generated from EA is not consistent. It randomly misses section.
The issue happens randomly. The frequency of occurrence has increased in the recent time.
The document generator is triggered using an add-in with EA operated in headless mode.

I use EA 13.1. The machine generating the document and the machine hosting the MYSQL are on the same LAN.


Any clues?

Thanks
Karan

3
General Board / OBDC setup using command line
« on: August 28, 2020, 01:14:00 am »
Hi,

I am trying to setup an OBDC Data source using a command line interface.
The command goes like
>odbcconf.exe /A {CONFIGDSN "MySQL ODBC 5.1 Driver" "DSN=test|Servername=sv1|Port=3306|user=abcd|pwd=xyz"}

I am using the MySQL ODBC 5.1 Driver.

The error pops up as :
CONFIGDSN: Unable to create a data source for the  "MySQL ODBC 5.1 Driver" driver:
Component not found in the registry with error code -2147467259

Any clues what is wrong? or any other way to set this up using a command line?

Thanks
Karan


4
General Board / Dangling Proxy connector
« on: May 09, 2020, 12:37:55 am »
Hi,

I have some proxy connectors in my database.
These proxyconnectors have a classifier. This classifier when seached in t_connector table must lead to a new connector, which is source.
Basically classifierID of proxy connector  = ConnectorID of the connector from where the proxy connector originites.


Now the issue is that the classifierID of the proxy connector is not existing in the database in t_connector table.


Any clues how can I solve this now /  get rid of the proxyconnector objects?
Also how can this happen?


Thanks
Karan


5
General Board / Document generation with RunReport
« on: March 31, 2020, 11:44:02 pm »
Hi,

The doument generator when triggered through EA GUI is capable of thorwing error messages on the SystemOutput / Script Trace.

I am using the RunReport (string PackageGUID, string TemplateName, string Filename) API provided by EA to generate documents from EA though the automation.
I am passing the masterdocuemnt ID to the API. Is there a way that the SystemOutput / Script Trace can be read from the automation. This will help to determine if an error occurred during document generation.

Thanks
Karan

6
General Board / Quick links
« on: March 31, 2020, 08:32:11 pm »
Hi,
I have defined quick links in my MDG. It works fine.
But in the mean time the default list of options when a connector is drawn goes missing.

any idea how both quick link and default option can stay together?


7
Hi,

I am using the inbuilt Jscript of Enterprise Architect to generate xml output.
I am creating a new activex object using  "MSXML2.DOMDocument".

Is there any way by which the “<” and “>” symbols are not generated as &lt; and &gt;?
I want the xml files to contain < , >.
I am using xmlDOM.save() to save the xml file to disk.

Output to be like:
<DESC><b>Some text</b>
<ul>
   <li>Some text</li>
   <li>Some text</li>
</ul>
</DESC>


instead of:

<DESC>&lt;b&gt;Some text&lt;/b&gt;
&lt;ul&gt;
   &lt;li&gt;Some text&lt;/li&gt;
   &lt;li&gt;Some text&lt;/li&gt;
&lt;/ul&gt;
</DESC>




8
General Board / Document generation for operation
« on: September 19, 2019, 03:31:19 pm »
Hi,

I am stuck with a document generator problem and unable to proceed.

I have an interface with many operations within it.
In the document generator template, the interface is passed as an object to it.
The template looks like as below

element >
method >
{Template - API_FunctionHeader}  // Here i want this to be called for each operation
< method
< element


In the fragment API_FunctionHeader, I want to pass #OPERATIONID# to a custom script , but that is not supported.

What i need is to call a documentation fragment for each operation. Is this possible use docGenerator?
The called fragment may take xml as input and generate releveant information (xml is from JSCRIPT processing)

9
Bugs and Issues / Large XMI exports
« on: March 09, 2019, 03:18:09 am »
Hi,

I am observing a strange behavior with respect to exported xmi.
For some of the packages the exported xmi size is > 150MB. Although the number of elements, connectors and diagrams within the xmi file are less. A similar package with even more elements, connectors and diagrams is only 15 MB.

I have tried integrity check, project repair and compact. But it does not help.
On further checks, I found that, There is a node called <EAModel.clause> which contains huge amount of data. As below:

<EAModel.clause>
<EAClause subject="EAID_3CEE2C7F_F098_452c_8707_67E86C6F478B">
  <xrefs>
    <UML:TaggedValue tag="$ea_clause_xref_property" value="$XREFPROP=$XID={0E02A6E3-FF0F-4cab-A70F-DEEE36E5AAF7}$XID;......
   </xrefs>
</EAClause>
<EAClause>
  <xrefs>
     <UML:TaggedValue tag="$ea_clause_xref_property" value="$XREFPROP=$XID={0E02A6E3-FF0F-4cab-A70F-DEEE36E5AAF7}$XID;......
  </xrefs>
</EAClause>
</EAModel.clause>


Any clues what is wrong?

10
Hi,

I have a hosted the EA model on a MYSQL database.
Some I am unable to change the default diagram using Layout>>Manage>>Set as model default

The old diagram stays to be the default, even after following the above steps for a new diagram.

Regards,
Karan

Pages: [1]