コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Manually Incrementing Version ID Whole Number

Avatar

Level 4

We have a requirement that when a page is activated, a version that is subsequently created should increment its id's whole number. So for example a page on version number 1.13, when activated, should create a version 2.0. Looking through the API there doesn't appear to be any way to control the actual version number, just the label. If we set the label to 2.0, obviously the next version manually created would be 1.15 because the label doesn't effect the actual id. Is there any way within CQ/JCR to change this number?

Thanks

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

We had the similar use case, it seems that you cannot control version numbers. It is only version label that can be controlled. On the side kick it looks like version numbers but they are actually version label. Sidekick displays version label in restore version column, however if there is no version label it displays version number in the column.

元の投稿で解決策を見る

2 返信

Avatar

正解者
Community Advisor

We had the similar use case, it seems that you cannot control version numbers. It is only version label that can be controlled. On the side kick it looks like version numbers but they are actually version label. Sidekick displays version label in restore version column, however if there is no version label it displays version number in the column.

Avatar

Community Advisor

We had the similar use case, it seems that you cannot control version numbers. It is only version label that can be controlled. On the side kick it looks like version numbers but they are actually version label. Sidekick displays version label in restore version column, however if there is no version label it displays version number in the column.