I am trying to change document content and save the changes into current version itself without increment the document version number using filenet java API.
Any one help me on this topic.
I am trying to change document content and save the changes into current version itself without increment the document version number using filenet java API.
Any one help me on this topic.
Changing content always leads to the creation of a new version. It is not possible to directly accomplish what you want.
If you need the version number intact, delete the current version and save the changes. Then create a new version.
As fnt said, the main goal of an ECM platform is to guarantee that a version content stays unchanged. The only thing doable, is to update as much times as you need the content of the checked out version (reservation). That can be useful for a Save (without CheckIn scenario). Don't know if that is useful to you. If not, you need to delete/re-create a new version to keep the same version number.
Delete, make changes to the document and recreate the same with updated content is the only solution.