369 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
Win8 will require major rewrite of apps?
Thu, Feb 16th 2012 327
Able to say Thanks
Mon, Jan 16th 2012 164
Notes in 9: PDFs from XPages (part 2)
Tue, Jan 10th 2012 369
Printing mailing labels from Lotus Notes
Sat, Dec 31st 2011 201
The problem with rebranding...
Sun, Oct 23rd 2011 104
Agent to facesContext stream: I'm missing the connection
Tue, Sep 27th 2011 143
Get all attachment names for xPages
Sat, Aug 20th 2011 362
Top 10
Notes in 9: PDFs from XPages (part 2)
Tue, Jan 10th 2012 369
Get all attachment names for xPages
Sat, Aug 20th 2011 362
Win8 will require major rewrite of apps?
Thu, Feb 16th 2012 327
Validate a Combobox
Wed, Nov 3rd 2010 278
Printing mailing labels from Lotus Notes
Sat, Dec 31st 2011 201
Able to say Thanks
Mon, Jan 16th 2012 164
iText in XPages
Sun, Aug 14th 2011 161
Agent to facesContext stream: I'm missing the connection
Tue, Sep 27th 2011 143
Xpage how to getUserInfo?
Fri, Nov 12th 2010 142
New line in Xpages with iText
Wed, Aug 17th 2011 132


Brian Moore
Blog Title Domino Herald
Blog Description A developer calling in the wilderness
Blog URL http://www.bleedyellow.com/blogs/DominoHerald/
RSS Feed http://www.bleedyellow.com/blogs/roller-ui/rendering/feed/DominoHerald/entries/rss
PlanetLotus Feed http://planetlotus.org/profiles/rss/brian-moore
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked May 18, 2012 12:13:21 AM EST. Realtime Update:
Landed Here Jul 02, 2009
Location Knoxville, TN, USA
Posts: # / 1st / Latest - -
Total Hits 3,672. myPL RSS Selections: 59


Recent Blog Posts
327


Win8 will require major rewrite of apps?
Thu, Feb 16th 2012 6:10a   Brian Moore
One of the things I love about Domino is the backwards compatibility . It's not as easy, but if you write it you don't have to rewrite it because there is a new Notes/Domino release. You may want to, in order to take advantage of new features and styles, but it won't break just because there is an upgrade. Things seem to be different in Redmond-world. According to The long kiss goodbye for x86 desktop Windows is this quote: So, just in case you didn’t understand that [read] Keywords: domino ibm notes application desktop microsoft office oracle
164


Able to say Thanks
Mon, Jan 16th 2012 8:11a   Brian Moore
Being at Lotusphere means i get to shake hands and thank some of the people who have helped me. That alone is great. Yeaterday I got to thank Stephan Wissel http://www.wissel.net/ He has long been an asset to the community. Cheers Brian [read] Keywords: lotusphere community
369


Notes in 9: PDFs from XPages (part 2)
Tue, Jan 10th 2012 3:11p   Brian Moore
My second Notes in 9 has been posted check it out! I expand on my first one mostly with examples from Ulrich Krause. At the end, I mention using the XAgent to generate PDFs after having the user enter data on an XPage. I'm working on that just now, and I'm almost finished. The project is to have a user fill out a series of screens wizard-fashion, and at the end have it properly populate a PDF. Since an XAgent is an XPage, I just open that XPage with the document I've been collecting [read] Keywords: ibm notes xpages application java javascript xml
201


Printing mailing labels from Lotus Notes
Sat, Dec 31st 2011 10:09a   Brian Moore
I've been doing some work with iText to generate PDFs. One of the things I do every year is send out a lot of Christmas cards. Naturally, want I want to do is take my data from a Lotus Notes database and print up labels to stick on the envelopes. There is little out there to make it happen. But since I have been working in iText, I thought I would try to do it with that. I stated out by defining the entire page (as a rectangle), so I would have control over the layout. Then I started exper [read] Keywords: lotus notes bleedyellow bleedyellow.com database
104


The problem with rebranding...
Sun, Oct 23rd 2011 7:10p   Brian Moore
I'm always amazed at one part of any rebranding effort, and that is the disregard for the adherents to the "old" brand. Marketers come up with a new brand and/or logo to give a fresh start to something, but I've never once seem them take the people who actually like the old brand into account and involve them with the new one. Lotus is probably rebranding, I've accepted that. I'm not happy with it, but hopefully it will keep the technology that I work in around for a long tim [read] Keywords: ibm lotus
143


