function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Lookup window style



For the lookup dialog window that pops up when inputting a lookup relationship in an object, the window that shows up is themed to be light blue and white (standard theme). Is there a way to make the style on this lookup window?


I know I can roll my own lookup window, and I've done it for some of the other fields, but there are a ton that I don't really want any changes done except changing the background color itself. Is there an option to change that through salesforce? Or is creating a dynamic lookup the only way?




Mike @ BlackTabMike @ BlackTab

The only thing I can think of is injecting javascript or jQuery to manipulate the pages css. You might be able to create a visualforce page with an iframe who's src is the lookup url, and in the parent visualforce page include some JS code that will manipulate the content in the iframe. You may run into salesforce's XSS protection though.