Skip to main content
1-Visitor
April 4, 2018
Question

How to start an application on client machine from code on Windchill method server

  • April 4, 2018
  • 1 reply
  • 1156 views

Hi, I have a requirement wherein I need to start a Windows application (E.g. Notepad/PDF Reader) to open a file downloaded from Windchill on the client machine automatically from the code that would be running on the Method server. It would trigger from a Windchill UI action. As of now, I am not able to figure out how to get the client machine Runtime information to handle such a scenario. Or is there some other way to achieve this in Windchill? Any clue/suggestions would be really appreciated. Thanks! .

1 reply

1-Visitor
April 12, 2018

I'm not a coder, so maybe there is a way, but wouldn't that be a huge security vulnerability if a website could cause code to execute on a client machine? I mean what's to say you are just doing something innocent like opening a file and not executing "format c:"?

 

But, depending upon your browser, it can be set to open files automatically for known file types (such as pdfs and Word files). Have you looked at that?