I bumped into this on one of my projects and wanted to put up a quick post as a reminder to anyone trying to do the same thing.
The project involves a traditional Notes application that is used to send a survey out to a large number of users. There is a separate survey document in the database for each user. I wrote an agent to create an e-mail to send to each user, and the agent constructs a unique URL that the user can use to open the survey. The survey is presented through a browser using an XPage. The URL looks something like this:
Now, this particular application isn't the first time I have used this approach. With the previous application it worked just fine. This time, I couldn't load any of the field values that I wanted to display through the XPage, and drove myself a bit nuts trying to figure it out. Lots of Google searches later I was still trying to figure it out.
This wiki page helped, both for the original solution and the fix to my problem: http://xpageswiki.com/web/youatnotes/wiki-xpages.nsf/dx/Work_with_URLs
Mixed with some of my other XPages resources I finally discovered the solution. I needed to tell the XPage what documentID to open, in the properties of the XPage. There is a handy way to do it too, by pulling the documentID out of the URL:
Be sure to make the document id property computed by clicking the blue diamond before putting in the formula.
Now, I found references to the original approach that I used without mention of the additional step I had to take, so I'm not sure if a newer version of Domino made the change necessary or not. Either way, I am very happy to have found the solution.
Reminder: IBM ConnectED Early Bird Discount Expires Friday
Thu, Oct 2nd 2014 9:14a Graham Acres Just a quick reminder to those considering attending IBM ConnectED in Orlando in January: the early bird discount expires tomorrow, Friday, Oct. 3 at midnight Eastern time. If you haven’t heard yet, the conference is being limited to 1500 attendees this time, so it won’t be the size of Lotuspheres past.
Also of note people are finding that the only accommodations available through the booking web site are the Dolphin and the Swan at $299 per night. Y&B and Port Orleans were t [read] Keywords: ibm
Win a Copy of Mastering XPages at MWLUG
Wed, Aug 20th 2014 9:13a Graham Acres Not that you should need any more motivation to attend MWLUG, but if you are still on the fence I am happy to offer another small incentive. Brytek Systems will be giving away three copies of Mastering XPages 2nd Edition during the conference. I have this book in my personal library and can attest that it is a great reference. Not only is it strong technically as you would expect, it offers some great nuggets too.
The conference organizers have graciously allowed me to present two sessions th [read] Keywords: domino
Unique Case of @ThisValue
Thu, Aug 14th 2014 10:10a Graham Acres I came across this little bug yesterday that I want to share. A client of mine has a traditional Notes application that has some fields populated from an Oracle database via Lotus Enterprise Integrator (LEI). There is a Connection document in LEI that includes among the fields mapped to the Notes app, two computed fields that are not actually updated by any data from Oracle. Those fields in Notes had a formula of ‘@ThisValue’.
What we noticed was that these two fields, after be [read] Keywords: lei
Two Quick Memories of Tim
Fri, May 16th 2014 3:11p Graham Acres I’m afraid I can’t claim to call Tim my friend, but only because we ever met face to face a couple of times. Like many people, I got to know Tim through what he shared with our community. I read his blog, watched his videos, and occasionally interacted through Skype. In fact, I watched the Java series he did for NotesIn9 only 2 weeks ago. I think that’s why this has hit me harder than perhaps I would have thought. I have his voice in my head. I even had a quick chat [read] Keywords: domino
Do You Want to Speak at MWLUG?
Mon, Apr 21st 2014 12:14p Graham Acres You may have noticed the announcement last week that the annual MWLUG user group meeting is accepting abstracts to speak this year. The conference is slated for August 27-29 in Grand Rapids, MI. After speaking two of the past three years, missing last year, I plan to be back this year and hope to have the opportunity to speak again. It is always rewarding to share with this wonderful community.
Which gets me to the point of this post. I have also had the good fortune of being able to spe [read] Keywords: admin
Wed, Oct 2nd 2013 10:11a Graham Acres Being in the same time zone as Bruce, and one of the last to see the sunrise today, many others have already offered the reasons why we are thanking Bruce for all he has done for our community, so I will simply say that I echo their thoughts, comments, and thanks enthusiastically. Bruce, we all very much appreciate everything you have done.
I want to offer something else, on a much deeper level. I read today that Bruce has been chairman of OpenNTF since 2001. Many know he lost his daught [read] Keywords: ibm