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

Pages: 1 ... 528 529 [530] 531 532 ... 640
7936
Either you do that with a client of your choice or you use Repository.Execute("INSERT...") to do that. Note that though this method is not documented it works and will (most likely) still work in future EA releases.

q.

7937
Automation Interface, Add-Ins and Tools / Re: Repository.Execute in VBA
« on: December 05, 2014, 06:35:42 am »
It shouldn't be an issue. I used it from Perl without any issue. So VB should recognize it as well. The auto-completion would not work. Maybe VB just stops working when encountering such methods. How about  Repository.CustomCommand?

q.

7938
You should send a bug report. Meanwhile you need to dbl-click in the project browser to achieve what you want.

q.

7939
I guess you can't do that. Unless you read the MDG, interpret it, and build the structure based on that. You could probably ask for a new feature. Can you hold your breath for a couple of years?

q.

7940
Right that. Luckily there is this escape we can use where the API fails.

q.

7941
My bad: it's Repository.Get... and returns the predefined value list.

You may alternatively try Repository.SQLQuery("SELECT cardinality FROM t_object WHERE Object_ID = <id>")

q.

7942
Try Element.GetReferenceList("Cardinality")

q.

7943
Strange. Now I also get the error. Even stranger: manually you can create it. The quick linker does not offer a Generalization from <<enumeartion>> to <<typedef>> but vice versa. The script throws an error in both directions.

q.

7944
Have you configured some custom model validation? Does it happen if you run it in a plain EAP? What MDGs are you using?

q.

7945
I seem to remember having seen such a compliance message but can't recall the circumstances. How does that message appear?

q.

7946
I had no issue running the above script.

q.

7947
Probably the only way is to build your own custom view for that purpose. Geert knows how to do such kind of things :D

q.

7948
Or you can refer to my Inside book.

q.

7949
Your first query used Object_Name which does not exist. Hence the too few parameters. Geert's SQL is correct. So what kind of error do you get?

q.

7950
I got the same results. Two steps: 1) report a bug. The best that can happen is that you need some EA specific coding (who knows). 2) Create an CustomProperties entry in t_xref manually. You could do that in a safe way by first checking if EA has created an entry and if not placing one of your own.

q.

Pages: 1 ... 528 529 [530] 531 532 ... 640