I’ve noticed that some of the input types for smartApp preferences don’t match the documentation. For example the password type is not masked/obscured as stated in the documentation. Is this a known issue or is a fix planned in the near future?
Perhaps it’s the lack of coffee this morning, or the long holiday weekend… but I don’t see a reference in that page to bool’s being stored as strings…
We can certainly update that input elem type to be more clear about the value being returned as a boolean, just don’t want to miss your original point…
Ah… I see what you’re saying now. You are correct, and the bool type wasn’t doc’d before.
Check out the input element docs now - you should see bool there, along with clarifications about boolean.
Long story short - use bool - it gives you a boolean value back (which is generally preferred), and works consistently in the simulator and mobile clients.
Apologies for the confusion, thanks for pointing it out.
Glad to find this thread. Very disturbing!! I wasted hours today on this issue!!!
And, that doc page does NOT help as searching for “boolean” all day long will NOT find that!
try it - search for boolean and try to see if that pops up glaringly to help…
Any idea why this change?