Categories
Uncategorized

XPages and iOS8 Situation Update 3 – Second Fix

Ok lets update the situation.  As far as I know we started with 3 problems regarding XPages and iOS8 .

1. Uploading photos to a web app doesn’t work.

2. XPages Mobile Controls don’t work

3. An Edit box with Typehead / drop down selection doesn’t work.

In my last post I mentioned that Domino 9.0.1 FixPack 2 corrects issue #3.

Now I can report that iOS 8.0.2 corrects issue #1.  In testing I was able to upload a photo again where I could not with 8.0.0.  Technically it was corrected with 8.0.1 but it seems that Apple used the same quality control that I use on my applications and pulled it.  🙂

 

That leaves the big one.  iOS8 doesn’t work with Mobile controls.

IBM is aware of this and is actively working on a solution though I do not yet have any idea of a time frame.  Even though we have a key app that uses Mobile controls, we’re trying to wait for the official IBM solution.

If you can’t wait then some people are reporting it’s possible to load Dojo 1.9.4 manually.  See this post on StackOverFlow.  http://stackoverflow.com/questions/25935842/xpages-mobile-controls-not-working-with-ios-8

Obviously that’s a VERY UNSUPPORTED thing to do so if you go that route be careful.  While it’s reported to fix Mobile controls I’m kinda afraid that it might very well break something else that might not turn up right away.  So for now we’re trying to hold off and wait for the IBM Solution.

Hope this info helps.

Categories
Community Notes In 9

Announcing the NotesIn9 Hackathon: Race to 199

hackathon-MediumIt’s time.

It’s time for me to get off my duff a little bit and try and “kick this up a notch”.

It’s time for YOU who are reading this post to get a little more involved and “Join the Conversation”

To me a Hackathon is an event were people come together to contribute small pieces to complete a bigger puzzle.

I’ve been thinking of this ever since someone came up with the #CodeForTim hashtag.  When we lost Tim, I changed the motto of NotesIn9 to “Learn, Code, Share” to honor my friend and better reflect the mission of NotesIn9.  Well that’s what this Hackathon is all about.

I want to try and increase the output of NotesIn9. More shows with a better range of subjects.  I want to try and get NEW CONTRIBUTORS. And I want to try and get more questions, answers, ideas, comments and discussion going.

Typically when I get a new contributor on the show, it’s someone I’ve noticed and I’ve reached out to them privately and begged, pressured, or plain out annoyed them until they decided to come on the show.

Today I’m calling for Open Submissions.  If you’re working with XPages – no matter how basic – you have content you can share.  Think up an idea and email me and lets talk about it!  There’s no reason to be scared. You do NOT need to be an “expert” on the topic.  If you do a show the worst possible outcome is that someone comments that there’s a better way to get the same result.  Now you and others will learn that better way.  Win Win!  If you simply can’t share, because your company forbids it, then start leaving comments by asking a question, validating the material or simply just thank the contributor for their effort.  Let your voice be heard!  The more comments and people interacting, the easier it is to get contributors on the show.

I’ll post later some suggested topics but pretty much everything is open to discussion.  Even non XPages based shows. Learning is learning.  Period.

Unlike when I did “DriveTo99” a couple years ago there’s no “End Date” for this.  I’m going to push until we get to 199.  Then I’ll likely take a vacation.  🙂

So what’s in this for you?  I firmly believe the more you share the more you gain.  You start by gaining knowledge, experience, and confidence. From there you might gain friends, start speaking at different events and who knows, maybe even get a dream job. That’s what happened to me.

In the event that isn’t enough there will even be prizes!  Details will be forthcoming.

Let’s all see what we can build and then let’s all share it!

My email address is dleedy at notesin9 . com

I look forward to hearing from you.

Categories
Mobile XPages

XPages and iOS8 Situation Update 2 – First Fix

Just to quickly recap the 3 problems that I know about.

1. Uploading photos to a web app doesn’t work.

2. XPages Mobile Controls don’t work

3. An Edit box with Typehead / drop down selection doesn’t work.

 

Problem 1 is clearly in Apple’s court.  Hopefully that will get fixed in 8.0.1

Problem 2 is being investigated by IBM as we speak.  That’s all I know about that.  I have heard from others that Mobile controls will KINDA work if when tapping you hold your finger down for at least 10 seconds or so.  I’ve seen this work but not constantly for me.

Now the big one.  Issue 3.  We use typeahead a LOT so this is a big one for us as well.  It appears to me that 9.0.1 FixPack 2 completely fixes this!!!  Woo Hoo!!

So if that affects you, or you have other dojo related issues with iOS8 you might want to test FixPack 2 to see if that helps.  Just note that in addition to a more recent version of Dojo it also includes a new CKEditor which has caused some people problems I believe.

Good Luck

 

 

 

 

Categories
XPages

XPages and iOS8 Situation – Update 1

1.) JT reports that it might be working somewhat – BUT you need to “hold your tap” for 10-ish seconds.  http://www.bleedyellow.com/blogs/NotesShop/entry/io8_xpages_mobile_controls_update?lang=en_us

This was confirmed by others.  Personally I could NOT get this to work even once on my iOS8 iPad 3 but did see it work once on my iPhone 5s.  I would not consider this a workaround.

If anyone cares to try I set up a test page here:  http://watchtower.notesin9.com/mobileTest.nsf/m_home.xsp

