Grouping Labels Removed in Text Mode | Community
Skip to main content
PavlinPa1
Level 3
December 4, 2020
Solved

Grouping Labels Removed in Text Mode

  • December 4, 2020
  • 1 reply
  • 1264 views

Hello Community,

Please consider the scenario in the attached file. There is an example of a view with two levels of grouping. I want to remove the grouping labels and just look at the information in this particular view. There is too much of a repetition, especially when all records in the view are collapsed. For instance, need to remove the words, License, Home Group, and Name (see all red boxes). Want to leave everything else (see all green boxes). There was a trick doing this in text mode. Could anyone remind me of the code changes I need to do in text mode for those fields in order to remove/hide those grouping labels/names? Thank you in advance.

Best,

+Pavlin

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by imgrund

Hi Pavlin - I do this all the time to to clean things up. I take out the extra stuff and then put a name=

In your example though, you do have to be careful with the enum's otherwise you'll get a weird display. So I put the full text for you.

textmode=true

group.0.enumclass=com.attask.common.constants.LicenseTypeEnum

group.0.name=

group.0.valuefield=licenseType

group.0.enumtype=USER

group.0.type=enum

group.0.valueformat=val

group.1.name=

group.1.valuefield=homeGroup:name

group.1.valueformat=string

group.1.iscollapsed=true

1 reply

imgrund
Adobe Employee
imgrundAdobe EmployeeAccepted solution
Adobe Employee
December 5, 2020

Hi Pavlin - I do this all the time to to clean things up. I take out the extra stuff and then put a name=

In your example though, you do have to be careful with the enum's otherwise you'll get a weird display. So I put the full text for you.

textmode=true

group.0.enumclass=com.attask.common.constants.LicenseTypeEnum

group.0.name=

group.0.valuefield=licenseType

group.0.enumtype=USER

group.0.type=enum

group.0.valueformat=val

group.1.name=

group.1.valuefield=homeGroup:name

group.1.valueformat=string

group.1.iscollapsed=true

PavlinPa1
PavlinPa1Author
Level 3
December 5, 2020

Thank you @Anthony Imgrund‚ . Your suggested code worked like a charm. Thank you for your help.

Just for completeness, I'm going to display below the original code as well as your suggested improved/updated piece of code for other people to see the difference, if interested. Thank you again for your help! Really appreciate it!

##-------------------------------------------------------------------------------

## ORIGINAL CODE (including the grouping labels)

##-------------------------------------------------------------------------------

textmode=true

group.0.enumclass=com.attask.common.constants.LicenseTypeEnum

group.0.valuefield=licenseType

group.0.valueformat=val

group.0.namekey=licenseType

group.0.enumtype=USER

group.0.linkedname=direct

group.0.type=enum

group.1.valuefield=homeGroup:name

group.1.linkedname=homeGroup

group.1.namekey=view.relatedcolumn

group.1.valueformat=string

group.1.namekeyargkey.0=homeGroup

group.1.namekeyargkey.1=name

##-------------------------------------------------------------------------------

## UPDATED CODE (excluding the grouping labels)

##-------------------------------------------------------------------------------

textmode=true

group.0.enumclass=com.attask.common.constants.LicenseTypeEnum

group.0.name=

group.0.valuefield=licenseType

group.0.enumtype=USER

group.0.type=enum

group.0.valueformat=val

group.1.name=

group.1.valuefield=homeGroup:name

group.1.valueformat=string

group.1.iscollapsed=true

Cheers,

+Pavlin