ibm-mobilefirst

Why does my worklight project build/deploy much slower than coworkers?

只谈情不闲聊 提交于 2019-12-12 02:26:24
问题 I just recently installed worklight in Eclipse in order to work on developing an iPad app, but I noticed it takes me significantly longer to build and deploy compared to the other developers. The others take rougly 5-7minutes each build while mine takes about 25-30 minutes. I am not sure what could be the reason and was hoping for some suggestions on what it may be? I was told that in the build process worklight copies the contents of your projects to another directory on your machine, and I

Worklight on OS X, iPhone and Android builds fail due to missing info.plist and other files

对着背影说爱祢 提交于 2019-12-12 02:24:29
问题 I am following the step by step "Hello World" guide from IBM located here: http://www.ibm.com/developerworks/library/mo-aim1206-working-with-worklight-1/ I am to the step where you build and deploy the environments, but when I attempt to do so, I get the following errors. FWLST1040E: iphone build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Problem reading info.plist file /Users/snip/Documents/workspace-indigo/HelloWorld/apps/HelloWorld/iphone

Programmatically modify credential in worklight adapter

痴心易碎 提交于 2019-12-12 02:22:52
问题 I looking for a way to programmatically set the credential of an HTTP adapter? Is somebody has an example? Is it possible to modify the adapter implementation js to overwrite the credentials? with something like: function getMyAdapters(path) { var tok = "myuser:mypw"; var hash = Base64Encoder.encode(tok); var headers="{'User-Agent':'Mozilla'"+"Authentication: Basic }"+hash; var input = { method : 'get', returnedContentType : 'json', headers: headers, path : path }; return WL.Server.invokeHttp

IBM Mobilefirst foundation studio in Eclipse Neon.1 Release (4.6.1)

半腔热情 提交于 2019-12-12 02:18:12
问题 I am new in IBM Mobilefirst. Today I have downloaded Eclipse Neon and tried to add IBM Mobilefirst studio plug in from Eclipse Marketplace. But marketplace does not show any result for IBM Mobilefirst studio. Please suggest how can I get it. Thanks in advance. 回答1: It's there: However please note that MobileFirst Studio v8.0 is unlike past releases. In past releases you would use it to create Hybrid apps. In v8.0, you only use the Studio plug-in if you want to create an IDE-like environment

joining two collections in json store

落爺英雄遲暮 提交于 2019-12-12 02:07:18
问题 Is it possible to join two collections in JSONStore? I want to access data from the given two collections in the json store one of which has a foreign key. 回答1: There's nothing equivalent to a join in Relational Databases for JSONStore. However, like Namfo said in the other answer, you may take advantage of additionalSearchFields for this use case. It allows you to index values that are not part of the data being stored. For example, if you have a order collection and are storing objects like

How to list the available Wifi access point in worklight

拜拜、爱过 提交于 2019-12-12 01:58:01
问题 I have to list the available wifi access point in my app by using worklight . How to do that using worklight. 回答1: For some sample code showing how to continually acquire all the access points for a set of SSIDs see: Differentiating between indoor areas in the Knowledge Center. You can use a wildcard (*) for the SSID and MAC in the access point filters. If you just want a one-time acquisition use the WL.Device.Wifi.acquireVisibleAccessPoints API. Note that on non-Android platforms, you are

secured or encrypted push notification messages from MobileFirst server

旧城冷巷雨未停 提交于 2019-12-12 01:49:55
问题 We are developing an Banking Mobile application using MobileFirst Platform Foundation 7.1 which should be much secured. I implemented the normal IBM MobileFirst push notification in our application. Now client requirement is that to send some secured information to the customer as notification, hence want to send secured or encrypted push notification messages to the mobile client from MobileFirst server through GCM or APNS. Is there any built-in MobileFirst API available to fulfill the

IBM Worklight 6.0 - Does WL.BusyIndicator support text wrapping for iOS?

谁说我不能喝 提交于 2019-12-12 01:44:45
问题 Attached is the code for we have implemented for the busy indicator on iOS. But this does not wrap the busyText on iOS. $.r.setBusyIndicator(new WL.BusyIndicator('content', { opacity : 0.65, fullScreen : false, text : busyText })); 回答1: Wrapping is not available. You can use a different busy indicator altogether: a native busy implementation by you, or an indicator provided by a 3rd party library (jQuery Mobile, ...), etc. Otherwise, you need to use the boxLength property which controls the

Worklight LTPA Authentication with WebSphere

无人久伴 提交于 2019-12-12 01:38:40
问题 Hi I am using worklight 6.1 and WebSphere 8 I am getting following error [ERROR ] FWLSE0059E: Login into realm 'WASLTPAModule' failed. SRVE0190E: File not found: /login.html. [project Streebo] SRVE0190E: File not found: /login.html [ERROR ] FWLSE0117E: Error code: 4, error description: AUTHENTICATION_ERROR, error message: An error occurred while performing authentication using loginModule WASLTPAModule, User Identity Not available. [project Streebo] [project Streebo] [WARNING ] SRVE0190E:

IBM Worklight - Error while using variable in a SQL Adapter query

爷,独闯天下 提交于 2019-12-12 01:38:24
问题 I am using SQL adapter in worklight where I need to have a variable that I need to use it in the query. I read here and followed the same. But it`s showing the below error. Pasted the complete error message on using a variable in the SQL adapter. [ERROR ] FWLSE0099E: An error occurred while invoking procedure [project Sample]Device/SqlStatementFWLSE0100E: parameters: [project Sample]{ "arr": [ { "parameters": [ null ], "preparedStatement": "UPDATE devices SET DeviceQuantity=$[count] WHERE