357 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Take a REST - MWLUG 2014 Presentation
Fri, Aug 29th 2014 494
Using the NotesSAXParser- a simple example
Sat, Aug 16th 2014 464
iText: make an attachment out of text
Mon, Aug 11th 2014 408
NotesRichText fields attachments to Java InputStreams and Byte Arrays
Mon, Aug 11th 2014 438
Set default font and size for CK Editor - a simple example
Mon, Aug 11th 2014 370
XPages - User entering Telephone numbers/Translation and Validation
Wed, Jun 18th 2014 715
Panel inside a Repeat getting the wrong datasource
Wed, Apr 16th 2014 646
Top 10
Simple Example of the OpenNTF Domino API
Thu, Apr 3rd 2014 800
XPages - User entering Telephone numbers/Translation and Validation
Wed, Jun 18th 2014 715
OpenNTF getSession
Wed, Apr 16th 2014 685
Panel inside a Repeat getting the wrong datasource
Wed, Apr 16th 2014 646
Take a REST - MWLUG 2014 Presentation
Fri, Aug 29th 2014 494
Get all attachment names for xPages
Sat, Aug 20th 2011 487
Using the NotesSAXParser- a simple example
Sat, Aug 16th 2014 464
NotesRichText fields attachments to Java InputStreams and Byte Arrays
Mon, Aug 11th 2014 438
iText: make an attachment out of text
Mon, Aug 11th 2014 408
All MIMEs little children
Wed, Nov 14th 2012 371


Brian Moore
 
Blog Title Domino Herald
Blog Description Hark! Lotus Knows development!
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 Sep 17, 2014 5:16:49 PM EST. Realtime Update:
Landed Here Jul 02, 2009
Location Knoxville, TN, USA
Posts: # / 1st / Latest - -
Total Hits 14,374. myPL RSS Selections: 64


Recent Blog Posts
494


Take a REST - MWLUG 2014 Presentation
Fri, Aug 29th 2014 9:12a   Brian Moore
I am very proud to have been able to present at MWLUG this year. My presentation is on using REST (Representation State Transfer) via either the Domino Data Service or the Extension Library's REST custom controls. I am attaching my presentation and sample database to this post so you can see and use them. In addition to the Domino Data Service, I have examples of using SSJS to parse the JSON, as well as using a Java Bean. I include a way to take what you pass in and turn it into an attachmen [read] Keywords: domino ibm bleedyellow bleedyellow.com database java mobile
464


Using the NotesSAXParser- a simple example
Sat, Aug 16th 2014 12:12p   Brian Moore
I've been working on some web services of late. A bit frustrating since the providers use .Net to inconvenience those of us who believe in standards. Since I was having a difficult time in getting the XML to parse, I tried a few things. One (and the one that worked for a while) is the SAX Parser. I'd read some of Stephan Wissel's posts on it, and thought I would give it a shot. My problem was finding simple, easy examples of how to get it to work. So that is what this post is. It i [read] Keywords: agent lotusscript notes bleedyellow bleedyellow.com database java xml
408


