Book a Demo

Author Topic: Adding TaggedValues to Attribute  (Read 3741 times)

DmitriyKnyazhin

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • Sorry for that
    • View Profile
Adding TaggedValues to Attribute
« on: October 31, 2007, 05:53:14 pm »
Can I add TaggedValue to Attribute?
I try to use AddNew method of TaggedValues collection with Update, but error "EIntfCastError Interface not supported" was raised up. What I should do to add TaggedValue correctly.

TA for your collaboration.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Adding TaggedValues to Attribute
« Reply #1 on: November 01, 2007, 02:27:17 am »
What exactly did you provide for parameters to AddNew?
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Adding TaggedValues to Attribute
« Reply #2 on: November 01, 2007, 12:56:01 pm »
Make sure you're casting the result to AttributeTag not TaggedValue.

DmitriyKnyazhin

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • Sorry for that
    • View Profile
Re: Adding TaggedValues to Attribute
« Reply #3 on: November 01, 2007, 05:22:20 pm »
Thank you very much!!!
I'v dj it!!!
last 2 week i tried to add that TaggedValue.
I have to use notes to store tag values...
AttributeTag is very very help me.
Thanks again. ;D ;D ;D