Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

GetCurrentSelections() workaround without the fieldname

I would like to make a text object or a header with some text and include getcurrentselections(), - but i shows the field and value - I only want the value - is there a way to do this?

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

If you want to view the current selections of a particular field, use GetFieldSelections(FieldName)

I am not sure if there is an option to show the selections of all fields without the field name.

-Haneesh

View solution in original post

5 Replies
Not applicable
Author

Hi,

If you want to view the current selections of a particular field, use GetFieldSelections(FieldName)

I am not sure if there is an option to show the selections of all fields without the field name.

-Haneesh

Miguel_Angel_Baeyens

Hello,

GetCurrentSelections() returns all current selections for current document, so it will take several lines. By default, separator between fields, should you have more than one field selected is line feed character, in this case, it doesn't make any sense to show only values as you won't know to what field they refer.

GetFieldSelections(FieldName) will return a comma separated list of values for the field specified. If the field might have more than six values, you should use instead

GetFieldSelections(FieldName, ',', 50)


Hope that helps

Not applicable
Author

GetFieldSelections was just what I needed - thank

Not applicable
Author

Hi,

By default GetFieldSelections display everyting, Label + Selected value.

If we use GetFieldSelections (field) , it only returns one field.

What if i want to display all selected fields values only? not the label of the field? just the selected data. is it possible?

Thanks.

b_garside
Partner - Specialist
Partner - Specialist

I've been wanting to do the same. Its time consuming to have to list each using GetFieldSelections(field)