Building Shareable Libraries
- Updated2024-05-31
- 1 minute(s) read
Building Shareable Libraries
Use your web application library to share reusable code.
-
Add all of the source files for your web application to the library.
Note Ensure you create the library on the web server target.
- Add a HTML panel palette and all supporting functions to the web application library.
- Add a palette with your custom UI elements to the web application library.
- Build the web application library into a package or package installer.
Related Information
- Creating a Library
To create a library, create a Library document (.gcomp) and add source files to the document.
- Creating a Custom Palette
The palette provides an organized hierarchy of all the objects you can add to the diagram or panel. Create a palette file (.gpal), or an add-on library, to customize a palette category with the objects in your library. By default, custom categories are added to the Add-ons palette category.
- Adding a Custom UI Palette to Your Web Application Library
Add custom UI elements you created with the Placeholder HTML Container to a palette in your web application library.
- Packaging a Library
Use a Package document (.lvdist) to build a library into a package or package installer.