You can go to Vendor Profiles to add particular variables for your type/brand of switch or device.
Administration -> Vendor Profiles
Find your device (or family of the device) and add the variable you'd like. For instance, to use HTTPS://%IP as the URL for my device (in the below case, a Summit Series), when I choose "Webview," I'd add the Webview property to the device (or family) as follows.
This assumes, though, that the option is actually available on the switch (i.e., if your switch does not support the https connection (only http)) then this option would fail.