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

Pages: [1]
1
General Board / Re: Diagram Layers Publishing
« on: February 19, 2021, 04:50:01 am »
Update: A support ticket was opened. It is confirmed to be a bug with no target date for the fix.

2
General Board / ActiveX vs COMObject and Javascript
« on: January 23, 2021, 08:28:23 am »
There was a recommandation by Sparx to move from JScript to Javascript for matter of futur support. Good, it is almost compatible :)

The problem is that the Javascript implementation does not support the Microsoft extension 'activeXObject' and to fix that you must change it to 'COMObject'. It will work  for the following object:  'MSScriptControl.ScriptControl' ,'MSComDlg.CommonDialog', 'Scripting.FileSystemObject,  with no extensive testing, but it does the basic job.

It will not work for instanciating XML 'MSXML2.DOMDocument' or 'Excel.Application'. XML is a requirement in order to parse the result from SQLQueries (repository). The symptoms are mostly a sudden disapperance of the a receiving variable or a silent failure of the execution of a function or method of the COMObject.

I have tried many variation such as referring different versions of a COMObject, different spelling, changing the character cases,  etc ..

I looked through the forum without success. Subjects with similar problems were mentionned but no solution. This is not in favor of moving to Javascript.

Any idea? Should this be reported to Sparx support?

Regards

Martial

3
General Board / Diagram Layers Publishing
« on: January 23, 2021, 07:56:21 am »
We have a problem with using the layers in a diagram. Visually it is doing the expected i.e. diffenrent objects placed on different layers with their respective relationships. When you hide some layers, only the relevant objects and relations are displayed.

Now if you save the diagram image or print it (printer or PDF) with only selected layers, the result shows the corresponding objects but all the relations or connectors from all the layers are saved/printed.

Anyone have experienced that case? Any solution?

Thanks

4
Hello,
I am creating a Nested Chart using SQL statements. My problem is that for the Level 2 I need to link to Level 1 using the Level 1 GroupName value and combine the condition with the value of another table's Object ID (from Level 1 and using an alias). It seems that the 'Condition to Link' does not accept more than one assignment.

Ex.:
level2.GroupName= level1.Series AND level2.dropID = level1.dropObjectID

Complement to my question: In the 'Condition to Link...' can we refer to a Query Variable?
Ex.:

SELECT ....  WHERE object.Object_ID = @ID

In ConditionL
level2.ID = [literal] or [level1.ObjectID]


Thanks for your help.

Prolaborate version 3.2.3.0

Pages: [1]