logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
wboyles  
#1 Posted : Tuesday, March 14, 2017 11:37:11 PM(UTC)
wboyles


Rank: Newbie

Joined: 11/28/2015(UTC)
Posts: 6
United States

Thanks: 2 times
Hi!

I'd like to re-organize our SC portal. Right now I have the following structure:

Quote:
- Internal Infrastructure
- Internal Hyper-V Servers
- Clients (Group)
- Client 1
- Client 2
- Client 3


What I am looking for is the following structure, if it's even possible. I am no expert with the group expressions so this may be an easy thing and hopefully someone can point me in the right direction, or maybe it's not possible, but here's what I'd like:

Quote:
- Internal Infrastructure
- Internal Hyper-V Servers
- Clients (Group)
- Client 1 (Group)
- Workstations
- Servers


Then obviously, all devices that show a non server OS installed would be under Workstations, and then Server OS would be under servers. Is it possible to have this kind of.. nested grouping? Is that the correct term.

Currently, we're using the 'Organization' field on a session to populate the 'Client 1', 'Client 2' names which gives us the grouping. Would it be possible to achieve the layout I'm looking for?

Thanks in advance for any and all help you may be able to provide! ThumpUp
Scott  
#2 Posted : Monday, March 20, 2017 2:07:39 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,398
United States

Thanks: 3 times
Was thanked: 297 time(s) in 255 post(s)
So, it's not exactly the prettiest filter or expression but I think it's pretty close to what you're looking for. It achieves 'nested' subgroups without really nesting them, however.

Basically, I have created a group where the Session Filter is set to only display any session with a populated CustomProperty1 (ootb Organization). This group then uses a specifically formatted Subgroup Expression to filter based upon the CustomProperty1 value and the GuestOperatingSystemName.

The Session Filter looks like:
Code:

LEN(CustomProperty1) > 0


The Subgroup Expression looks like:
Code:

CustomProperty1 + ' - ' + IIF(LEN(CustomProperty1) > 0, IIF(GuestOperatingSystemName LIKE '*' + 'server' + '*', 'Servers', 'Workstations'), CustomProperty1)


In my testing I had 3 sessions, one with CustomProperty1 set to Acme and 2 with it set to Umbrella; one of the Umbrella sessions was a server. When selecting the group it expanded to display a of Organization - Workstations/Servers subgroups sorted in lexicographical order.

UserPostedImage

Edited by user Monday, March 20, 2017 2:13:24 PM(UTC)  | Reason: Not specified

ScreenConnect Team
thanks 1 user thanked Scott for this useful post.
wboyles on 3/27/2017(UTC)
cdandrea  
#3 Posted : Monday, March 20, 2017 4:02:31 PM(UTC)
cdandrea


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 3/8/2014(UTC)
Posts: 59
Canada
Location: GTA

Thanks: 13 times
Was thanked: 7 time(s) in 6 post(s)
Here is ours.
We essentially removed ALL of our customer-level session groups and created one for the root level

Session Group name: By Company

Sublevel 1 - CustomProperty1 is defined as the Organization (default)
Sublevel 2 - CustomProperty2 is defined as the Location/Site, e.g. branch office, franchise, home
Sublevel 3 - GuestOperationSystemName, grouped as Server, Mac, Windows

CustomProperty1,CustomProperty2,IIF (GuestOperatingSystemName LIKE '*Server*', '-- Servers', IIF (GuestOperatingSystemName LIKE '*Mac*', '-- Mac', IIF (GuestOperatingSystemName LIKE '*Windows*', '-- Windows', '-- Other')))

thanks 2 users thanked cdandrea for this useful post.
Mike on 3/20/2017(UTC), wboyles on 3/27/2017(UTC)
wboyles  
#4 Posted : Monday, March 27, 2017 4:52:54 PM(UTC)
wboyles


Rank: Newbie

Joined: 11/28/2015(UTC)
Posts: 6
United States

Thanks: 2 times
Thank you both - I'm going to test these tonight and see what I can do. Appreciate the input.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.