Tag Archive: PSC

IBM Connect with PSC and LDC

IBM Connect 2017 is just a week away.  I’ll be there and look forward to learning new stuff and meeting new people.  In addition to attending sessions and networking events, John Head and I will available to meet with YOU to discuss your collaboration roadmap.  And thanks to our partnership with LDC, we will also be the onsite representatives for LDC Via.

If you’d like to meet with us, then go check out what we’re offering and sign up here, connect17.psclistens.com!

Getting the Correct Syntax for JavaScript in XPages

I was recently working on a project where my code was injecting XPage elements onto the page at runtime.  To do that, you need to know a lot of syntax.  Syntax that isn’t in the help file, or blogged about, or easily findable.  Sure, there’s this, but that isn’t exactly reader-friendly, nor are there examples of how to use the elements.  Just because you know you’re using “XspInputText”, doesn’t mean you know how to use it.  What’s the syntax for adding an attribute, for example?  Or maybe you know the syntax structure, but need to know what the parameter looks like in the code.

Designer Data Panel for Date Field For example, you want to add a Date field with certain parameters set.  You know how to set them in Designer in the data panel, but how do you set those parameters programmatically in JavaScript?

Thankfully, Toby Samples showed me a cheat to find out.  Create a dummy XPage, add your element and do whatever it is you want to do, i.e. set the parameters for your date field.  Save the page.  In Designer, go to Package Explorer and your nsf.  Expand the Local folder and then the xsp folder.  There you’ll see all of your custom controls and XPages with a .java extension.  Double-click on the XPage.java file.  It will open and there you’ll see the Java code used to generate that XPage, including your element and how the parameters were set programmatically.  This can be really useful when you’re adding something like an attribute via JavaScript and you can’t find any examples of HOW to add an attribute (or class or value binding or any other property).

Example, if you set the above “display format” to “Date and Time” in the picker, how is that set programmatically?

converter.setType(“both”);

With the parameter “both”.  Good luck figuring that out on your own.

File under: “Things you may have already known, but I didn’t, and I share it just in case you didn’t either” AND “Blog post titles I struggled with actually explaining what the post was about without actually typing the post in the title”

MWLUG 2016 Wrap Up

Last week I was in Austin, TX for MWLUG 2016.  This was my second time speaking at this event, and once again, it was a great experience.

I have been to Texas several times, but had never been to Austin.  I’m still not sure I can say I’ve been to Austin, I feel like I only got to see a small slice of it.  Between humidity that felt like I was drowning (it IS August in Austin) and pouring rain, I didn’t get to get out and about as much as I would have liked (and I even stayed a couple of extra days).  Side note, I’m a giant taco snob and I finally found a good taco.  I don’t just mean in Austin, I mean ever since I moved out of California when I was 17 years old.  So that was exciting.

I attended several sessions (though never as many as I’d like).  How we all still come up with new and interesting content is amazing to me, yet we all still seem to do it.  Lots of Champions were speakers.  You couldn’t go in the hotel lounge area without tripping over a Champion.  If you wanted to talk to a Champ, this was the place to do it.

I talked to a lot of people.  That still feels new to me, and isn’t always something I feel I do well, but this week I had a lot of great conversations with clients, and sponsors, and Champions, and attendees, and speakers, and even taught one of the waitstaff how to play Pokemon Go.

Shean McManus and I gave our session, which was well attended, and I think went very well.  Here’s a link to the slide deck.

They’ve announced that next year will be in Washington DC “or environs”.  I hope to see you there!

Join Me with Insights for IBM Connect 2016

Ed Brill, Julian Robichaux, and I will be discussing IBM Connect 2016.  Join us for the live discussion!

http://ibm-connect-2016.mybluemix.net/MicroEvents

Connect_MicroEvent_Insights_v2

It’s Official!

It’s official!  I have registered for IBM Connect 2016!  Booked hotel, booked my flight, registered for the conference.  And I’ll be speaking!  Once again I will be speaking with the wonderful Julian Robichaux.  He and I will present:

Outside the Box:  Integrating with Non-Domino Apps Using XPages and Java

Hope to see you at the conference, please say HI!

Older posts «