dblookup が docunid を返すことを確認し、dblookup を xpages のドキュメント データ ソースの documentUniqueID プロパティに追加してから、データ ソース変数を使用して値を保存または更新します。
unid を取得するための dblookup にキーワードがあります。または、unid を含む列を返すことができます。
このようなもの
<xp:panel>
<xp:this.data>
<xp:dominoDocument var="doc" action="openDocument"
documentId="#{javascript:@DbLookup(...)}">
</xp:dominoDocument>
</xp:this.data>
<xp:button value="Label" id="button1">
<xp:eventHandler event="onclick" submit="true"
refreshMode="complete">
<xp:this.action><![CDATA[#{javascript:doc.save()}]]></xp:this.action>
</xp:eventHandler></xp:button>
<xp:button value="Label" id="button2">
<xp:eventHandler event="onclick" submit="true"
refreshMode="complete">
<xp:this.action><![CDATA[#{javascript:doc.save()}]]></xp:this.action>
</xp:eventHandler></xp:button>
<xp:button value="Label" id="button3">
<xp:eventHandler event="onclick" submit="true"
refreshMode="complete">
<xp:this.action><![CDATA[#{javascript:doc.save()}]]></xp:this.action>
</xp:eventHandler></xp:button>