Agent to facesContext stream: I'm missing the connection
Tue, Sep 27th 2011 8:09p   Brian Moore
Stephan has a great post on using facesContext to handle the output of an agent. But I'm missing how you hook the agent output to this. I'm not a deep Java guy, and I've been looking for it and not finding it. What I want to do is have an agent where I create a document (a PDF at this point, so Java) and create a file then serve the file to the browser. All the examples I'm finding are showing how to do it all in via the writer where you write the text in (like the example in t [read] Keywords: agent xpages java




362


Get all attachment names for xPages
Sat, Aug 20th 2011 3:14p   Brian Moore
For a project, need to get the name of an attachment in a rich text field for use in an xPage. Easy in LotusScript, but using the Java vector to go through the objects in the RT field took me a bit to figure out, so I thought I'd share. The code below will return the names of all the attachments in a RT field. var db:NotesDatabase=session.getCurrentDatabase(); var doc:NotesDocument=db.getDocumentByUNID('80E2193C517E9B3A872578D90018D92E'); var valString:String = ""; if (d [read] Keywords: lotusscript rich text xpages java
132


New line in Xpages with iText
Wed, Aug 17th 2011 9:11p   Brian Moore
I just posted on using iText to create PDFs via xPages. Working on this, I found it difficult to put in a new line (carriage return). After some experimentation I found this works: newPDF.add(new com.itextpdf.text.Paragraph(' ')); newPDF.add(new com.itextpdf.text.Chunk.NEWLINE); I'm not sure why a bit of space does it, but just adding NEWLINE wasn't doing it. Cheers, Brian [read] Keywords: xpages bleedyellow bleedyellow.com
161


iText in XPages
Sun, Aug 14th 2011 11:10a   Brian Moore
Declan has a post about using iText to dynamically create PDFs using xPages. Since this is something I'm working on right now, it's been a godsend. Actually, Declan's been a godsend for the entire xPage community with his tutorials. But back to iText. iText is a Java library that lets you create PDFs via code. Very useful. Declan's post above is an introduction to using it in xPages. As he says, his post is a good starting point giving the reader. I'm not a big JavaScript d [read] Keywords: xpages community java javascript
127


Dynamatic external URLs in XPages
Fri, Jul 29th 2011 7:13p   Brian Moore
One of the few things you can set programmatically in Xpages is the URL target of a Link custom control. And sure enough, I have a need to just that. I've been working on a little app for a friend of mine that is like a list of bookmarks, with some categorization, tags, and searching. I wanted to have a view (or data table or whatever) with the links displayed and when you click it it just takes you to that site in a new window/tab. One little bits missing: the diamond next to the link URL: [read] Keywords: notes xpages
99


File Menu Export to MSExcel
Mon, Jul 4th 2011 8:16p   Brian Moore
So I had a keystroke flub today that seems to have revealed a trick. It's worked a couple of times for me today, but I'd like to see if it works for anyone else. OK, we all know you can do File>Export to created a 1-2-3 spreadsheet, but 1-2-3 files can't always be imported to new spreadsheet programs (Symphony, MSExcel, etc.). What I did was while exporting as a 1-2-3 I accidently told it to save as a .xls file. It did, and I was able to open it in MSExcel like it was native. A [read] Keywords: symphony
100


Developer needed in Aiken, SC
Mon, May 23rd 2011 10:09p   Brian Moore
 I have a call from a recruiter looking for a Developer to work in Aiken, SC. The job is Notes client based, with LotusScript needed. If you, or someone you know, is interested, please contact me at my yahoo address, it's brian.moore100. I'll be glad to hook you up with the recruiter. I'm not in the recruiting business, but I do want to give jobs as wide a distribution as possible. Heck, I've been between jobs before, and I want to help keep people (and especially Notes people) employed. [read] Keywords: lotusscript notes notes client
52


Developers needed in St. Louis and Orlando
Tue, May 3rd 2011 11:11a   Brian Moore
 I have had calls about Developer positions in St. Louis and Orlando. I'm currently in a contact in the town I live in, so I'm not looking to move. However, if you or someone you know is looking, contact me (I have a yahoo.com email address at brian.moore100) and I will connect you with the right people. Both are expected to last 3-4 months.  For the St. Louis one, I know the recruiting firm and the firm looking for work, and I can endorse both - both have been very good to me in the past. [read] Keywords: email
64


And when the power goes out...
Mon, May 2nd 2011 8:08p   Brian Moore
 So I live in the southern US and we've been hit by storms. I've been lucky and not had much of a hit at all. But I did lose internet connectivity for a few days. However, since I'm a Notes Developer, I could still work. I had some XPage stuff to do, and I just did it since Notes allows me to be disconnected and still work.  Between the storms and the outages of cloud providers (can you image if Sony was hosting you cloud-based services just now?) whatever you build had better be ready for [read] Keywords: notes
51


R7 Launch tab can't read Xpages (duh)
Tue, Feb 8th 2011 9:12p   Brian Moore
 So I updated a discussion database to the new R8.5 template for discussion databases. There was a replica on a R7 server, but that didn't seem to be a problem. I set the app to launch an Xpage in XPiNC. That caused a bit of a problem, and I needed to set the Notes client launch back to the frameset. I had a R7 client up, so I used it to change the launch tab. This doesn't work very well. If, using R8.5, you set the client launch to an Xpage, then use R7 to have the client launch a frameset, [read] Keywords: notes notes client R7 R8 xpages bleedyellow bleedyellow.com database properties server
56


NotesStreams are persistent little buggers
Tue, Jan 18th 2011 6:12p   Brian Moore
  have been working on a project that queries a SQL database returning a lot of data. I have been using NotesStream to create a .csv file of the output. I really like NotesStream, and I've been able to do some cool stuff with it. As expected, the first while of this project was spend getting the data I wanted and formatting it like it needed to be and so on. Once I had this, I started looking at my results a bit. The first row was a title row, and I had a little function that populated the Not [read] Keywords: agent apple database sql
142


Xpage how to getUserInfo?
Fri, Nov 12th 2010 1:15p   Brian Moore
div This is one of those cases where I really think the lack of XPage documentation is a real problem. Im working on a XPage and I want to have a link to take the user to their mail file. In @Formula, I could use @MailDBName - but there is a LotusScript equivalent, and there is a function in the Domino SSJS. But I cant figure out how to call it. In LotusScript, you create a NotesRegistration object, set the server, then you can call it. When I try something similar in SSJS, I always get an erro [read] Keywords: domino lotusscript notes notes client xpages javascript server
55


XPages dont see view changes?
Sun, Nov 7th 2010 7:14p   Brian Moore
div Im sure Im missing something obvious but here it is: Im xPaging a database and Im not seeing some of the changes Im putting in. Here are the two examples:/divdiv /divdiv1. I have a combobox that changes based on an earlier selection. It does it mostly right, but in cases where there is an empty value, it gives me 3 entries. Now these 3 entries where blank, but I when in and filled in values, so there are no uncatagorized  entries in the view Im pulling from. /divdiv /divdiv2. I built a n [read] Keywords: notes notes client xpages database server
109


What is Expression Language?
Wed, Nov 3rd 2010 8:28p   Brian Moore
div XPages bring in a lot of new options for Domino Developers, including something called quot;Expression Languagequot;. The problem I had with it was that I couldnt figure out what this was supposed to be. There is a footnote type of reference in the (a href=http://www.bleedyellow.com/blogs/DominoHerald/entry/i_hate_the_new_designer_help8?lang=ensomebody save us please/a) Designer quot;Helpquot;, but heaven knows it was hard to find. So Im posting that you can read about it here: a href=http: [read] Keywords: domino xpages bleedyellow bleedyellow.com wiki
278


Validate a Combobox
Wed, Nov 3rd 2010 7:27p   Brian Moore
div Ive been working on validation for a Combobox on xPages. If there is something simple out there, Ive missed it, and Id love a pointer. However, what I want to do is put a default value in and have the user change it. But have an error message if they leave the default value in. After some work, I found how and its below. I used the helpfule quot;Do it and move itquot; method. I didnt find this exactly for comboboxes, but the method works for inputTexts, so I got an inputText to validate the [read] Keywords: xpages
36


My note to Lotus Support
Tue, Nov 2nd 2010 7:27p   Brian Moore
divLike most of us, Ive had to call Lotus Support several times over the years. Im always so pleased at how things turn out. Not only is the staff knowledgeable, but the help I get is very useful. I get the result of a fix, not that they are giving me an answer to get on to the next call. Considering how bad a lot of customer service is, and how un-helpful so may help lines are, this is a welcome break.br /br / Like most places, they ask for feedback. Below is my most recent note (with the addr [read] Keywords: lotus notes
37


Re: DDN unresponsive - who to go to for Domino hosting?
Fri, Oct 29th 2010 8:29p   Brian Moore
pIn response to: a href=http://www.bleedyellow.com/blogs/DominoHerald/entry/ddn_unresponsive_who_to_go_to_for_domino_hosting6DDN unresponsive - who to go to for Domino hosting?/a/pI heard from someone who is also having trouble with DDN. Her company as been without their Lotus Notes email for days and they havent been able to get a response from DDN at all - trying the support system (which submits a form) or the telephone number. divnbsp;/div divnbsp;/div One of my apps uses a simple LotusS [read] Keywords: domino lotus lotusscript notes bleedyellow bleedyellow.com email
40


Link to the Sandbox
Fri, Oct 15th 2010 1:28p   Brian Moore
div For some (and I cant think of a good) reason, IBM isnt hosting the Sandbox anymore. The Sandbox has a lot of very important code that just doesnt exist anywhere else. There are some new sources out there, but Sandbox has some that cant be replaced. /divdiv /divdivThankfully, Peter von Stöckel has put up a replica:br //divdiv /divdiva href=http://www.bananahome.com/users/bananahome/blog.nsf/d6plinks/PSTL-89ARL8Bananahome/a/divdiv /divdivHes a real hero!br /br /Cheers,/divdivBrian br //di [read] Keywords: ibm notes
107


Wait for external process to finish
Thu, Oct 14th 2010 8:30p   Brian Moore
div Sometimes you need to send a command out (shell) from LotusScript and it would be best to wait until it finishes to go to the next bit. I needed this when waiting for a print job to finish before going on. The below isnt my code, it was posted on the a href=http://www-10.lotus.com/ldd/nd6forum.nsf/869c7412fe5d56b7852569fa007826e3/ba7bb421d92fedf885257186006f3f78?OpenDocument6/7 Forum by Ernie Mercer/a, and it was so useful to me, I thought it would be good to post it out a bit. The below is [read] Keywords: ldd lotus lotusscript apple
43


QuickTip: Year options
Wed, Oct 6th 2010 7:29p   Brian Moore
div So the other day I was building a form to allow users to run an agent to generate a report. Make a selection or two and pass the parameters and let it go. But one of the options is to select the year for the report. Now in most cases, the selection will just need to be the current year, so no worries there. But I wanted to give them the option of looking at the previous year, and for fun thought I should come up with a way to show the previous couple of years. I often see  year selections [read] Keywords: agent
47


LotusLive radio commercial
Wed, Oct 6th 2010 6:26p   Brian Moore
div Driving home last night I heard a LotusLive radio commercial. In Knoxville, Tennessee. Now between podcasts, audiobooks and NPR, I dont listen to a lot of commercial radio any more, but it was sooooo cool to hear a commercial in my market for Lotus. And it was pretty good, except for the disclaimer at the end where IBM could change the price at any time. Do they not have contracts for that? 12 months of service for $X?/divdiv /divdivCheers,br /Brianbr / /div [read] Keywords: ibm lotus
44


Round Robin: populating every possible set of values
Thu, Sep 16th 2010 8:28a   Brian Moore
div Recently Ive been working on some changes to a form. Im at the point where I need to put some values in and be sure all the subforms and Hide-Whens are working as expected. I followed my normal practice to spot check and make corrections, then I settled down to try out every iteration. Thats where I discovered that I had a bit of a problem. Way too many possibilities to do this one at a time. I had seven different fields and between 2 and 8 possible values. Im no math wiz, so my brain just [read] Keywords:
33


Lotus Sandbox disappears
Tue, Sep 14th 2010 11:25p   Brian Moore
div span class=Apple-style-span style=border-collapse: separate; color: rgb(0, 0, 0); font-family: Times New Roman; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;span class=Apple-style-span style=font-family: times new roman,new york,times,serif; font-size: 16px;font face=sans-serif size=2The Sandbox has been a val [read] Keywords: ibm lotus apple
51


DDN unresponsive - who to go to for Domino hosting?
Tue, Aug 24th 2010 1:26p   Brian Moore
div For the last several years, Ive used the Domino Developer Network to host my personal Notes apps. Overall, Ive not had any problems. Support requests werent answered in 2 seconds, but since they werent critical, I got decent responses - except for the one time the request got lost entirely./divdiv /divdivLast month, however, I created some new XPage apps and moved them up. When I tried them from a browser, they didnt work. A little troubleshooting showed that quot;.xsp is not recognizedquo [read] Keywords: domino notes network server




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - FAQ - Mobile Edition