Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Color Theme IDs and Corresponding FF Codes
Hey everyone,
I recently put together a script that utilizes the current user's color theme. I couldn't find an easy way to get all the IDs of the color themes and FF color codes (of navigation bar) without going through one by one. So, since I've already done the leg work, here are the arrays of IDs and and FF color codes (matching index in each array).
var color_ids = ['-358', '-5', '-16', '-14', '-15', '-8', '10', '-9', '-7', '-13', '-12', '-6', '-11', '-100', '-101', '-102', '-103', '-104', '-105', '-106', '-107', '-108', '-109', '-110', '-111', '-112', '-113', '-114', '-115', '-116', '-117', '-118', '-119', '-120', '-350', '-351', '-352', '-353', '-354', '-355', '-356', '-357', '-361', '-362', '-359', '-360', '-363', '-364', '-365', '-121', '-122', '-123', '-124', '-125', '-126', '-127', '-128', '-129', '-130', '-131', '-366', '-367', '-368', '-369', '-370', '-371', '-372', '-373', '-132', '-133', '-134', '-136', '-137', '-138', '-139', '-148', '-135', '-141', '-142', '-143', '-144', '-145', '-146', '-147', '-148', '-149', '-150', '-151', '-152', '-153', '-154', '-155', '-156', '-157', '-158', '-159', '-160',
0