iText: make an attachment out of text
Mon, Aug 11th 2014 11:11a   Brian Moore
This is a simple post. Here we are just taking a string value (from a field, but it can be anything) and making an attachment on an iText document. The addFileAttachment method also works with an iText document. PdfWriter writer = PdfWriter.getInstance(document, out); document.open(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); BufferedWriter bufwriter = new BufferedWriter(new OutputStreamWriter(baos)); bufwriter.write(document1.getItemValueString("NameDocument [read] Keywords:
438


NotesRichText fields attachments to Java InputStreams and Byte Arrays
Mon, Aug 11th 2014 11:11a   Brian Moore
So I'm working on a project where I have the user got through a "wizard" and at the end s/he gets a completed PDF. The user may upload attachments (in Xpages via the file upload control) and I want to attach these to the PDF when I serve it up. The below does this for the RT field "nameFiles"), and converts it into a byte array, that array can be used some where - in this case by attaching to an iText document. This has been working for multiple attachments in a rich text field, and as y [read] Keywords: rich text xpages java
370


Set default font and size for CK Editor - a simple example
Mon, Aug 11th 2014 11:11a   Brian Moore
So our intern Andy Goldstein has come up with a simple example of setting the default font and font size for a new CKEditor in Xpages. Here is the block and the references he used to get it. Hopefully someone will find it useful: body { margin: 0 0 0 0; padding:0 0 0 0 } td,div { font-family:Arial;font-size:10pt;vertical-align:top } /* Copyright IBM Corp. 2013 All Rights Reserved. */ body { margin: 0 0 0 0; padding:0 0 0 0; overflow:hidden; } .transcript { background-color:#d2d2d2; } .messag [read] Keywords: ibm rich-text xpages css linkedin
715


XPages - User entering Telephone numbers/Translation and Validation
Wed, Jun 18th 2014 4:12p   Brian Moore
So I'm working on an XPiNC app and the user needs to enter a telephone number, which is pretty standard. The Input Text control has an option for masking the number to (xxx) xxx-xxxx, or whatever you want it to me. The problem I've found is that if you don't enter in the masked format, the field doesn't work right - the user can get a message that the field doesn't match the mask if they have entered using a different format, like xxx-xxx-xxxx. This isn't the desired effe [read] Keywords: agent lotusscript xpages application javascript linkedin
646


Panel inside a Repeat getting the wrong datasource
Wed, Apr 16th 2014 3:12p   Brian Moore
So I'm building an application where on of the functions is for it to keep attachments. I build new Notes forms and views for this. I want to access this from inside an XPiNC page via a repeat control. Pretty standard, put a panel in the repeat, bind it to the document you get from the NoteID from the repeat and bobs-your-uncle. It worked when I made a little test XPage. But then I put it in a control and that inside (another control) that is my XPage. It stopped working. Stripping it down [read] Keywords: domino ldd lotus notes application javascript
685


OpenNTF getSession
Wed, Apr 16th 2014 2:18p   Brian Moore
In my previous post, I gave a simple example of the OpenNTF Domino API. Nathan Freeman commented that I could have gotten the session better than I did, and provided an example that I couldn't make work. We got together at the ATLUG Day of Champions, and he brilliantly (of course) found the reason, I was doing this in an XPiNC session. Everything it different there. Or at least lots of stuff. So this should work most of the time: Session s = Factory.getSession(); But if you are running [read] Keywords: domino ntf bleedyellow bleedyellow.com openntf
800


Simple Example of the OpenNTF Domino API
Thu, Apr 3rd 2014 11:11a   Brian Moore
When I'm starting something new, I like a clean, simple example. Consider it a soap box, drum to beat, axe to grind, pick a metaphor. Having worked in Java in Domino for years, I was incredibly excited when the OpenNTF.Domino API was announced. My problem was locating a simple example so I could start using it. I gave it a few shots, and I trawled looking for a simple example that just got a handle on a document to change it. That requires getting a session and the database of course, but I [read] Keywords: domino ibm notes database java openntf xml




248


Clean out Extenstions - Component failure
Fri, Mar 7th 2014 3:11p   Brian Moore
So I'm creating an XPiNC app I start having some problems - and a weird one. A view control won't render in XPiNC - and a View Control all by itself on an XPage, no extension controls, nothing else, not even a panel. I created a new app and tried it again, same problem. The view control renders in a browser, but not in XPiNC. I was getting the same error Oiver Busse was here: https://github.com/OpenNTF/org.openntf.domino/issues/84 I ended up calling IBM support. Yes I call, I'm tha [read] Keywords: domino ibm notes application applications development eclipse java openntf server twitter workspace
283


Simple Example of the Application Layout Control
Thu, Feb 20th 2014 9:11a   Brian Moore
Sometimes it seems like an embarrassment of riches. The Extension Library gives us a lot of functions and options that it can be confusing to get a handle on them or to know how they all work. And there are a couple of very tempting controls. One of these very tempting controls is the Application Layout Control (ALC). The idea here is that you can put in your logo, some text, footers, etc. in one place and only change the main content. So rather than (as I did at the start) make an XPage, get it [read] Keywords: xpages application bleedyellow bleedyellow.com database openntf
287


Really missing Wildfire - is there a Twitter Widget somewhere?
Wed, Feb 12th 2014 10:19a   Brian Moore
I love Wildfire, but Twitter has changed it's API and ISW has been too busy (business is good) to update it. I understand that, but I really missing my Twitter feed in my Notes Sidebar. Is there one out there? I can't find one. TwitNotes doesn't seem to have been updated in a while, and I can't find a widget I can just pull over. Cheers, Brian [read] Keywords: notes twitnotes openntf twitter widget
264


Really missing Wildfire - is there a Twitter Widget somewhere?
Wed, Feb 12th 2014 10:19a   Brian Moore
I love Wildfire, but Twitter has changed it's API and ISW has been too busy (business is good) to update it. I understand that, but I really missing my Twitter feed in my Notes Sidebar. Is there one out there? I can't find one. TwitNotes doesn't seem to have been updated in a while, and I can't find a widget I can just pull over. Cheers, Brian [read] Keywords: notes twitnotes openntf twitter widget
298


A simple use of the Custom Converter
Tue, Feb 11th 2014 3:12p   Brian Moore
I love XPages work, but there are some bits that are fustrating to me. One is the lack of simple examples for things. For example, in the samples provided by IBM (like the Discussion library, or the OneUI samples) there are a lot of "moving parts" making it hard to see just the bit you are looking for. There are reasons for this, of course, but it makes it a bit harder when you want to understand one aspect, and there are a couple of callbacks, variables, locales, etc. in the mix. What I want [read] Keywords: ibm rich-text xpages bleedyellow bleedyellow.com javascript openntf
272


Custom Converter - Numbers or Text
Tue, Feb 11th 2014 3:11p   Brian Moore
What I need to do is let the user put in either strings or numbers. If a string, leave it alone. If it's a number, I want it to be formatted with thousands separators. Turns out to be pretty easy, now that I have a basis for it (my last post of a few minutes ago). I need this because the entry is for the number of miles of coverage, if "Unlimited", than it's that, otherwise it's whatever the miles entered are. I could have created an "unlimited" button, but in this case I thought [read] Keywords: javascript
213


Recycle Anywhere (but watch out)
Mon, Feb 10th 2014 4:09p   Brian Moore
So we have a hybrid app that turns out to be a learning work-in-progress. It is decent in size and complexity, and my partner and I have learned new XPages stuff as we have gone alone. Since we were learning on this on, there are some parts that we might have done better if we had only know. But since they work, we are not going to rip out and redo. We take it as a lesson learned and move on. We had a modification request - there are a couple of pages and if a page different than the one showi [read] Keywords: domino xpages java
199


Dynamic Content notes
Wed, Nov 20th 2013 11:19a   Brian Moore
I've fallen in love with the Dynamic Content control. It may have taken me a bit to get on board, but now that I am, I'm really liking it. I thought I'd post a few things on Dynamic Content Controls for anyone starting on them. First, you can get the name of the facet currently "active" very easily by call in the "getCurrentFacet()" property. So if you but the below in a computed field, it will tell you what facet you have showing: var c=getComponent("dynamicContent1"); v [read] Keywords: domino notes xpages bleedyellow bleedyellow.com
181


Localxsp keeps deleted elements
Wed, Oct 9th 2013 5:11p   Brian Moore
..... or so it seems. I'm working on an XPages app, and I decided to remove a number of elements (XPages and Custom Controls) that where no longer in use. I was fixing a few problems and I tracked one to a dialog that was an included XPage. But it was an XPage I had deleted (cut) from the database thinking it wasn't in use. After some searching, I found it in Localxsp via the Package Explorer. I had done several builds and cleans of the database while working on other bugs today, so I do [read] Keywords: xpages database
186


Mapping a Windows drive from Debian (Linux)
Wed, Sep 25th 2013 12:11p   Brian Moore
One of the things I find very frustrating in dealing with Linux (any distro I've been exposed to) is how difficult certain things are. Things that should be easy - like mapping a drive. Being new to this I did some searching, and where I did find some things, all of it assumed that I knew certain things I didn't - like where to put the commands given. I was chatting with Christopher McBee (@linuxgeek247), and he gave me some step-by-steps. That made it much easier to do since it included [read] Keywords: admin linux network password profile security twitter
174


Validation error could keep Converter Mask from converting
Tue, Sep 3rd 2013 3:11p   Brian Moore
I have been starting to work with the XPage Custom Converters. I've not found the examples that really make it click in my head yet, however . I'll keep plugging away. I did find something. I have a field with a (US) telephone number in it. I want it to format to (615) 555-5527 when exited. I got this to work on one field, but it would on the next field out. It was driving me crazy until I noticed that I had an extra "]" in the regex of my validator. That was the one part I copied fr [read] Keywords: bleedyellow bleedyellow.com exchange exchange
168


JSON for REST without eval()
Wed, Aug 21st 2013 1:14p   Brian Moore
Steve McDonah has posted on the evils of the JavaScript eval function. I've used eval (before I read that post ) in parsing JSON when using the REST custom control. I've not had a chance to revisit my work there and come up with an alternative. Marky Roden needed my code, so I sent it to him, and he came back with this: I just realized that if you tell the REST that the incoming is application/json and not text/plain then you do not need the eval - this works just as well :) Cheers, [read] Keywords: application bleedyellow bleedyellow.com javascript
137


Finding the facet currently displayed of a Dynamic Content control
Wed, Aug 21st 2013 1:14p   Brian Moore
I think I like the Dynamic Content control from the Extension Library. For a current project, I wan to show the "title" of the facet to the user so they know where they are. So you have 6 or 7 'pages' you are walking the user through, and you want to show them which one they are on. Yes, you could populate a scoped variable, but I thought a better solution would be to show something based on which facet of the dynamic control is actually being shown. Turns out this is easy. just call [read] Keywords: javascript
147


Opening: Notes in Pensacola, FL area
Fri, Aug 2nd 2013 8:19a   Brian Moore
I have promised to pass on a request for a Notes developer in the Pensacola, FL area. Below are the details and contact information. If you're interested, please contact Shayna, and tell her you got it from me. 1.) 8+ years of Lotus Notes application development experience including Lotus script. 2.) 3+ Years experience building Notes/Domino applications for use through Web browsers 3.) 3+ years using HTML, CSS and Javascript 4.) 3 + years using XML 5.) Working knowledge of Not [read] Keywords: administration domino lotus notes xpages application applications css db2 development java javascript server xml
122


Calling Designer Home
Wed, Jul 3rd 2013 8:17a   Brian Moore
So I've had an odd problem with Domino Designer lately. The centre panel - the one with the links to create a new app, open and app. You know, the panel that's there that we never use or really look at. It disappeared. So my Designer client had a hole in the middle. We don't use that panel anyway, do we? We it turns out I do. Not to use the links there (except to occasionally create a new app). But it is the thing that keeps the tabs in place. In order to keep things under contr [read] Keywords: domino lotus notes notes client eclipse facebook workspace
186


Pass-thru HTML in XPages
Thu, Jun 6th 2013 4:16p   Brian Moore
In classic Notes/Domino development for the web, we used Pass-Thru HTML. XPages doesn't use this, but there are times when we want to put HTML directly into an Xpage. This has been covered before, notably here. But I had some trouble find it, so I'm hoping this blog post can be of service to someone looking. I wanted to do something slightly different than what is in the example - I wanted to include a value from a field on a Notes document. This field would have html formatted text, t [read] Keywords: domino ldd lotus notes xpages bleedyellow bleedyellow.com development javascript
102


InViewEdit to change field names
Thu, Mar 21st 2013 3:15p   Brian Moore
Now I've not dug deep into this, but I made an error today in classic Notes development. I've just installed Notes9 (named in honour of the great podcast Notes in 9 [joke]). I'm working on an InViewEdit. I have two of them in this view, and they have the programmatic names of "useFT" and "useWE". They display values from the "generateFT" and "generateWE" fields. What I did was this: If Colprogname(0) = "UseFT" Then Call doc.Replace [read] Keywords: notes development podcast
91


We would like to understand why you were Very Dissatisfied with the the ease of opening this service/support request.
Mon, Mar 18th 2013 2:13p   Brian Moore
I mostly get great support from IBM when I call into Domino support. Except now the phone is answered by what appears to be some outsourced call center that has no clue what they are supporting. I know outsourcing is all the rage, but this does not work in this case. As a programming professional, when I call into support, I expect the person on the line to be familiar with the product. I am not a consumer calling in wondering why I can't get to my email or why the internet is broken, I' [read] Keywords: domino ibm xpages email
180


Open DocLink in Frameset
Tue, Feb 26th 2013 12:09p   Brian Moore
I love have brilliant co-workers. I have been working on a project in classic Notes that sent out a view DocLink. I had a request for it to open the database in the frameset used for navigation. By default, a view DocLink will open the database to the default view tree. Workable, but not as nice as the frameset. I mentioned this to my work partner David Jones and he tole me that if you name the target frame "NotesView" the view DocLink will open in the frameset. I tried it and it worked. Da [read] Keywords: lotus notes database
108


NotesViewNavigator - turn off AutoUpdate
Fri, Jan 11th 2013 4:14p   Brian Moore
I'm a big fan of the NotesViewNavigator. I use it a lot since I can put a view together and see how data is supposed to act, then call from it. I make checklists, tables, documents, all sorts of thing out of it. One of the reasons I like it is because you can work on just a single category and inside the NotesViewNavigator "jump" from category to category if you want. I was using this today and I was getting an error that it couldn't find the next sibling. I know there where 5, the d [read] Keywords: ibm ldd lotus lotusscript bleedyellow bleedyellow.com
134


Clear out "ghost" attachments
Fri, Jan 11th 2013 10:12a   Brian Moore
For a project, I had to provide a way for users to select certain images to delete out of an XPage. Displaying and giving a checkbox to delete was easy - but then I had to actually delete the images. There could be any number of attachments (all images, so I don't need to worry about type), and the user should be able to delete any of the images. Here is where my problem came up. I could delete the embedded objects from the NotesDocument no problem - but this left "ghosts" in the rich te [read] Keywords: agent notes rich text richtext
151


XPage onBeforePageUnload
Fri, Nov 30th 2012 3:10p   Brian Moore
This is one of those "I've trooped all over the internet and found the answer sitting at my front door" posts. I'm working on an app, and I have a requirement that if the user tries to navigate away from the page without saving they will get a warning. It's a good idea, and it's something Notes does natively - not so in XPages. I cast around a bit and found onBeforePageUnload, a browser event that can be used in just this situation. So I did some digging trying to integrate it [read] Keywords: notes xpages apple application bleedyellow bleedyellow.com properties
371


All MIMEs little children
Wed, Nov 14th 2012 9:12p   Brian Moore
I've used a NotesStream to put a file in a Rich Text Field or MIME quite a number of times over the last few years. Recently, I've needed to expand on this and put multiple attachments in a field. I didn't find much on this, so I thought I'd post. The important trick seems to be setting a ParentEntity. In your typical MIMEEntity, which is "body" in all the examples (including this one) set body as a parent entity. Then create child entities for each file, and stream it in. Here [read] Keywords: lotusscript rich text java
94


Using the Custom REST Control: Notes in 9
Wed, Nov 14th 2012 8:10p   Brian Moore
I've just done a new Notes in 9 - on using the Custom REST Control - head over and watch it. Here is the full XPage with the control. And here is the script library I used to handled the input. I also mentioned the Chrome Advanced REST Client and the Firefox RESTClient. I would also suggest looking at JSONLint for checking the JSON format. A couple of big things to remember when using the REST control - be sure to add the pathInfo to your control, and to reference it in your URL. Set th [read] Keywords: notes script library xpages bleedyellow bleedyellow.com firefox google xml
92


Get the UNID for Custom REST service toGet method
Tue, Oct 30th 2012 7:15p   Brian Moore
I bypassed the out-of-the-box REST services to go directly into making custom REST services with the Extension Library. At the moment, I'm working on a couple, but for one I want to respond to a GET request. I've been doing POST, but this was new. The problem I found was how to determine what document I was acting on. The XPage didn't automatically (as far as I can tell) make a connection to the DominoDocument as a data source - even though I had the XPage set to this and to edit or [read] Keywords: notes xpages
76


Are you sure you are registered for LotusSphere/Connect?
Fri, Oct 26th 2012 9:12a   Brian Moore
So I registered for LotusSphere yesterday. Something odd happened - I didn't get a confirmation number or email. This disturbed me since it is a pretty good chunk of change. This morning, still nothing to either of the email accounts I gave them. I really don't like having nothing at all back, not even a reference number. The website had sent me on to make my hotel reservation, which I did. So this morning I called the customer support line. I was told that the LotusSphere reservation [read] Keywords: notes xpages email reservation
111


QuickTip: adding to the end of PDF in iText as you go on
Thu, Oct 25th 2012 3:10p   Brian Moore
I have been using iText to create PDFs for a few years now. My current project is to prepare a document for customers. We will be inspecting equipment and sending a report to the customer with pictures. The pictures will all be at the end of the document. There are good number of inspection points, so I wondered about the best way to get all the images all in place at the end. There might be one, none, or several images for each point. I'm looking at the Rich Text field and putting in all th [read] Keywords: rich text
66


Java RichTextOutputStream Class - Robichaux
Tue, Oct 9th 2012 4:11p   Brian Moore
I've been working on a project where I am creating a PDF via iText in a classic Java agent. I want to dump the result in a rich text field in a document. I found this RichTextOutputStream Class by Julian Robichaux. Works great. Julian's work is extraordinary. And I think this will be very useful if for the Java design element...... Cheers, Brian [read] Keywords: agent rich text java
79


Notes Developer needed in Knoxville, TN (Contract - long term)
Mon, Oct 8th 2012 8:11a   Brian Moore
There is a long term Note developer contract in Knoxville, TN - the one I had before I got a permanent job in fact. If you are interested, please contact Erick at: mhendric@teksystems.com Erick Hendrick IT RECRUITER 408 North Cedar Bluff Road, Suite 325 Knoxville, TN 37923 865-292-2385 TekSystems took real good care of me when I was there. The position uses a lot of SQL queries, so knowledge of that is helpful. Cheers, Brian [read] Keywords: notes apple sql
83


Migration TO Notes: Contract opening - Birmingham, AL
Thu, Oct 4th 2012 7:09a   Brian Moore
There is a company in the Birmingham, AL area that will be consolidating data from a couple of different systems (SQL, MSAccess, etc.) to the Notes platform. They are looking for someone who can assist them with this. The contract is to start at 6 months, and may be extended. If you are interested, or if you know someone who is, please have them contact: Marc Surcouf Recruiting Manager Precision Resources, a division of the Trimarc Group Inc. itjobs@precisionresources.org T [read] Keywords: notes bleedyellow bleedyellow.com sql
75


Code as art and the importance of knowing code
Wed, Aug 29th 2012 8:10a   Brian Moore
I'm a huge fan of podcasts. Today's BBC Business Daily talks about computer coding. It calls the computer the most important business tool ever invented (that's certainly true). It also discusses how we have to train the younger generations about coding some - or they will be users not programmers. The younger generation doesn't "fear" the computer for sure, but if they don't understand who to make it work. It's actually the same for a lot of things. How many of us ac [read] Keywords:
223


PDFs from XPages via iText - presentation at MWLUG 2012
Sun, Aug 19th 2012 10:11p   Brian Moore
I had the great pleasure and honour to present at MWLUG 2012. I spoke on generating PDFs from XPages using the iText library. I spoke on creating PDFs from iText. This works not only with classic Java agents, but XPages and XAgents. I also showed how to create a PDF using a Java Bean. Here is my presentation and the database with all the examples. A number of the examples are direct out of the iText in Action book available. The rest are developed by me. I covered these topics: Creating a [read] Keywords: agent domino notes xpages bleedyellow bleedyellow.com database java
73


SNTT: File name without extension in Java
Thu, Aug 9th 2012 4:17p   Brian Moore
This is just a little line. I needed to get the name of a file I was working on in Java, but with out the period and 3-character extension. Java string manipulation isn't as easy as @Formula or LotusScript, sigh. I've never liked how Java does strings. But nevermind that. What I did was create a substring of the entire filename (called files in the code - I'm modifying an existing program) that started at 0 and went to 4 less than the length: String newFileName = files.substring( [read] Keywords: lotusscript sntt java
85


What will ready cause Windows 8 problems
Wed, Jul 25th 2012 1:12p   Brian Moore
There has been a lot of press about Windows 8, good, bad and (rarely) indifferent. It will probably help Microsoft on the tablet end. Where they aren't a player now, I think they will muscle in. But I think the lead Apple and Android have will make it a hard fight. Unless there is a great cool and/or business reason to go for Surface or any Windows tablet, they won't have much of a competitive advantage. Apple is cooler, and Android can undercut them since the OS is free. No, I don't [read] Keywords: apple applications desktop interface iphone microsoft mobile vista
77


UPDATE: Toolbar button to change NotesDoc fields
Tue, Jul 24th 2012 3:12p   Brian Moore
David Leedy pointed out where the code from my previous post came from. Chad Smiley has even improved the tool since I got a copy of it. I just tried making changes to several docs and it worked like a charm. I'm glad this is getting credited now. Cheers, Brian [read] Keywords: bleedyellow bleedyellow.com
193


Get the UNID and/or NoteID of a document
Tue, Jul 24th 2012 9:11a   Brian Moore
Some years ago (wow, years ago now) I developed a little database full of helpers I called the Ianto Project. I thought I'd share a couple of the buttons from it that can go on the SmartIcon bar. These are very simple, and will let you get the UNID or NoteID of a document and copy it. Super simple, just an edit prompt. I use these all the time, so I thought I'd post: Cheers, Brian @Prompt([OkCancelEdit]; "Ianto"; "UNID of this Document"; @Text(@DocumentUniqueID)) [read] Keywords: bleedyellow bleedyellow.com database
90


Toolbar button to change NotesDoc fields
Tue, Jul 24th 2012 9:11a   Brian Moore
The below has been in my "bag of tricks" for years, and I'm not sure what it's actual origins are- meaning I don't know who actually developed it. But is is an incredibly handy tool for testing and other development work. Just create a new SmartIcon (now Toolbar something or other) and pop this in. Clicking on a document will give you a list of the fields and you can change the values or delete it. There is a simpler version I have, but I like this one because it does multi-valu [read] Keywords: development password
218


Many RESTful documents all at once
Mon, Jul 16th 2012 3:09p   Brian Moore
The XPages Extension Library comes with REST controls. There are some nice examples of what do to with these on line and in the XPages Extension Library book. But as often happens, the example I needed wasn't there. There are examples of creating a single document, updating a single document, and deleting it. And there are examples on how to get a document collection and show it in a Data Grid "view". I wanted to use REST to create a number of documents based on a JSON array. The focus see [read] Keywords: domino ibm xpages apple application bleedyellow bleedyellow.com database firefox javascript xml
89


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
61


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
116


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
121


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
86


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
84


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
487


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
131


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
160


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
163


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
83


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
67


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
50


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
66


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
74


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
85


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
114


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
81


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
119


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
158


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
67


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
73


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
71


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
149


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
59


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
65


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
73


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:
55


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
58


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 - Mobile Edition