2.) At the day job we created an PMR with IBM labeling this a critical problem.  Since that’s specific to us I can’t share that number but would encourage others to submit this problem report as well.  If you do submit this as a problem IBM might ask for code so they can reproduce it.  I’ve include the XSP code from my test page at the end of this post.

3.) Via a comment on one of my recent blog posts The XPages team is investigating this issue.

 

 

 

<?xml version=“1.0” encoding=“UTF-8”?>

<xp:view xmlns:xp=“http://www.ibm.com/xsp/core” xmlns:xe=“http://www.ibm.com/xsp/coreex”>

<xe:singlePageAppselectedPageName=“Home” id=“singlePageApp1”>

<xe:appPagepageName=“Home” resetContent=“true” id=“appPage1”>

<xp:panel>

<xe:djxmHeadinglabel=“Home” id=“djxmHeading1”>

<xp:this.facets>

<xp:panelxp:key=“actionFacet”></xp:panel>

</xp:this.facets>

</xe:djxmHeading>

<xe:outlineid=“outline1”>

<xe:this.treeNodes>

<xe:basicLeafNodelabel=“Page 1” href=“#Page1”></xe:basicLeafNode>

<xe:basicLeafNodelabel=“Page 2” href=“#Page2”></xe:basicLeafNode>

</xe:this.treeNodes></xe:outline>

</xp:panel>

</xe:appPage>

<xe:appPagepageName=“Page1” resetContent=“true” id=“appPage2”>

<xp:panel>

<xe:djxmHeadinglabel=“Page1” back=“Back” moveTo=“Home” id=“djxmHeading2”>

<xp:this.facets>

<xp:panelxp:key=“actionFacet”></xp:panel>

</xp:this.facets>

</xe:djxmHeading>

</xp:panel>

</xe:appPage>

<xe:appPagepageName=“Page2” resetContent=“true” id=“appPage3”>

<xp:panel>

<xe:djxmHeadinglabel=“Page2” back=“Back” moveTo=“Home” id=“djxmHeading3”>

<xp:this.facets>

<xp:panelxp:key=“actionFacet”></xp:panel>

</xp:this.facets>

</xe:djxmHeading>

</xp:panel>

</xe:appPage>

</xe:singlePageApp></xp:view>

 

 

 

 

 

 

 

Categories
Mobile XPages

Possible way to fix some of the XPages iOS8 issues.

This information comes from Sven Hasselbach.  I’ve not tried this myself.  Use at your own risk.

=====

You can use other Dojo versions on a server by downloading the current version from dojotoolkut.org

You have to unpack it into data/domino/js, rename it to dojo-1.10.1 and then copy the IBM stuff (folders “ibm” and “template”) to it

Resource Aggregation must be disabled and it requires a restart of the server.

Currently have running dojo 1.10.1 on a 8.5.3 Machine with the XSP of 9.0.0

This is more complex because of the resource aggregation

But keep in mind that this affects all apps on the server (the latest Dojo version found wins)
To prevent this, you can give it a “lower” version number and set it in the application in the XSP properties

Categories
Uncategorized

iOS 8 Breaks XPages Mobile Controls

You can’t click.  You can’t do a thing.  I believe it’s a dojo thing but I’m not sure.

 

I’m about to test FP2 and will update this post.

This… is  BAD!!

Categories
Day Job XPages

Apple’s iOS8 Breaks uploading Photos

In the day job I have users that use an iPad to upload photos to an XPages application.

I just learned today that this breaks with iOS8.  More information can be found here:

http://www.mobilexweb.com/blog/safari-ios8-iphone6-web-developers-designers

http://stackoverflow.com/questions/25790873/uploading-files-over-http-fails-on-ios-8-gm-safari

http://blog.uploadcare.com/post/97884147203/you-cannot-upload-files-to-a-server-using-mobile-safari

 

I’m hopeful this is a BUG that will be fix and not something Apple has intentionally done.

For now the plan is to just hide the upload button if you’re running iOS 8.  Note we use my fileVault thing which will likely be my next blog post and not the file upload control that comes with XPages.

 

Below is the quick and dirty code I’m going to try and use to hide the button to iOS 8 users.  This will not work most likely for iOS 8.0.1.  Since we don”t know if it’ll be fixed then we’ll simply cross that bridge when we come to it.

Note: This code is intended to run on Domino 9.0.1 so I make use of the deviceBean that’s built in.

UPDATE: Made some updates to the code

function isApple8() {

var uAgent = context.getUserAgent().getUserAgent();

if ((deviceBean.isIpad()) || (deviceBean.isIphone())) {

// Note the space after the 8

if (uAgent.indexOf(“8.0 “) > 0) {

// This is iOS 8

return true;

} else {

// This is iOS but NOT version 8

return false;

}

} else {

// this is NOT iOS

return false;

}

}

 

Categories
Community Notes In 9

Big NotesIn9 news coming next week

It’s time…

 

 

 

Categories
Java Notes In 9 XPages

NotesIn9 155: Java based Debug Control Part 3

In this show Greg Reeder, XPage developer returns for part 2 of his series to talk some Java programming and how you might be able to use it to build a logging control for errors and messages.

This is the third of a 3 part series from Greg which I’m publishing all at once due to the length and complexity of the information.

Categories
Java Podcast

NotesIn9 154: Java based Debug Control Part 2

In this show Greg Reeder, XPage developer returns for part 2 of his series to talk some Java programming and how you might be able to use it to build a logging control for errors and messages.

This is the second of a 3 part series from Greg which I’m publishing all at once due to the length and complexity of the information.