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

Pages: [1]
1
HI All

I am trying to search for data which is getting stored as discussions, modal chat among users in a repository using 'Discussion' option from ribbon menu in version 13.
Can anybody please tell me in which table/tables its getting stored in database? I could not find it in one of the documents provided which was for older version.

I am using version 13.

Regards,
Monica

2
Hi All

I have installed sparx key store on one of the machines but i have noticed one thing. As soon as the Sparx Systems Keystore Service restarts, the key store is not able to access key file sskeys.dat and throws error saying not able to connect to localhost. If i try to access keys, it shows empty and does not allow to add any key too.

The workaround is to delete sskeys.dat file and only then i can add same keys again, which creates fresh sskeys.dat (there is no change in hard disk or directory structure as i read somewhere while creating dat file sparx consider these two factors to generate encrypted key, to protect software from license violation).

Any idea why service restarts makes sskeys.dat invalid?

Appreciate help.

Regards,
Monica

3
HI All

I need to execute scripts,(vb and jscript) available in EA, from outside EA after launching EAP file.

Any function that has been exposed through Sparx EA that i can use to execute these scripts?
I can execute these scripts from outide EA only after doing certain changes such as syntax update so that i can call these scripts using WScript tool but i need to avoid steps where this code conversion is required and can consume original script at both places, inside Enterprise Architect using user interface and outside Enterprise Architect using function/utility exposed by Sparx API.

Please help.

Regards,
Monica

4
Hello All

I have a current requirement where i am converting scripts written in EA to c# code. As an alternative, I am trying to execute a jacascript/vbscript,craeted in Eenterprise Architecht, from C# using EA's scripting console and using command supported by this console such as

i(nclude) name - executes the named script item; name is of the format GroupName.ScriptName (spaces are allowed
in names) ? - (without the !) lists commands


Is there any API exposed by sparx to call/access this scripting console so that i don't have to re-invent the wheel (script can be written in javascript/vbscript and i am not the original author of it). I came across some content where we can write c# code in Enterprise architect as well.
http://www.sparxsystems.com/enterprise_architect_user_guide/13.0/automation/cs_script_example.html

But as i said, scripts are going to be either in javascript or vbscript, so can i access scripting's console in my c# code (outside EA, accessing EA's interop) and call these javascript/vbscript in EA?

Is there any other way to achieve this? (calling script in EA from C#).

Any help is highly appreciated.

Regards,
Monica

5
HI All

I have developed a window service which is trying to initiate EA instance and execute certain actions using this instance. But I am not able to initiate this instance. Since it's an exe and windows service run in isolated mode and does not have access to initialize exe, so i have done changes in Window service code, making it calling exes (i have tried with few basics such as cmd.exe, notepad.exe).The service is able to call these exe but still not able to start EA. The instance never initializes.

What is it that i am doing wrong?

Any help is highly appreciated.

Regards,
Monica

6
HI All

I have a web application written in C# which is trying to access EA repository and update some content in it. But when the application tries to connect to EA component, i receive COM error if there is no instance of EA is running on the web server hosting the web application.

In component services, i have updated 'Identity' properties for EA component and given a specific user rights to execute it. I have updated access permissions, launch and activation permissions, configuration permissions in 'Security' tab too to 'customize' and given execution rights to same user defined in 'Identity' tab.

As long as i have initiated an instance of EA, after logging into machine from the same specific user, i can access the repository component from web application. If no such scenario is running on web server i.e. no prior EA instance running under specific user, i will start getting COM error in web application.

Sparx version i have tried this with are 12 and 13.

Is there any better, more simplistic way to access this EA component from web application (without initializing the instance first)?

Appreciate the help.

Regards,
Monica

7
General Board / Craete PDF files using Jscript
« on: January 06, 2017, 10:33:47 pm »
Hi All

I am trying to generate rtf file using jscript in document script part of fragment. The function that i am calling is Repository.CreateDocumentGenerator(). After getting elements in required form, i am calling GetDocumentAsRTF() on the document object (created earlier).

I am not able to generate PDF or word file using this script. Is there any way through which i can achieve the same. The RTF is taking time in generation when objects are more (or includes few diagrams).

Please suggest.

Regards,
Monica

8
General Board / Fetch diagrams from another package in current package
« on: January 03, 2017, 06:26:27 pm »
Is it possible to fetch diagram from another package to current package's documentation?
If so, can anyone please explain how?

I would really appreciate the help.

Regards,
Monica

9
I am new to enterprise architect. I am trying to fetch data in a fragment using SQL custom query.The data should come in form of a table which is happening. But the data is in Root-->Child format as below



Col1 Col2
Text For Col1 Text for Col2
Text for Col1 Text for Col2
I want to merge these cells in col1 and display single entry for root data and was able to do it through SQL and now the output is




Col1 Col2
Text For Col1 Text for Col2
 Text for Col2

But now i have another problem. As it is appearing as part of a table, those empty rows in col1 are appearing as empty rows in table(white empty boxes with black border. I am not able to show here due to lack of formatting). I want to merge these empty cell in form of one. For static data it is happening but in dynamic cols which are generating through SQL on run time, i am not able to achieve this.

Please suggest a way out.

Regards,
Monica
 

10
I am new to enterprise architect. I am trying to fetch data in a fragment using SQL custom query.The data should come in form of a table which is happening. But the data is in Root-->Child format as below

Col1Col2
Text For Col1Text for Col2
Text for Col1Text for Col2
I want to merge these cells in col1 and display single entry for root data and was able to do it through SQL and now the output is


Col1Col2
Text For Col1Text for Col2
Text for Col2

But now i have another problem. As it is appearing as part of a table, those empty rows in col1 are appearing as empty rows in table(white empty boxes with black border. I am not able to show here due to lack of formatting). I want to merge these empty cell in form of one. For static data it is happening but in dynamic cols which are generating through SQL on run time, i am not able to achieve this.

Please suggest a way out.

Regards,
Monica

Pages: [1]