Hi John and thanks for your help, sorry for my delay in the answer: i’ve been trying and trying different ways to make it work…with no success.
I used that article to do my test but i still can’t get the correct UniversalID.
I tried this two ways:
set a DataSource direclty on the Xpage and set the var value = “UF”, inherit that DataSource on the View and set the new var field to “vUF”;
set the Datasource on the View, set the var field to “cVF”.
My questions:
for the first case:
why UF and vUF are two different objects ? (I can’t use getNoteID on UF but i can on vUF)
should i use UF (the Xpage Datasource “var” name) or vUF (the “var” name of the View inherited from Xpage)?
for the second case:
why, in the View All properties, there are two fields “var”, what’s the difference ?
which one should i use ?
In all of these cases, i set a new column using the “var” name (UF, vUF, cUF) .getUniversalID() + “?OpenDocument” and i always get the “Invalid Universal ID” error in server console.
The code is basically exactly the same as the one in the article you passed me, but if what above is not enough, i can post it as well.
Thanks very much.
I’ll appreciated any help, can’t understand why such a simple thing doesn’t work!!!
I set up a new Domino server, same condition as the previous one and i made two xpages,one with a view datasource, (on the first column “show as link” and set the other xpages as default form) and the other one with a document datasource.
It worked perfectly !
So i tried to understand and…
(ok maybe i had to say it earlier…)
on my first server the database is DB2enabled, and the NotesView used as datasource in the first Xpages is a QueryView, which means it’s getting data from DB2…
Could this influence and be responsible for this behaviour?