Configure presentation engines
Add a native presentation engine or a web presentation engine to your project.
TIP:
Each project can contain a single native presentation engine and a single web
presentation engine. If your project runs on the Embedded Edge Compute Module 1756-CMEE1Y1,
add a web presentation engine and delete the native presentation engine.
- InProject view, right-click theUIfolder and selectNew.
- Select one of these presentation engines:
- Native presentation engine. Create a native presentation engine when you are going to runFactoryTalk Optixas an application on the local device. For a typical HMI scenario, this is the direct rendering of theFactoryTalk Optix Applicationon the screen of the target device.
- . Create a web presentation engine to runFactoryTalk Optixas a service on the runtime device or to runFactoryTalk Optixas an application in order to interact with the system using a web client.FactoryTalk Optixas a service automatically runs the deployed application with or without a user interface. This mode is generally used when there is no local operator on the runtime device.
- (optional) Select theNative presentation engineand make any necessary changes inProperties.
- Dynamic variables polling time. Time interval between variable readings.
- Text render type. Specify how text renders to the UI control.
- Virtual keyboard. Select the default virtual keyboard. See Keyboards.
- LoginWindow. Login window type that shows at session start when no user is logged in.
- Start window. Window object type created at the start of a session.
- Starting user. User that authenticates the session.
- Style sheet. Style graphic objects.
- Session. UI Session object to use.
- (optional) Select theWeb presentation engineand make any necessary changes inProperties.
- Dynamic variables polling time. Time interval between variable readings.
- Protocol. Protocol for communication between web clients and the web server.
- IP address. The address for the web server to listen on. Must be a valid IP address of a local device.TIP: Set0.0.0.0to make the web server listen on all available addresses of the local machine. Set a specific address other than0.0.0.0to ignore requests to local addresses different from the entered one.
- Port. Port for communication between web clients and the web server.
- Hostname. Name used to generate a self-signed certificate for HTTPS protocol. If empty, the certificate generates based on the machine name.
- Maximum number of connections. Maximum web clients that can connect to the web server.
- Allowed remote sources. List of remote sources that you can load or use to access the current resource. Accepted formats include name of Internet host or IP address. URL pattern, port number, and path are optional. Wildcards (*) such as *.example.com are accepted for subdomains, host addresses, and port numbers.TIP: EnterAllowed remote sourcesto specify which URLs can embed the current resource. Allowed remote sources provides greater security and control when loading and accessing remote resources.
- Enable automation IDs. Enable automated IDs for automated testing. See Automation IDs.
- Allowed local sources. List of file extensions served by theWebPresentationEngine. The minimum required configuration is:*.html, *.css, *.js, *.ttfBy right-clicking the field and selectingSet default safe values, you can set the following default values:images*.png, *.jpg, *.jpeg, *.gif, *.bmp, *.svgvideo*.avi, *.mov, *.mkv, *.mpg, *.mp4, *.wmvtext files*.pdffont files*.ttf, *.otfweb files*.html, *.css, *.jsFollow these conventions:
- You can use specific file names, such asmyfile.txt
- You can use wildcards (*) to match patterns, for example,file*.txtmatchesfile1.txt,file123.txtand so on.
- The following folders are restricted:/projectfiles/netsolution,/projectfiles/pki,/applicationfiles/.
- All rules are case insensitive.
TIP: Using*to share all files triggers a warning during deployment and logs during execution. - Virtual keyboard. Select the default virtual keyboard. See Keyboards.
- LoginWindow. Login window type that opens when you start a session and no user is logged in.
- Start window. Window object type created at the start of a session.
- Starting user. User that authenticates the session.
- Style sheet. Style graphic objects.
- Session. UI Session object to use.
presentation engine
Provide Feedback