Profile

James Peltzer

Contact Details

My Content

1 to 20 of 50+ total
Posted By James Peltzer 04-21-2025 11:19
Found In Egroup: Facility Control
\ view thread
The bonus bit in the example is that the browser is set to the current value of the URL parameter when it is created by using: ------------------------------ James Peltzer Ross Video ------------------------------
Posted By James Peltzer 04-21-2025 11:19
Found In Egroup: Facility Control
\ view thread
Hi Martin Yes, it is possible to do this with a small piece of ogScript: ogscript.getBrowserById('ID_OF_BROWSER_CONTROL').setUrl('URL_GOES_HERE'); Here it is in an example: Google CBC Canada ogscript.getBrowserById('browser').setUrl(params.getValue('URL', ...
Posted By James Peltzer 04-17-2025 09:53
Found In Egroup: Facility Control
\ view thread
External constraints are still supported though they are not widely used (since no user interface for creating them and working with them was ever added). They are created the same way other constrains are created (params.createIntChoice, params.createIntRange, prams.createStringChoice, params.creat ...
Posted By James Peltzer 04-17-2025 09:50
Found In Egroup: Facility Control
\ view thread
Hi David. Formal parameter references use a "_r_" prefix and are only available in custom panels if the data source is JSON (either OGP-JSON or an ogJSON file). The built-in "self-contained" data for custom panels uses the XML encoding which does not implement any syntax for signaling a parameter reference. ...
Posted By James Peltzer 03-12-2025 11:31
Found In Egroup: Facility Control
\ view thread
Hi Omar I posed this question to our internal team responsible for the Ultrix soft panels that run on Ultritouch (which I presume is what you are referencing) and here is their reply: "In panel editor page where you create softpanel, you can reorder panel's assigned sources by selecting desired ...
Posted By James Peltzer 01-28-2025 09:46
Found In Egroup: Facility Control
\ view thread
Hi Anthony Widgets are only available when a Custom Panel uses a device, xml, or self-contained data source. It looks like your panel was created without any data source at all. You can easily add one by going into edit mode, double-clicking anywhere in your panel to open the source editor, selecting ...
Posted By James Peltzer 01-22-2025 09:37
Found In Egroup: Facility Control
\ view thread
Hi Joseph DashBoad does not natively or automatically process base64 to binary for image data (except inside of external objects but those can't be easily updated if your apis are returning new/different images). Your easiest workaround would be to take the base64 data and use ogScript to convert ...
Posted By James Peltzer 11-14-2024 10:06
Found In Egroup: Facility Control
\ view thread
DataLinq should handle the parameters just fine but it will change the OIDs it receives. Instead of getting "team0.info.name" the parameter will be listed as "team0.info.0.name" ------------------------------ James Peltzer Ross Video ------------------------------
Posted By James Peltzer 11-14-2024 09:55
Found In Egroup: Facility Control
\ view thread
Hi David This definitely appears to be a bug in the parameter serialization code for structs - I will pass it along to the DashBoard dev team for evaluation. In the meantime, you can work around it by changing your parameter "team0.info" from STRUCT to STRUCT_ARRAY. Doing this, the XML serialization ...
Posted By James Peltzer 11-13-2024 10:35
Found In Egroup: Facility Control
\ view thread
Hi David params.valueToJson(myTeam) will transform "myTeam" from DashBoard's internal parameter value representation into a JavaScript object (or array of objects) that you can more-easily manipulate. ------------------------------ James Peltzer Ross Video ------------------------------
Posted By James Peltzer 11-08-2024 16:00
Found In Egroup: Facility Control
\ view thread
Since you're looking to filter the data/copy a subset of rows and columns, using params.getValue() is probably about as good as you're going to get. One efficiency you could get is to build an array of JSON objects containing the values you want to put into your destination struct and use params.setAllValues ...
Posted By James Peltzer 11-04-2024 11:32
Found In Egroup: Facility Control
\ view thread
The issue isn't related to the STRING_STRING_CHOICE constraint. The problem is that you are using an STRING_ARRAY inside of a STRUCT. In this case, DashBoard is processing the sub-parameter as though it will have multiple entries (since it is an array) and attaching the array element index as a suffix ...
Posted By James Peltzer 10-31-2024 10:30
Found In Egroup: Facility Control
\ view thread
Hi Jerry There are a few mechanisms you can try but if you want to capture digits regardless of where the focus is in your panel or in DashBoard, using keyboard shortcuts to trigger soft GPIs into your panel is probably the most reliable route - these fill fire provided a text field does not have ...
Posted By James Peltzer 10-30-2024 15:42
Found In Egroup: Facility Control
\ view thread
Actually, after reading your problem again, I think you can probably get away with something a little easier than a widget. A widget is really handy if you want to reuse something in a lot of places (so if you had the table and a lot of other functionality you were looking to place in a number of locations ...
Posted By James Peltzer 10-29-2024 15:19
Found In Egroup: Facility Control
\ view thread
It's a byproduct of the way DashBoard processes structs. The script mechanism I show in my example is the only way I'm aware of to apply the property thoroughly to everything in a struct array. ------------------------------ James Peltzer Ross Video ------------------------------
Posted By James Peltzer 10-29-2024 14:50
Found In Egroup: Facility Control
\ view thread
Hi David. I have good news and bad news. The bad news is that the way this property is handled, it needs to be applied separately to every instance of every sub-param in the struct. The good news is that the property is exposed via the params.getParam(OID, INDEX).setStream(true/false) script call. ...
Posted By James Peltzer 10-29-2024 14:44
Found In Egroup: Facility Control
\ view thread
Hi David. Yes, a widget can access any parameter in the panel. Typically we would use the baseoid attribute to change which parameter you want to feed as the 'main parameter' for the widget though people also use config parameters in to manage this (either one works fine). What you will want ...
Posted By James Peltzer 10-28-2024 11:16
Found In Egroup: Facility Control
\ view thread
Just a slight clarification/correction: clicking on the column headers only changes the way the data is displayed. It does not impact the actual ordering of the data underneath. Also, another way to make the columns dynamic would be to switch from struct tables to array tables (where each array ...
Posted By James Peltzer 10-24-2024 10:56
Found In Egroup: Facility Control
\ view thread
Hi David The JavaScript processor in DashBoard presently supports this but you are correct in that it is considered 'off the books' or an unofficial feature. What this means is that the ability to do this is not guaranteed from release to release or product to product - for example, the Custom Panels ...
Posted By James Peltzer 10-15-2024 14:26
Found In Egroup: Facility Control
\ view thread
Hi Brian Are you specifically talking about using an Ultrix push-button panel on an Ultritouch or are you referring to another type of Custom Panel? I don't believe the Ultrix Ultritouch layout has the option to show the name of the panel (though I can capture a feature request for this). One ...