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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

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

sbegum-2
12-Amethyst

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

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

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?

Announcements


Top Tags