Book a Demo

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.


Messages - shaunf

Pages: [1]
1
General Board / Mysql Database
« on: February 04, 2011, 11:08:26 pm »
What is the best way to have the mysql database method of using ea set up correctly. Mainly regarding security.

Currently we have the odbc driver set up so that it logs on using the admin account, for the mysql database which obviously isnt ideal. I was wondering what tables a user would need access to and what would be good set of permissions for a mysql user on ea? Thanks for anyhelp you can give.

2
Bugs and Issues / EA 9.1 Slow Connecting to Repository
« on: September 07, 2011, 02:43:49 am »
Is anyone else Experiencing slow connections to repository with EA compared to EA 8 it is noticably alot slower at connecting to our mysql repository ive got it confirmed with other members of the team that this is happening for them also.

Ill raise a call to sparx soon to see if theyve noticed this behaviour

3
Automation Interface, Add-Ins and Tools / EA_GetMenuState In EA 9.1
« on: September 14, 2011, 07:40:35 pm »
Ive noticed get menustate not being called until a menu item is clicked. I was using this as validation were options would be greyed out that cannot be clicked. This then leads to users clicking on an option and recieving no error or no warning because it returns false then doesnt perform the click method for it. Any one else noticed this behaviour

4
Automation Interface, Add-Ins and Tools / Re: Multithreaded Plugin
« on: September 07, 2011, 02:30:50 am »
I have lots of multithreaded plugins using
ThreadStart ts = new ThreadStart(The_method_calling);
Thread thread = new Thread(ts);
thread.start();

I have had no problems with threads in my plugins.

5
Automation Interface, Add-Ins and Tools / Re: Generate RTF Documentation
« on: August 05, 2011, 11:26:46 pm »
EA.Repository repo = new EA.RepositoryClass();
repo.OpenFile2(Path, Username, Password);
EA.Project proj = repo.GetProjectInterface();
proj.RunReport(PackageGUID, TemplateName, outputFileName);
              

6
maybe this will help I need to run an application as administrator recently and stumbled across it. http://www.codeproject.com/KB/cs/cpimpersonation1.aspx

7
Automation Interface, Add-Ins and Tools / Workflow scripts
« on: March 09, 2011, 08:25:57 pm »
I have created a a script and changed the folder it is in to workflow group.

Code: [Select]
option explicit

!INC Local Scripts.EAConstants-VBScript

'
' Script Name:
' Author:
' Purpose:
' Date:
'
public function AllowStatusUpdate( OldValue, NewValue )
msgbox("boo")
      ' Obtain a reference to the current user and selected item
      dim currentUser, currentItem
      set currentUser = WorkflowUser
      set currentItem = WorkflowContext

    AllowStatusUpdate = true
end function

I have tested this on a local eap file and on a mysql database. The local EAP with no security the repository with security and users enabled. I assume this script should when i change the status of an element or package pop up and say boo? It doesnt on either.

If i make a main method and make that say boo when i reload the project it pops up and says boo.

what am i doing wrong. BTW i can make these broadcasts events work when i put them into an addin but this isnt practical for rolling out to all users. So a script within the repository is the best option.
Thanks in advance

8
How do you get your workflow scripts to be called when i add the broadcast events to a workflow script nothing happends i guess im doing something wrong.

And i think the repository isnt allowed to stop malicious code as anyone can set a workflow script. Just not anyone can turn them off. What seems strange from our testing here.

9
Automation Interface, Add-Ins and Tools / Re: WorkFlow Examples
« on: February 22, 2011, 01:41:48 am »
Nobody done this yet?

10
Automation Interface, Add-Ins and Tools / WorkFlow Examples
« on: February 04, 2011, 10:57:36 pm »
Has anyone used workflows for anything yet. I cant figure out how to do anything with them? Something like not allowing people to update the status of elements unless they are part of a certain group would be useful.

11
Automation Interface, Add-Ins and Tools / Re: EA Addin
« on: January 11, 2011, 11:20:56 pm »
Thanks works perfectly

12
Automation Interface, Add-Ins and Tools / Re: EA Addin
« on: January 11, 2011, 09:49:50 pm »
Bringing back a really old thread I would also like to do this.

13
I have written a c sharp plugin to export the selected package. It works fine locally but when connecting via a server to it. It crashes and doesnt export anything. I have tested it on mysql and sql server. Any ideas?

Pages: [1]