Using icon set in SmartApp preferences

smartapp

#1

Hi all I’ve added an icon to my SmartApp preferences as shown here, however I’m not sure how to use this icon as the SmartApp’s icon.
I’m assuming this is possible, if so how?
If not, what is this icon used for…?

preferences {
	section("Icon") {
			icon(required: false)
	}
}

(Dale C) #2

just wondering why you wanted the option “required : false” and not true? Your question as is isn’t clear to me when you say you added an icon. Do you have a custom icon?

I think I may be misunderstanding what you are after. What exactly are you wanting to do here, have the user of the smartapp change the smartapp icon to his own liking from the existing icon library?


#3

I’m want to allow the user to set the icon for the SmartApp