I want to update tag field in capability with the patch request
I gave the request body as:
[
{
"path": "/tags",
"op": "add",
"value": "abc"
},
{
"path": "/tags",
"op": "add",
"value": "pqr"
},
]
however this is not adding the values abc and pqr,
it is replacing the values with the last operation that is pqr
the value of tags = "pqr"
@Shuchi Shah The Tag field is just a String (not an Array) so you have to first get the current value and then append the additional tag strings.
The syntax for adding to an array is shown in image 1 and results in image 2. Note the "/-" at the end of the "path". Image 3 seems to be indicating that it is broken for "Tags". I have a script that I have run in the past that uses that syntax to add to Tags, so I am fairly certain it worked in the past.
I'll check if this is a known bug and report back.
image 1
image 2
image 3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did not see this listed as a know issue, so I created the following support request: ALIGNSP-24303
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.