\;#\" Appended Against Values in List (Multiple-Selection)"

  • 13 March 2018
  • 3 replies
  • 2 views

Badge +9

When I specify a choice control as a multi-selection type, my values in the list and email notifications are displaying as

Value1;#Value2;#Value3;#Value4;

Is there a method to eliminate the hashes? I don't want to have to use fn-replace/Build String or RegEx if possible.

In any case, what would a RegEx expression look like?


3 replies

Userlevel 5
Badge +14

no, you can not change it, that's default behaviour.

regex to remove hash mark would be very simple - just set pattern to hash sign and let it to replace with nothing

Userlevel 2
Badge +11

Hi Furst Lars‌,

Normally I would only expect this to happen with list lookup lists, not choice fields....

To extract the display value of a selected item, you normally use the inline function parselookup(). In case of a list lookup field I used a calculated field the first showing the content of the multiselect list lookup field (LookupTest) and the 2nd when putting the control in the parselookup() function:

                  LookupTest                    : [1;#Choice 1,2;#Choice 2,4;#Choice 4]

                  parselookup(TestLookup): [Choice 1,Choice 2,Choice 4]

Badge +9

I just used fn-Replace({ItemProperty},"#"," ") in a Build String action.

Nintex needs to fix this!

Reply