is it possible to make dynamic subpages in protocol or page button could be a option?
Hi Chirangee,
Yes, it's possible to create dynamic pages (not just subpages). You can find more details here.
In short, here’s how it works:
First, you need a parameter that determines which page to display based on its value.
Let’s say I have a parameter with ID 7004 that has two possible values: YCBCR or RGB.
Based on this value, I want to present either the RGB or YCBCR configuration, depending on the current Proc Mode.
To achieve this, you can do the following:
Name: Name of the page
OverridePID: The desired parameter
Value: Current value of the parameter
Once set up, you will see both pages in the editor, allowing you to drag and drop the parameters you want displayed on each page. However, with the options I’ve defined, only one page will be visible at a time. The other will remain hidden.
Hope this helps you,
Hi Chirangee,
“YCBCR” and “RGB” are just examples. You can show or hide pages based on any parameter value (e.g., “enable”/”disable”, etc.).
These are standard parameters, so you can retrieve their values from your API, set those values in the desired parameters, and decide which parameters you want to use to control the visibility of your pages.
my question is diff consider it as insert xml tag in xml file during runtime similar to insert html tag during runtime using javascript.
Hi Chirangee,
Changing a protocol at runtime is not possible. This is why I suggested you to use dynamic show/hide pages based on a parameter value.
Hi Chirangee,
You can add a page button to a protocol.
More info can be found in the docs here.
YCBCR or RGB these type value can i set after getting api data. so they become subpages