I'm working on two Domino databases that contain XPages :
- the 1st database is a public database,
- the 2nd one is restricted to a group (let's say the HR team)
I'm building an XPage in the public DB and I need to populate a sessionScope variable with the data of the HR's database (for example the HR id of the user)
So, as the normal users will not have access to the HR DB, a @Dblookup is not allowed.
Using sessionAsSigner method needs to re-sign all elements of the db each time a developer is modifying a XPages component (otherwise the sessionAsSigner element is unknown).
Then, how to query a database that I do normally not have access ? Do I have to call an agent with higher access than the connected users ? And then, how to populate the sessionScope variable ?
Any help will be greatly appreciated