Book a Demo

Author Topic: Linked Documents & Automation Interface  (Read 6639 times)

Misha

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Linked Documents & Automation Interface
« on: December 13, 2006, 05:31:37 am »
Hello everyone!

Is it possible to get any information about a linked document attached to an element using the AI?
A way to check for its existence would suffice.

Thanks a lot.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #1 on: December 13, 2006, 06:09:58 am »
There is very little if any support for linked documents in the API at this point (build 800). However, I get the (very unofficial) impression that some kind of support is coming soon. The way I'm reading it - and this is my impression only - is that may be imminent.

So... Wait a build or two if you can, and be sure to read the release notes for the next couple of updates.
No, you can't have it!

Misha

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #2 on: December 14, 2006, 05:11:26 am »
Thank you very much, Midnight. I'll have patience  :)

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #3 on: December 14, 2006, 03:49:20 pm »
An Element.GetLinkedDocument() method has been implemented for build 801, which should hopefully be available soon.

Misha

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #4 on: December 15, 2006, 02:23:15 am »
Good news indeed. Thank you very much!

Misha

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #5 on: March 06, 2007, 08:06:06 am »
Hello again!

I have tried this long-coveted method GetLinkedDocument but the result leaves me in embarassment  :-[ The method throws an exception 0x80010105 (RPC_E_SERVERFAULT).
Does anybody know how to deal with it?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #6 on: March 06, 2007, 08:56:51 am »
Assuming you're trying build 801 or above, please submit a bug report to Sparx. This is certainly not the expected behavior, and is something they need to hear about directly (instead of through the user forum).

There are two easy ways to do this:
  • Click the Support link at the top of the form page, and then click Bug Report in the left side menu.
  • From the EA main menu choose Help | On-line Resources | Bug Report Page
David
No, you can't have it!

SaschaR

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #7 on: July 12, 2007, 04:08:00 am »
Is there something new on this topic?
I am trying to use element.getLinkedDocument(), but all I get is an empty String (for all Elements, ignoring whether they have a linked Document)?
« Last Edit: July 17, 2007, 10:35:02 pm by SaschaR »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #8 on: July 12, 2007, 08:06:32 am »
Are you using 6.5 or 7.0?
No, you can't have it!

SaschaR

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #9 on: July 12, 2007, 11:22:13 pm »
I am using 6.5 (Build 803). Is there a change in 7.0?

Quote
An Element.GetLinkedDocument() method has been implemented for build 801, which should hopefully be available soon.


So I thought it should work.

SaschaR

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Linked Documents & Automation Interface
« Reply #10 on: July 17, 2007, 08:16:11 am »
Can nobody help with this?