Book a Demo

Author Topic: How to set tagged value choices dynamilcally?  (Read 5619 times)

Thiyagaraj A

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
How to set tagged value choices dynamilcally?
« on: April 24, 2008, 04:06:08 pm »
I need to give choices for the value field (options in a drop down) of a tagged value. I know it can done through profiles. Is it possible to do the same through AddIn APIs?
Regards,
Thiyagaraj A.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to set tagged value choices dynamilcally?
« Reply #1 on: April 24, 2008, 11:35:14 pm »
You would likely have to trap events, but it should be possible.

However, you can define a tagged value to be a list, and EA will provide the drop-down. I don't think you need a profile for this.

Look up Predefined Tagged Value Types in EA help. [In the Index, this is (without quotes) "Tagged Value Type, Predefined"]

David
No, you can't have it!

thomas.kilian

  • Guest
Re: How to set tagged value choices dynamilcally?
« Reply #2 on: April 25, 2008, 12:13:18 am »
Doesn't tell how to do this with the API

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to set tagged value choices dynamilcally?
« Reply #3 on: April 25, 2008, 05:02:47 am »
Just create the tagged value type and import is as reference data. You'd have to create a 'reference' project by hand and import it into that project, since EA (still) cannot import reference data from the API (we're waiting...).

As far as the event trapping, see the EA Add-in Model section of EA Help.
No, you can't have it!

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: How to set tagged value choices dynamilcally?
« Reply #4 on: April 25, 2008, 04:43:12 pm »
There's no event in the API when a user changes a tagged value. So validating them in an AddIn is hardly possible.

Probably worth a feature request, but then the gaps in EA's automation interface are worth a hundred feature requests.

thomas.kilian

  • Guest
Re: How to set tagged value choices dynamilcally?
« Reply #5 on: April 25, 2008, 06:05:49 pm »
A better design ahead of programming always would have help to improve things :-X

The much dreaded RR had a really nice API. You could hook almost everywhere with your add-in. But well, it was 10 times the price of EA.