cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Graphic display timeout

ptc-2916524
1-Newbie

Graphic display timeout

Hi Folks,

Is there a way to have Epic timeout if it can't find a graphic? We use a URL in our graphics tag to pull in a graphic from a web server. Recently, the web server was not operating properly and it caused Epic to hang for a long period of time while it tried to fetch graphics into the current document. This presented a severe problem for production users on a daily deadline. We would like to configure Epic to timeout the request more quickly so if our graphics server is down, it doesn't impact Epic.

Thanks,

Allen

1 REPLY 1

Not really easy, but you could code a graphics path hook then in the
underlying code check to see if the web site is responding quickly. You
would need to use Java with a separate thread and see if the thread
looks hung to minimize the chance that the check hangs just as badly.
Then return either the original path to the graphic if the web site is
responding or a reference to a placeholder graphic in the
custom/graphics directory.

John Dreystadt
Software Development Director
Arbortext - PTC
734-352-2835
-


Top Tags