So, I'm building an desk reservation application. The requirement is to create a dynamic pin-point, to the desk which is selected, on the jpeg Floorplan.
I'm trying to set the value of that icons to true/false depending on what the value from SharePoint is available.
I'm planning to do this by setting the value of a global variable to the value of "pinNameForApp" which is pulled from the SharePoint. This value is exactly same to the name of that icon.
Say the name of icon is 'pinLW19', that value would be set for the global variable.
Now I want to access this icon (of name pinLW19) and set it's Visible property to "true".
Is there a way to find the icon by its name, or access it some other way?
Attaching images for the icon, image and screen and for the SharePoint data.