IBM Advanced Find JSONStore saying "INVALID_SEARCH_FIELD" when the advanced query exceeds 999 records - ibm-mobilefirst

VERSION OF MFP JSONSTORE PLUGIN: 8.0.2017033009
Hi I have a JSONStore with 2000 records and want to filter out only 1217 records from them which are similar to one property.
So i used WL.JSONStore.QueryPart().inside('PROPERTY', [...PROPERTYVALUEARRAY]);
Everything works fine till PROPERTYVALUEARRAY is limited to 999 records but when it exceeds/touches 1000 we are doomed the JSONstore API as below started returning the error as in picture.
WL.JSONStore.get("JSONSTORENAME").advancedFind([query]).then(res => { console.log(res)}).fail(res => { console.log(res)});

Retrieving huge/large JSONStore data has been fixed in latest ifix releases .
Use ifix version later than iFix 8.0.0.0-MFPF-IF20170705-1849.
For more details about iFix release see here :
MobileFirst Foundation iFix 8.0.0.0-MFPF-IF20170705-1849 released

Related

IBM MobileFirst Platform iFix doesn't update the version displayed in Operations Console

I've just updated my IBM MobileFirst Platform Server from 8.0.0.00-20160822-2140 with the latest iFix 8.0.0.0-MFPF-Server-IF201702201900
However, after a successful update, the server is still showing the same old version in the IBM MobileFirst Platform Operations Console.
Does it means it's still not updated with the latest iFix?
I've double confirmed that the fix is indeed installed:
Do I need to update those superseded iFix first before upgrading to the latest iFix?
Vivin above is correct. Installation Manager merely puts the files on disk. You must now update your database by running the Server Configuration Tool, or whatever method you used when your server was first configured. Since the version number is stored in the database, the old version number will appear in the Operations Console until the database update is performed.
Able to get it to work after running cd /opt/IBM/MobileFirst_Platform_Server/shortcuts
sudo ./configuration-tool.sh again and restart the server. Didn't know there's a need to do so after updating the iFix. Is this common?
You can Download the MobileFirst Developer Kit Installer (IF20170220-1900) for Customer and Evaluators copy direct from
https://mobilefirstplatform.ibmcloud.com/downloads/
Now check Product Version:

MobileFirst 7.0 Console text encoding issue after installing latest iFix

After installing the latest patches of MobileFirst CLI (7.0.0.0-MFPF-CLI-IF201505211954.zip), the text displayed in MFP console is showing special characters .
Someone know how to correct this?
Thanks
It seems an error has occurred... Apologies for that.
Did you receive this iFix via an IBM support ticket? If yes, please request a newer build. Request for: 7.0.0.0-IF201505310841 - this should not contain this error that you're experiencing(!).

MobileFirst is_connected, is_disconnected events do not work

I'm using MobileFirst 7 to develop a hybrid Windows8 + iPad app.
The event WL.Events.WORKLIGHT_IS_DISCONNECTED works fine if I start my app with server down, but if I start app with server up (online) then I stop server the event is not risen.
This happens in both Windows8 and iOS (ipad) environments.
A regression was introduced in MFPF 7.0 causing the WORKLIGHT_IS_CONNECTED and WORKLIGHT_IS_DISCONNECTED events to fail (APAR PI38012). It was fixed in a subsequent iFix release.
If you are using the Developer Edition then make sure you are using the latest build in Eclipse > Help > Check for updates.
If you're using the Consumer or Enterprise Editions then get the latest iFix from IBM Fix Central website.
The date of the fix should be from 2015-04-08 or later.

Upgrading Worklight 6.2 to MobileFirst Platform 7.0

We are using Worklight enterprise 6.2 with fix packs and we are planning to upgrade to 6.3 in the next month (beginning of May 2015). However, we see now that IBM is about to release MFP 7.
Can you please clarify to me those queries:
What is the impact on the project which has been developed on version 6.2 to be moved to 6.3 or 7?
What is the recommendation for us in terms of upgrading, should we go immediately to WL7 or to 6.3 first?
We are very close to the production and our concern that the WL7 "might" be unstable or contains issues that we might face in a critical time."Feedback would be appreciated"
MobileFirst Platform Foundation 7.0 is not about to be released - it is already released.
Lots of changes in both 6.3 and 7.0. Read the documentation to see what's changed...
6.3: http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.getstart.doc/start/c_release_notes.html
7.0: http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.getstart.doc/start/c_release_notes.html
In terms of your project structure, starting 6.3 the adapter thread pool has been removed and you are now in complete control of it. Your adapter XML will be upgraded to the new structure.
In terms of technology, starting 7.0 there is REST support together with a new authentication mechanism - OAuth. Classic authentication is as before and is still there. There are also now Java adapters in addition to JavaScript adapters, and lots more.
7.0 is indeed new, but provides you with a lot of new possibilities.
6.3 is very stable (that is not to say that 7.0 is not stable, but it's also very new).
We cannot decide for you if to upgrade or not, it sounds like you are already considering the right things to consider.
Read about the two releases.

Worklight developer edition installation error in Eclipse Juno 4.2.2 version

An error occurred while collecting items to be installed
session context was:(profile=epp.package.mobile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/wdeupdate/plugins/com.worklight.studio.plugin_6.1.0.00-20131219-1900.jar.
Read timed out
This sounds like a network timeout as installations from the Eclipse Marketplace seem to work fine now.
Since you're trying to install 6.1, I suggest that you'll simply try again with the latest version, available to download from here: IBM Worklight - Where to find previous releases