Gateways and Energy Servers
Schneider Electric support forum to share knowledge about product selection, installation and troubleshooting for EcoStruxure Panel Server, PowerTag, Com'X, Link150…
User | Count |
---|---|
82 | |
46 | |
28 | |
28 |
Link copied. Please paste this link to share this article on your social media post.
Hello ComX team,
I am not sure what determines whether or not a custom model will have (by default) certain 'Publish' and 'Log' buttons checked or unchecked. What I can tell you is that it is a huge time sink to have to check all of these boxes. I'm referring to the settings for an individual device in the Device Settings Tab:
This particular model has 77 registers being read, and I have 25 devices using the model. That's a lot of clicking (1925 times) just to click the 'Publish' button. It would be nice to either 1) Have all Log & Publish buttons selected by default when adding a new device from a custom model or 2) Have a 'Select/Deselect All Publish' button and 'Select/Deselect All Log' button.
My recommendation would be to include some variation of making this easier in a future firmware release, as it is a huge time sink, especially considering it takes just as long to save the device changes as it does to click all 77 registers. Thanks in advance.
Posted: 2017-12-22 07:43 AM
Link copied. Please paste this link to share this article on your social media post.
Hi Jeffrey,
Good point on the time duration for checking all of these boxes. We don't currently have a functionality that enables you to do this from within the ComX application, but I'd be happy to share with you a quick way to do this using a javascript bookmark on chrome. If you simply bookmark the following:
javascript:$('input[type=checkbox]').each(function () {var sThisVal = (this.checked ? "" : this.click());});
And click it when you have a device selected, you'll see all the boxes get checked.
For example here is a book mark I've made called "Check all Boxes"
Then I can navigate to my device settings view:
And I can push my bookmark button:
Then you'll see all the boxes get checked, and you can save the changes:
Hope this helps!
Colton
Posted: 2017-12-22 07:43 AM
Link copied. Please paste this link to share this article on your social media post.
Hi Jeffrey,
Good point on the time duration for checking all of these boxes. We don't currently have a functionality that enables you to do this from within the ComX application, but I'd be happy to share with you a quick way to do this using a javascript bookmark on chrome. If you simply bookmark the following:
javascript:$('input[type=checkbox]').each(function () {var sThisVal = (this.checked ? "" : this.click());});
And click it when you have a device selected, you'll see all the boxes get checked.
For example here is a book mark I've made called "Check all Boxes"
Then I can navigate to my device settings view:
And I can push my bookmark button:
Then you'll see all the boxes get checked, and you can save the changes:
Hope this helps!
Colton
Link copied. Please paste this link to share this article on your social media post.
Colton,
Thank you for the workaround, especially providing such level of detail. Do you feel confident that the javascript will ONLY check the boxes of the device that is currently selected, and that it won't automatically check the boxes for the other devices not selected?
Thanks,
Jeff
Posted: 2017-12-22 08:09 AM
Link copied. Please paste this link to share this article on your social media post.
Hey Jeff,
Yes, that's correct. It will only check the boxes for the selected device.
Best Regards,
Colton
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.