Add custom UI elements you created with the Placeholder HTML Container to a palette in
your web application library.
Before you create a palette for your custom UI elements, complete the
- Enable the preview feature—Navigate to Enable Placeholder HTML Containers in
WebVI library palettes to enable this
feature. Refer to Preview
Features to learn more about LabVIEW NXG
and in the Web Module section, select
- Create UI elements—Use the
Placeholder HTML Container and Obtain
custom UI elements for your web application.
Use a control definition file to make the
custom UI elements you create available in the palette when someone installs
your web application add-on.
Create or open a library in your web application project.
sure this library has an extension of
.gcomp and has a Web Server
Create a control definition file and add it to the
Add your Placeholder HTML Container to the control definition
file and configure how you want it to appear when placed on
the front panel.
use the Image URL option, you cannot use an image
file in the library at deployment. You must use an
image URL from the public internet or a
self-contained data URL. If you try to reference an
image file in the library component, it may not
resolve in the correct location once
In the library with the control definition file selected, click
Create palette file from the
Select G HTML panel palette for the
(Optional) Use the configuration pane to configure your