Setting Up Web.Link
This section describes instructions to setup Web.Link.
See the Creo Parametric Installation and Administration Guide for information on how to install Web.Link.
Supported Hardware
On Windows you can use Web.Link in the embedded browser.
Supported Software
Web.Link in the embedded browser supports the browsers supported by Creo Parametric, specified at http://www.ptc.com/support/creo.htm.
Security on Windows
Operations performed using Web.Link in the embedded browser can read and write information in the Creo Parametric session and from the local disk. Because of this, Web.Link in Creo Parametric uses three levels of security:
•  Web.Link code only functions in web pages loaded into the Creo Parametric embedded browser. Pages containing Web.Link code will not work if the user browses to them using external web browsers.
•  Web.Link is disabled by default using a Creo Parametric configuration option.
•  The Web.Link ActiveX control has been created as not safe for scripting. This requires that security settings be enabled in Internet Explorer, allowing only certain sites access to the Web.Link methods and objects.
Note
The support of Web.Link for the Chromium browser is not based on ActiveX technology. Therefore, the section on browser security and security settings are applicable only to the Internet Explorer.
Setting Up Browser Security
Follow the procedure below to change the security settings:
1. In Internet Explorer, select Tools  Internet Options. Click the Security tab as shown in the following figure.
Image
2. Select a zone for which you want to change security settings.
3. Click Custom Level….
4. Change the setting for Initialize and Script ActiveX controls not marked as safe under ActiveX controls and plugins to Enable, as shown in the following figure.
Image
5. Change the setting for Active Scripting under Scripting to Enable as shown in the following figure.
Image
Add and Remove Sites to Security Zones
Follow the procedure below to add sites to the security zones:
1. In Internet Explorer, select Tools  Internet Options.
2. Click the Security tab.
3. Select the security zone to which you want to add sites.
4. Click Sites….
5. Click Advanced…, this option is available only for the local intranet.
6. Enter the name of site.
7. Click Add.
The site is added to the security zone as shown in the figure below:
Image
Enabling Security Settings
To run Web.Link in the embedded browser security set the following in Microsoft Internet Explorer:
•  Allow scripting of ActiveX controls not marked as safe
•  Allow active scripting
These security features can be set to the following values:
•  Disable—The activity is not permitted. Attempting to load a Web.Link page will result in the following exception:
"Automation server cant create object"
•  Prompt—Each time the browser loads a web page that tries to access Web.Link methods and objects, you are prompted to allow the interaction activity as shown in the following figure.
Image
•  Enable—The interaction activity is always permitted
Script security can be independently assigned to four domains:
•  Intranet—The organization’s local intranet, including all access via file:// URLs and selected internal web servers.
•  Trusted sites—Web sites designated as trusted.
•  Restricted sites—Web sites designated as untrusted.
•  Internet—All other sites accessed via the Internet.
Running Web.Link On Your Machine
To run Web.Link on your machine do the following:
•  Edit your config.pro file to enable Web.Link on the local machine.
•  Optionally setup browser security for your local intranet settings.
•  Run Creo Parametric.
Load web pages containing Web.Link functions and application code into the embedded browser of Creo Parametric.
Change in Location of DLL and Manifest Files
From Creo Parametric 4.0 onward, the following Web.Link installation files are available in <creo_loadpoint>/Common Files/x86e_win64/obj folder instead of <creo_loadpoint>/Common Files/x86e_win64/lib folder:
•  pfccefs.dll
•  pfcxps.dll
•  pfcscom.dll
•  pfcscomAsm.manifest
Troubleshooting
The following table describes some common errors and how to resolve them.
Error
Explanation
pfcXNotConnectedToProE exception
The web page was loaded into a web browser that is not the Creo Parametric embedded web browser.
OR
The web page was loaded into the embedded web browser but the configuration option web_enable_javascript is not on.
Nothing happens when JavaScript is invoked; or "Automation server can't create object.”
The Internet Explorer security is not configured to allow the web page to run Web.Link, or the Web.Link license is not configured.