0
Questions about the Scripting functionality in Axiom
Forum / Questions & Answers
I am trying to add the functionality of a time range picker that effects all the controls in an axiom application that would probably be in multiple applications in multiple screens and I had a few questions.
- is there a way to add other options into the controls list that would directly add the group of controls i have defined and saved somewhere to be the time range picker, so I or a user doesn't have to copy and paste the group of controls and the code every time to add the time range picker?
- Assuming that the answer for the first one is no, is there a place that i can place the code i wrote for the component behavior so that it applies to all applications/all screens in an application?
- Is there a way to add controls to an application or a screen just by pasting code into the script of the screen?
1 reply
-
Hi ,
We don't support this behavior. Controls/screens/scripts found within an application are stored within a json file (.AxiomApp2) for that particular application. By default, these are located in ProgramData/Canary/Axiom/Files/[user].You can copy/paste under the covers using the json file if that is more efficient than using the U/I, but you'd need to make sure that Screen names and Control names within the screen are unique.