Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
You cannot use cef within creo. Creo has its own embeded browser. What you can do is program your application in new toolkit creo.js which can handle inputs from html page of embeded browser. If you want to have program logic written in different toolkit you can make web server which would listen for incomming requests from the html page a make assynchronous calls to creo.
Hi @sjuraj, Thanks for your response and providing information that we won't be able to use cef based implementation within Creo.
If Creo has its own embedded browser, how can I use this to load a URL (that loads a javascript file with a set of functions implemented for example, one of the functions is: getActiveModelNameinCreo()) that is hosted on an application server e.g., TomEE. While the URL is loaded, it provides a message that says "provide active model name in Creo session". If I have to implement a javascript file e.g., creo.js as suggested, how do I recognize the call back message of the URL loaded which is waiting for the inputs to display on the page? I am new to this kind of toolkit application. Could you please elaborate on how the creo.js should look like to be able to receive inputs from the html page of embedded browser? I hope that this is clear, please let me know if you need any more information...
Regards,
Sampath Rallapalli
Here are toolkit guide locations for all creo toolkits. Note you must have toolkit installed to find guide. You will find all informations how to setup and you creo.js toolkit (how to handle inputs, get data from session etc.). To load webpage to embeded browser you can this or you can use your toolkit to set url (eg. in jlink Window.setUrl(<your_url>)).