IUpdater Error Message

IUpdater Error Message

Anonymous
Not applicable
658 Views
3 Replies
Message 1 of 4

IUpdater Error Message

Anonymous
Not applicable

Hi,

 

I’ve been using some updaters that use the IUpdater interface in some of my addins.  I don’t have any problems with the updaters themselves really, it’s just that I implemented one a while ago without setting it to "optional" and so a file I was working on was saved with “non-optional” updater data in it.  Now when somebody without the updater loads the file, as expected they get the “Missing Third-Party Updater” message.  I know in the future to set any updaters as optional, but is there any way to remove/suppress the message on this older file?

 

I know that this message is merely a warning, and I’ve even written code to account for all changes that somebody’s made to the file without the updater.  But the issue is that I’m working with some people who get spooked very easily and won’t touch this file when this message pops up, even when I’ve explicitly told them it’s alright just to hit “Continue working with the file.” or “Do not warn about this updater again and continue working with the file.”.  Basically I need to remove the data from the model that informs it that it was once modified by a non-optional updater; even changing the updater to optional in my .dll and loading it into the file doesn't overwrite the model knowing that it was onced modified non-optionally.  Hope this all makes sense.

 

Travis

0 Likes
659 Views
3 Replies
Replies (3)
Message 2 of 4

adam.nagy
Autodesk Support
Autodesk Support

Hi there,

 

I think you could use the Failure API for that:

http://thebuildingcoder.typepad.com/blog/2010/04/failure-api.html

 

I hope this helps.

 

______________________________________________________________

If my post answers your question, please click the "Accept as Solution"

button. This helps everyone find answers more quickly!



Adam Nagy
Autodesk Platform Services
0 Likes
Message 3 of 4

Anonymous
Not applicable
Thanks for that, but I've already seen that page/tried to suppress the message through the failure API with no success. It seems that, at least with the methods I've been using, that the failure message of "Missing Third Party Updater" isn't read like other errors, something I've found out through debugging. Can anybody else verify this? On another note, the architects I'm working with are being very difficult and would most likely not be open to having to install an additional addin just to suppress this message. If there are solutions that don't involve the end user having to do anything themselves, that would be ideal.
0 Likes
Message 4 of 4

jeremytammik
Autodesk
Autodesk

Dear Travis,

 

If you really seriously just want to suppress the message and nothing else, I have the absolute killer for you: my dialogue clicker:

 

http://thebuildingcoder.typepad.com/blog/2009/10/dismiss-dialogue-using-windows-api.html

 

Here is a usage example:

 

http://thebuildingcoder.typepad.com/blog/2012/01/synchronize-with-central.html

 

Last resort, though, I would say.



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes