First THWACK post, so take it easy on me. I'm trying to get a SWQL query to include the Group Container status icons in the table. I've reviewed other posts and have been able to widdle the query down to a couple of options but I can't get the gif image to show correctly for Option #1 and I can't get the icon color to show on Option #2. I'm open to other alternatives too.
SELECT g.StatusDescription AS Status,
g.Name AS Name,
gcp.Group_Team_Responsible AS Division,
gcp.Group_Severity_Level AS [Service Criticality],
g.DetailsUrl AS [_LinkFor_Name],
CONCAT ('/Orion/images/StatusIcons/Containers/Small-?entity=Orion.Groups&status=', 'G.StatusDescription') AS [_IconFor_Status] - Option #1
--CONCAT ('/Orion/StatusIcon.ashx?entity=Orion.Groups&status=',G.StatusDescription) AS [_IconFor_Status] --- Option #2 -- This is also an option, compared to the one above, IF I can get the icon colors to show up.
FROM Orion.Groups g
FULL JOIN Orion.GroupCustomProperties gcp ON g.ContainerID=gcp.ContainerID
Option #1 Result:
Option #2 Result: