Hopefully this is in the realms of the possible. I have a managed metadata column. I wanted this to allow multiple selections and through a workflow I've copied the column to another for use in filtering.

This of course brings in all the crud. So my clothing column turns into:


I then use a calculated column to remove the "pipe" character:


Which leaves me just with Clothing. Great. Unfortunately when using multiple selections it breaks. If I chose more than one and get this:


My formula just keeps the Clothing part. Is there a way of this formula removing the | and keeping my metadata? So it turns this:


Into this:


1 Answer 1


I had to extract data from a metadata field before, although mine was date data.

I used a Sharepoint Designer workflow to extract a value from the date field and to copy it to a new field. Maybe my post could help you or perhaps spark an idea as to how you can solve your problem; have a look at the picture of the workflow, the "copy 6 characters from the start..." would copy the Clothing value. Then, depending on whether the number of characters in your string varies (ideally it would be a constant), you might be able to extract the Equipment value as well - see the Action in the workflow "starting at 0"...

You might find that the order of your workflow would need you to extract (copy and paste the value 'Equipment' to another field) first of all, since this value is in a trickier position 'mid-string'. Once Equipment has been split off, you could then make the workflow copy the easier 'Clothing' value, since this is at the start of your string. Otherwise I fear the "starting at" Action would fail - since Clothing is 8 characters, if you have a longer or shorter value the workflow would copy the alpha-numeric jumble instead.


EDIT: additional link for your research - although you'd need to test if this would work for a meta-data field type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.