Browse FAQs

Upgrade to PME2020. Links in vista diagrams are not shown if the network paths are used in Diagrams.

Published date: 26 June 2020

Issue 
Images diagrams are not shown if the network paths are used in Vista.
Vista shows the files correctly

Error message from the Application Modules database:

The specified image filename //SERVERNAME/ION-Ent/config/diagrams/images/status_graphics/button.bmp is a network path, which is forbidden. Status Code 404 will be returned.

LogClientExtendedInformation: Authenticated User: 'internal:database:333f0146-3f33-4ff5-a1fc-5fba13a2eede:Supervisor'; Requested URL: 'https://SERVERNAME /ion/ImageConversion/GetImage.aspx?name=%2f%2fACC4-PME1%2fION-Ent%2fconfig%2fdiagrams%2fimages%2fstatus_graphics%2fbutton.bmp';; Request Method: 'GET'; REMOTE_ADDR: 'fe80::3835:ad5a:685c:6a62%2'; USER_AGENT: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E)'; HTTP_X_FORWARDED_FOR: ''; 
LogClient: Applications.Web::Applications.Web.Logging.WebLogger::PersistLog


Environment
Upgrade to PME 2020

Cause
As far as the problem with the images in Diagrams goes, there were security changes for PME 2020 that don't allow network paths to be used in Diagrams


Proposed Solution

When you configure a diagram in Vista to display an image and browse to that image, the path is saved in the dgm file as:

x-pml:/diagrams/

If the hyperlinks need to be updated, you can either try manually or Edit the file and make sure to identify a pattern that can easily be replaced in the files. 

Note: Always make a backup, try in a diagram, then extend to a couple of them, and when you are certain use any third-party tool to go through a bunch of files to replace.
–With notepad++ for example, but might be better tools on the web.

Attachments/Links
 

  1. How to Find and Replace Words in Multiple Files: https://www.makeuseof.com/tag/how-to-find-and-replace-words-in-multiple-files/#:~:text=Open%20Notepad%2B%2B%20and%20go,the%20new%20word%20or%20phrase.
  2. 5 Free Tools to Search and Replace a Word or Phrase Across Multiple Text Files https://www.raymond.cc/blog/search-a-particular-word-in-multiple-editable-text-files/

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.