xpages getDocument().getUniversalID() -



xpages getDocument().getUniversalID() -

i want test getting universalid:

i create computed field:

<xp:text escape="true" id="computedfield3" value="#{javascript:cdoc.getdocument().getuniversalid()}"> </xp:text>

when compose doc. content on xpage, computed field having unid , changing if nail refresh. in lotus notes programming, unid if current document saved, having default value @text(@documentuniqueid).

should save first cdoc datasource right unid? know i'm missing something.

thanks time

if refresh page in browser new document gets created. that's why different unid.

from previous questions know define cdoc info source with

<xp:this.data> <xp:dominodocument var="cdoc" formname="fmperscontact"> </xp:dominodocument> </xp:this.data>

and means cdoc created every time open xpage.

update:

in addition, different unid every time field gets calculated on server when partial refresh , document not saved yet.

xpages

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -