How to add metadata when creating an item

  • 26 November 2018
  • 5 replies
  • 1 view

Badge +5

Hi, I've got a workflow that creates a SharePoint item. However, there is a compulsory metadata field in the list which is causing me some problems. I'd like to be able to assign a value to the metadata field in the "Create an item" action, but it just won't work. I've tried entering the full path with both commas and colons e.g.

Level 1,level2,level3

Level 1:level2:level3

But I always get the error

Bad Request "The given guid does not exist in the term store"

Is there any way to add the metadata?

Thanks.


5 replies

Badge +7

Hi 

try with semi-colon 

Level 1;Level 2 ; Level 3; 

Regards

Ranjith

Badge +5

Thanks for the suggestion. I've tried that, with and without spaces, unfortunately it doesn't work.

Alice.

Badge +7

Hi 

have to call metadata internal name:--

it Should be like this 

221852_pastedImage_1.png

Regards

Ranjith

Badge +5

Sorry, I don't quite understand ... in the "Create an item" element of the workflow, how does that work? At the moment I've got this:

screenshot of metadata field

So I've just typed in the values. Is that not correct?

Badge +7

Hi

For metadata columns create or Update you have to use internal (static) name of the hidden field, it Would be FOISubject_0 if you want to hard code the value you should use the value like 

"2;#Termname|d511f3c7-377f-480f-aff6-beebecd3c675"

Regards
Ranjith

Reply