I know there is a way to add tags to a file by getting a list of the tags with name and id, and then add it as properties to a document.
But I have a problem on finding the jar file for the following import:
import org.alfresco.service.cmr.tagging;
I looked all over the places but couldn't find it.
My first thought is deprecated or removed as functionality from Java API.
Can someone help me get this jar file?
Thank you.
You Need the alfresco-repository-XX.jar which you can get by including a Maven dependency on the org.alfresco:alfresco-repository artifact in your POM (assuming you are using e.g. the Alfresco SDK).
Indeed Axel, I checked it on Maven online dependencies, but I couldn't find it. I got the Alfresco Core and other repositories, but seems that library is not included in those packages. I don't know where else to look for this library. I also checked Download alfresco-core-2.2.0.jar : alfresco « a « Jar File Download for the jar files, but again this library for tagging is not included.
Looks like I got to a dead end.
Any help is truly appreciated.
Thank you.
I said you needed the alfresco-repository-XX.jar and you checked the alfresco-core-XX.jar of an extremely old version? Why did you not look in the Alfresco repository? Sources like java2s are unofficial and may have extremely varying degrees of quality anyway - they should not exist at all if people didn't blindly follow Google search results.
Thank you Axel, it looked like I had an outdated version. You opened up my eyes.
I appreciate your help. Desperation made me trust Google's first page results.
Thank you again.
Regards,
Dan.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.