FAQ | Do I need to add the UCI name in the UCI Script tab for UCI Lua functions?

Learn how to configure UCI Lua functions with the appropriate UCI Script tab.

Updated at May 4th, 2023

Your engagement helps us create the content you need. Click here to review this article.



Table of Contents

Answer


No. When referencing the Uci Lua methods in your UCI script, it is unnecessary to define the UCI_Name variable because the script is local to the UCI and its name.

For example:
Uci.SetLayerVisibility(page, layer, visibility, transition)

To learn more about scripting UCIs, see the UCI Controller topic in Q-SYS Help.