Document Tags from API Explorer yields all lowercase values with unwanted beginning spaces

cancel
Showing results for 
Search instead for 
Did you mean: 
NevilleEkka
Member II

Document Tags from API Explorer yields all lowercase values with unwanted beginning spaces

I understand the recomended way to fetch all tags available in Alfresco is through the API Explorer and method in the link:

https://[Omitted URL]/alfresco/api/-default-/public/alfresco/versions/1/tags?skipCount=0&maxItems=100

 

However, the tags are all coming out lowercase and contains unwanted spaces at the beginning. Although those white spaces can be trimmed, the all lowercase tag names is posing a big challenge. Is this a problem with Alfresco API itself or am i missing a parameter?

1 Reply
afaust
Master

Re: Document Tags from API Explorer yields all lowercase values with unwanted beginning spaces

Tags are always lower-cased by the default Alfresco APIs for handling tags. The "unwanted spaces" thing is definitely not part of the standard and I would expect this to be an input issue, i.e. whatever client / interface is providing or extracting the tags to begin with. Alfresco by itself does not add a whitespace anywhere.