ibm-mobilefirst

Direct Update Failure in MobileFirst Application 7.0

♀尐吖头ヾ 提交于 2019-12-13 05:18:07
问题 I have migrated a Worklight 6.1 application to MobileFirst 7.0 platform. I am having issues with the direct update. The issue is, when I make some changes in the code and upload the wlapp on the server and run the application on the device (application does not contain the changes) the direct update pop-up arrives but, it shows the message: Direct update fails Following are the logs: 11-25 16:51:45.693: D/ViewRootImpl(10979): ViewPostImeInputStage ACTION_DOWN 11-25 16:51:45.863: D/NONE(10979)

How to reduce worklight application url to shorter form?

流过昼夜 提交于 2019-12-13 05:16:10
问题 How to reduce Worklight application url? For ex: My application url is //hostname:ipaddress/projectName/apps/services/preview/projectNameApp/common/0/default/projectNameApp.html" How to reduce this url to shorter form? I want to set up a url which can be accessible easily over the internet. what are the settings required to get shorter url in worklight project For ex //hostname:portno/context path/appIndexPage.html instead of //hostname:ipaddress/projectName/apps/services/preview

IBM Worklight - Project built on 6.1 will not deploy on 6.1 server, says I need to use 6.0

独自空忆成欢 提交于 2019-12-13 05:09:42
问题 I've got a very simple Worklight application, no adapters, no java code, just some HTML. It's built in Eclipse Juno with Worklight studio 6.1. When I try to deploy the *-all.wlapp file the worklight server (not the worklight studio server, but an actual WL server running in a WebSphere cluster) I get the following message: Failed to deploy application 'XXXX-all.wlapp'. The 'application' version '6.1.0.00.20131219-1900' is different than the version of the Worklight project '6.0.0'. Use

unknown challenge arrived, cannot process realm wl_deviceNoProvisioningRealm challenge

爱⌒轻易说出口 提交于 2019-12-13 04:59:40
问题 I'm facing the following issue after I deploy my Worklight (v6.2.0.01) application in the Enterprise Worklight server. The issue manifests only for the mobile web app environment. Worth noting that the same application in the same environment, runs fine in the local development server (also based on Worklight 6.2.0.01). Console Error: [Error] unknown challenge arrived, cannot process realm wl_deviceNoProvisioningRealm challenge. __log (worklight.js, line 4879) (anonymous function) (worklight

unable to list windows phone applications signed with MFP 7

懵懂的女人 提交于 2019-12-13 04:58:51
问题 We have a problem when trying to list the application signed in the applicationcenter/installers/html. We get the unsigned applicationCenter app for Windows Phone from the MFP Server repository. We get a certificate from Symantec (who delivers the certificates for Windows applications). We signed the applicationCenter app for Windows Phone from the Windows Phone sdk using the certificate delivered by Symantec. We install the signed applicationCenter app in the applicatonCenter console

Deployment error: “authenticationConfig.xml contains duplicated realm named: wl_anonymousUserRealm”

拈花ヽ惹草 提交于 2019-12-13 04:58:14
问题 I am working on an app using Workight 6.1 with SQL adapters and DB2 database. I deployed it and the deploy process works well without problems. But when I go to the Worklight Console using http://server-host:9080/TicketWorklight/console , it fails with the following error: Error 500: javax.servlet.ServletException: Worklight Console initialization failed.Logged Exception: java.lang.RuntimeException: conf/authenticationConfig.xml contains duplicated realm named: wl_anonymousUserRealm This is

Building project.war file Via ant missed the files in java->server folder

混江龙づ霸主 提交于 2019-12-13 04:55:42
问题 I am creating project.war file using ant and worklight-ant-builder.jar file in the MFP. While my project is build using mfp or via eclipse in the bin the .war file and classes folder have all the things including content in my server->java folder. But when i build the ant file using step 1 i dont get the files in my server->java folder. Note i have verified this by using 7-zip to see the contents in the .war file and also seen the folder classes created by the mobileFirst which contains

IBM Worklight - Thumbnail image from project is not updated in Worklight Console

一曲冷凌霜 提交于 2019-12-13 04:54:31
问题 This IBM Worklight Information Center article mentions that: The thumbnail image provides a graphical identification for the application. It must be a square image, preferably of size 128 by 128 pixels. It is used to identify the app in the IBM Worklight catalog. IBM Worklight Studio creates a default thumbnail image on creating the app. Override this default image with an image that matches your application. The file is in the /common/images folder of the app. I have tried to replace with

IBM Worklight - How to programmatically hide the splash image

≯℡__Kan透↙ 提交于 2019-12-13 04:51:00
问题 In the Android environment of my Worklight app I'm trying to hide the splash image manually. My use case is that I want to do some user validation actions in the background while the splash image is there. Once the user is validated then show a Dashboard screen, else show a Login screen. I know that in Java for splash image usage in Android is: super.setIntegerProperty("splashscreen", R.drawable.splash); super.loadUrl(getWebMainFilePath(),2000); This loads the splash image and hides it after

constructing a multipart form request in a adapter using MobileFirst version 6.3

孤人 提交于 2019-12-13 04:49:23
问题 i have a application from which i need to construct a multipart form in a HTTP adapter and send it to webservice using WL.Server.invokeHttp. is there a way by which i can achieve this?. 回答1: JavaScript adapters do not support multi-part. You have two options: In MFPF 6.3, use Java in JavaScript adapters Upgrade to MFPF 7.0, which now provides Java adapters You can then try to implement the following (or similar for your specific use case): How can I make a multipart/form-data POST request