ibm-mobilefirst

5.0.6 - Changing Adapter domain and port configuration after deploy through configuration - for QA and Testing team in development process

梦想的初衷 提交于 2019-12-20 03:57:06
问题 I have seen some questions about dynamic adapter configuration at run-time how to pass domain,port number,username and password from user input to worklight http adapter With a Worklight Adapter can I change the domain and port for a procedure at runtime? but my question is about adapter configuration after deploy on WL server 5.0.6 from external - not at runtime from code. Our scenario is that in our enterprise development and testing process requires the QA and Testing team to change the

IBM Worklight 6.0.0.1 - jQuery palette does not show up

心已入冬 提交于 2019-12-20 02:43:20
问题 In my Worklight project I can't get jQuery palette, it's always hidden. I searched, tried... No result. HTML and Dojo palettes are OK. Configuration: Eclipse Juno EE, Worklight 6.0.0.1, Installed IBM jQuery Mobile tools (comes with Worklight), jQuery-1.10.2 and jquery.mobile-1.3.2 Note: I was getting errors while trying to install Worklight directly from Eclipse so on the end i download it as a zip and installed that way. Update: I added picture I found of jQuery palette. Please note that it

Where can I find Worklight Studio plug-in for IBM Worklight v5.0.0.3?

时光怂恿深爱的人放手 提交于 2019-12-19 11:58:22
问题 I'm trying to find IBM Worklight Studio v5.0.0.3 (Eclipse plug-in). The Eclipse Marketplace provides only the latest version (5.0.6). It seems that IBM does not publically provide download of previous versions of IBM Worklight Studio (Eclipse plug-in). I need to use specifically 5.0.0.3 as the server is the same version. Does anyone knows where to find/download IBM Worklight Studio v5.0.0.3 ? 回答1: The eclipse marketplace version is the free Developer Edition. It runs completely within eclipse

How to hash IBM MobileFirst SQL adapter username password url and port in xml file?

最后都变了- 提交于 2019-12-19 11:50:43
问题 I'm using a IBM MobileFirst SQL adapter to get data from a AWS Oracle RDS. In order to connect to the sql adapter, we need to provide the username, password, url and port. The connection works, however, how should I hash it so that no one can read it? This is to make it more secure. Is this possible? <driverClass>oracle.jdbc.driver.OracleDriver</driverClass> <url>jdbc:oracle:thin:@xxx.rds.amazonaws.com:1525/SchemaSample</url> <user>Username</user> <password>Password</password> <

IBM Worklight - Unable to get network signal strength in Android

强颜欢笑 提交于 2019-12-19 11:36:11
问题 Below is my Java implementation. The idea is to display myUtilString in an edit text in order to see the signal strength in a Hybrid android app while in a WL.NativePage, but I get nothing. I have tested the app on a real device, changing to 2G, 3G and LTE but I don't receive anything. I have implemented a function called onSignalStrengthsChanged , but I cant figure out what is wrong. In LogCat there is nothing of interest; maybe onSignalStrengthsChanged never is fired. package com

IBM Worklight 6.0 - worklightserverhost attribute and the app-builder Ant task

烂漫一生 提交于 2019-12-19 11:26:27
问题 I had an Ant build file working fine on Worklight v5.0.6. On porting to Worklight v6.0 I found out that there's a new mandatory attribute, worklightserverhost , for the app-builder task. <app-builder applicationFolder="path/to/proj" environments="mobilewebapp,android,iphone" nativeProjectPrefix="myproj" worklightserverhost="?Here?" outputFolder="where/to/put/it"/> I can find no documentation of the value to put here or its significance; my guess is that it is supposed to be the value that was

Use of third parameter in the WL.Client.InvokeProcedure

一曲冷凌霜 提交于 2019-12-19 04:55:43
问题 I am using the client side API WL.Client.InvokeProcedure(invocationData, options, UseSendInvoke) in worklight 6. But I could not find a description for the parameter UseSendInvoke in the API. Do you guys know what it is? 回答1: This parameter is used internally by WL authentication framework. Technically there should not be a reason for developer to use it. There are several ways to invoke adapters. (1) First one is via client application. This is where you use WL.Client.invokeProcedure

IBM Worklight - Connecting/Re-Connecting: WL.Client.connect vs. connectOnStartup vs. WL.Client.invokeProcedure

左心房为你撑大大i 提交于 2019-12-18 18:26:46
问题 In our project we are trying to figure our what the best process to connect to the server will be - especially when taking care of offline/online scenarios etc. Right now, for us, it seems that all three options to connect to the WL server are similar. Whatever option we use, we can call our Adapter Procedures perfectly and we receive Notification Messages that are set in the console. We are not sure about Direct Update - this is not working properly yet. Are there any important differences

IBM Worklight - Connecting/Re-Connecting: WL.Client.connect vs. connectOnStartup vs. WL.Client.invokeProcedure

夙愿已清 提交于 2019-12-18 18:26:12
问题 In our project we are trying to figure our what the best process to connect to the server will be - especially when taking care of offline/online scenarios etc. Right now, for us, it seems that all three options to connect to the WL server are similar. Whatever option we use, we can call our Adapter Procedures perfectly and we receive Notification Messages that are set in the console. We are not sure about Direct Update - this is not working properly yet. Are there any important differences

Worklight logout does not clear active user

て烟熏妆下的殇ゞ 提交于 2019-12-18 17:26:10
问题 I am using Worklight 6.1 and am using a challange handler to determine if my user is logged or not. Once logged in, I have the following code attached to my logout button in my app: on(logoutBtn, "click", lang.hitch(this, function() { WL.Client.logout('AdapterAuthRealm', { onSuccess:lang.hitch(this, function() { this.gotoView("login"); }), onFailure:lang.hitch(this, function() { WL.Logger.error("Unable to logout"); })}); return false; })); Clicking it opens the login view, but when the user