Client Dashboard

(imported topic written by FITZPAW91)

Hi all

Just discovered this great new tool, and now i am trying to customize it. I am not very familiar with HTML, but I have made many changes, and when I try to output it, the offer.css settings do not take, and any relevance that outputs more than one option is all on one line.

I would like to see the customization, as I have bodyBg.jpg, bodyHeaderBg.jpg, bullet.gif, offer.css and sectionHeaderBG.gif all in the __UISupport directory.

Please advise how I would output seperate the lines by using this relevance.

Services Automatic Stopped : <?relevance (display name of it & " - " & state of it) of services whose (start type of it = "auto" and state of it != "Running") ?>

Here is my code.

Thanks

William

(imported comment written by Lee Wei)

This looks like useful info - to see the services tagged as Automatic start but currently stopped.

Try this:

Services Automatique Arreter : <?relevance trs of tds of (display name of it & " - " & state of it) of services whose (start type of it = "auto" and state of it != "Running") ?>

Lee Wei

(imported comment written by FITZPAW91)

That was perfect, thanks alot, it put each entry on a seperate line.

But how about the customization problems that i am having, any idea?

“the offer.css settings do not take”

William

(imported comment written by Lee Wei)

In the Client Dashboard.txt file that you attached, there is reference to using the fixlet.css style sheet.

You indicated that you want to use offer.css, so it should be referenced somewhere.

(imported comment written by FITZPAW91)

You are right, I changed the .css to fixlets.css to see if that one would work. I have tried both, and neither seems to work.

Thanks

(imported comment written by Lee Wei)

You can and should debug this as standard HTML document with css outside of the BigFix environment.

(imported comment written by ajoheb91)

for the offer.css to work, change ‘ref’ to ‘href’

“href=“offer.css””

(imported comment written by ajoheb91)

I am pretty new in writing relevance…

Could anyone please help me in writing a relevance which will return the Relay information the client is reporting to?

I was trying with “selected server” but could not make it happen.

Another Q, is there any way to display the active Power Profile in the dashboard?

I found the name in my computer in the following reg key:

HKEY_USERS\S-1-5-21-1801674531-2049760794-725345543-812137\Control Panel\PowerCfg\PowerPolicies\6

(imported comment written by Lee Wei)

Hi ajoheb,

Thanks for helping us with the earlier question.

  • To get the relay that the client is reporting to, you can use the relevance “name of selected server”.

I know this by referring to the relevance help file located here: http://support.bigfix.com/fixlet/

I downloaded the CHM version: http://support.bigfix.com/fixlet/documents/Win_Inspector_Help.chm

  • For the Power Profile, you will find the relevance statement in the Power Management analysis “Power Options Information”.

Since we try to accommodate many scenarios (including the Mac), the relevance is longer. I have pasted here for your reference.

if name of operating system = 
"Mac OS X" then (

if exists file 
"/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist"then ((

if it = 3 then 
"Better Performance" 

else (

if it = 2 then 
"Normal" 

else (

if it = 1 then 
"Better Energy Savings" 

else 
"Custom" )) ) of integer 
"AC Power" of dictionary 
"ActivePowerProfiles" of dictionary of it) of file 
"/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist" 

else 
"Normal") 

else 

if (name of operating system = 
"WinVista") then (

if (value 
"FriendlyName" of key (
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\" & (value "ActivePowerScheme
" of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes
" of registry as string)) of registry as string) contains ",
" then (following text of last ",
" of preceding text of first "%00
" of (value "FriendlyName
" of key ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\
" & (value "ActivePowerScheme
" of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes
" of registry as string)) of registry as string)) else (preceding text of first "%00
" of (value "FriendlyName
" of key ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\
" & (value "ActivePowerScheme
" of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes
" of registry as string)) of registry as string))) else ((if ( exists current user) then ((value "name
" of key ("Control Panel\PowerCfg\PowerPolicies\
" & value "CurrentPowerPolicy
" of key "Control Panel\PowerCfg
" of it as string) of it as string ) of (key ("HKEY_USERS\
" & (name of key whose (name of it as lowercase != ".default
" AND name of it as lowercase != "s-1-5-18
" AND name of it as lowercase != "s-1-5-19
" AND name of it as lowercase != "s-1-5-20
" AND value "Logon User Name
" of key "Software\Microsoft\Windows\CurrentVersion\Explorer
" of it as string as lowercase = (if exists first "\
" of (value "Logon User Name
" of key "Software\Microsoft\Windows\CurrentVersion\Explorer
" of it as string) then (preceding text of first "\
" of (value "Logon User Name
" of key "Software\Microsoft\Windows\CurrentVersion\Explorer
" of it as string as lowercase) & "\
" & name of current user as string as lowercase) else (name of current user as string as lowercase))) of key "HKEY_USERS
" of registry)) of registry) ) else ("No Login User
")))

Since we are starting new questions, would you mind posting as a new thread next time? Thanks.

Lee Wei

(imported comment written by FITZPAW91)

Thanks ajoheb

The href worked.

(imported comment written by ajoheb91)

Thanks a lot Lee, it worked like a magic!

(imported comment written by Lee Wei)

ajoheb,

Thanks for letting us know.

Lee Wei