Daily Archives: August 8, 2016

  1. Home
  2. /
  3. Archive for August 8th, 2016
Screen Shot 2016-08-05 at 1.26.45 PM

New Developer Feature – Hide Preference When Empty

Posted in : New Features on by : Tim

We are excited to announce the new hideWhenEmpty preferences configuration option. This feature will be useful to all developers wanting to provide a more succinct and friendly installation flow for your SmartApps. Prior to today if you wanted to hide an input field you would have needed to clutter up your code with if statements. This was hard to read and added another layer of complexity to your code. This is where hideWhenEmpty comes in. hideWhenEmpty will allow you to hide device inputs from the UI that could be empty. Making it easier for your users to understand how to…