Welcome to the IBM Collaboration Solutions Community IQJam.
UsernamePassword
Reset Password | Register
   
Home | Leader Board | Tags | Help
XPages: Offline Solution 
I have a suit of 10 databases in my application. I am currently migrating the design to XPages. My intention is to allow users to take local replica copies of these databases and let them work off-line. (For few security reasons, we cannot use DOLS as the off-line solution)
 
So far I converted one of the main screens in the application to XPage. It works great in both Browser & Client. But I am facing one issue here.
 
There are several areas where I need to pull data from the other databases (using URLs). I am having a tough time figuring out the correct URL for that.
 
I had posted another question related to this for which Matt White gave me a good answer. But I didn't specify that it is for the Local database.
 
Here is what I need now.
 
On clicking a link from a XPage in database A, I want to open a PDF file from database B in a dojo Dialog box. I am using IFrame as the dialog content. What will be the src url like?
 
I tried the following. 
 
Domino Development / XPages
Tagged
Rajeev Menon - about 1 year ago |  |  | Viewed 313 times

There are 3 answers

0votes
I responded to your question on the Forum, but I'll copy it here for anyone else who stumbles across this:
 =========
I need to do a bunch of apps for the off-line local client.  I have high hopes for Xpages in the client combined with replication.  I've deployed on early test to a couple of users, and while I'm having some issues with Printing, the app is working and pulling data from another location database which is a typical notes Client app.

So conceptually it's looking pretty good for Xpages on the client.

I've not done anything with trying to pull attachments though.  but did you see Stephan's post on this topic today?  That might help you.

http://planetlotus.org/6e5618


David Leedy - about 1 year ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community


0votes

Matt White responded to my earlier question about the attachment which is along the same lines as Stefan's.

http://iqjam.net/iqjam/iqjam.nsf/questions/20100622_XPages_in_Notes_Client!!_How_t.htm

The issue here is, there is no server name, as the databases are on local machine (off-line). Leaving the attachment issue aside, I need to know the exact URL pattern/syntax to open a notes document from another local database.

Since the application is web application, the whole thing on local replica has to work in the Notes Client Firefox. So a "Notes:///" protocol is not what I am looking for. 
 


Rajeev Menon - about 1 year ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community


0votes
Rajeev, I too responded to your query on the 8.5 forum. 
Would something like this work for you?

http://localhost/folderName/dbName.nsf/$$OpenDominoDocument.xsp?documentId=2E9F4E6E258D9C748525774D00718D8E&action=openDocument
 
The only trick is figuring out what the path on the local machine is.


Judy Kilpinen - about 1 year ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community