Answered

How I can Replace document.getElementById() for developing Native application

Question asked by Sushil Jadhav on Aug 03, 2017 08:13 EDT

Hi, Please find the below, for(qNo = 0; qNo < questionListLength;qNo++ ) { // this is the question number             var elID = 'frmKBAQuestions_lblQuestionErrorType'+qNo;             var errMsg = document.getElementById(elID); I want to replace "document.getElementById()" DOM manipulation with javascript function or Kony visualizer API . This is required...

View all replies

As far as I know, you can't get a widget using a dynamic value, but you can loop through the...

View full answer

Answered by: Robert Moiles Aug 03, 2017
Answered

full json response as output param for json service

Question asked by Deepak Nandanwar on Aug 03, 2017 03:40 EDT

HI , I have a json service , which return below output. I have 2 questions.  I want to konw how to configure the xpath to get complete response I have tried below below xpath but its not returning all the values , only returning 1st record from ProductPriceValueList ProductPriceValueList -//ProductPriceValue - shopID- //Id ShopName - //ShopName Response...

View all replies

Ex.   Name: product     Path: //ProductPriceValue    Data Type: Collection  You can then use the Name i.e. product as...

View full answer

Answered by: Robert Moiles Aug 03, 2017
Answered

SPA issue - set Visibility is not working

Question asked by Vijayendra L on Aug 01, 2017 08:48 EDT

Hi There, As part of Implementing Hamburger menu, I have created two flexforms(HomeForm and MenuForm) with two different z index values. onClicking on Hamburger menu icon, inkoveMove() is being called to move HomeForm form left to  right side and I am setting the visibitity of the MenuForm by calling antoher function...

View all replies

Answered

Functionality issue with Segment2 selectedRows in SPA

Question asked by Vijayendra L on Aug 01, 2017 08:10 EDT

I am facing issue with segment2 widget only in SPA. It is working fine in Android native and iphone native.  Please let us know what needs to be done here.    Below is the snippet casuing the issue: selectedCategory = HomeForm.CategoryRowSegment.selectedRowItems[0]; Below is the error : Uncaught TypeError: Cannot read property '0' of undefined    ...

View all replies

 HomeForm.CategoryRowSegment.selectedItems[0]   I modified as above( added selectedItems instead selectedRowItems) which fixes the issue.

View full answer

Answered by: Vijayendra L Aug 09, 2017
Answered

floating label

Question asked by Alfi Syahrin on Jul 31, 2017 23:03 EDT

Can I change the skin text box to make its label style to be a floating label? To be like this https://github.com/tonystar/float-label-css. I wait for the answer, thanks

View all replies

I think for your requirement you need to change the skin of the textbox in ontouchstart event of the textbos...

View full answer

Answered by: Pavan Kurella Aug 01, 2017
Answered

Static label in Segment2

Question asked by Isaac Nascimento on Jul 30, 2017 13:13 EDT

Hello, I have a thread that receives data from an integration service on the mobile fabric. Part of my labels and pictures are filled with service values. But I have labels that I want to leave them static, just for presentation. But when I hide the answer the labels are redefined...

View all replies

Hi, I managed to solve the problem. I created a for that runs through my answer and I set up a...

View full answer

Answered by: Isaac Nascimento Aug 10, 2017
Answered

How prevent visualizer from hyphenating label text

Question asked by Carlos Orellana on Jul 28, 2017 19:03 EDT

Hi, I have some pharagraphs where the text is being hyphenated and I would like to prevent it so word don't get cut to the next line.

View all replies

Set wrapping property  to WIDGET_TEXT_WORD_WRAP.

View full answer

Answered by: Pavan Kurella Jul 30, 2017
Answered

kony.backgroundjob.registerBackgroundFetch

Question asked by George Breagan Minaya Silencio on Jul 26, 2017 11:33 EDT

Hi, I tried registering a very simple background job. Trying to store some value in store and trying to read it back on lapsing the fetch interval. I am not seeing any evidence if the bg job is been executed. I have enabled the Background modes in IDE (Android and...

View all replies

Hi George, This API is available only in iOS platform. It will not work in android platform. For more information on these...

View full answer

Answered by: Rashmi Menon Aug 15, 2017
Answered

Where/how are the i18n settings stored?

Question asked by Jordan Wood on Jul 24, 2017 12:48 EDT

Hello, I am working with a Kony Visualizer project which already has i18n keys defined for en-US and fr-CA. I can see these i18n keys defined in the following files: /resources/i18n/android_properties/en_US.prop /resources/i18n/android_properties/fr_CA.prop /resources/i18n/iphone_properties/en_US.lproj/Localizable.strings /resources/i18n/iphone_properties/fr_CA.lproj/Localizable.strings /resources/i18n/spa/en_US.js /resources/i18n/spa/fr_CA.js /resources/i18n/xml/en-US.xml /resources/i18n/xml/fr-CA.xml The i18n settings are not loading into the Visualizer project though, and when I build the project, the above files are overwritten as empty. I...

View all replies

Hi Jordan, there should be a file at the root level of your Kony-project: <Project-Name>/i18n.properties In this file the i18n-information is stored and...

View full answer

Answered by: Robin Lichtenthaeler Aug 02, 2017
Answered

How to set masterData Content for browser widget dynamically through javascript.

Question asked by Pramin Senapati on Jul 24, 2017 09:50 EDT

Hi, I am setting image to browser widget and there is different content for the platforms android and iPhone. I can't find any api to set the masterData Content through javascript, please help me to set masterData Content for browser widget dynamically through javascript as according to the platforms. Thanks, Pramin

View all replies

Hi. If  I understand properly. Please do the below modifications: //#ifdef iphone  frmForm.browser.requestURLConfig = "url you want show"; //#endif //#ifdef android frmForm.browser.requestURLConfig = "url you want...

View full answer

Answered by: Thu Đoàn Jul 25, 2017

Pages