bindu
Posts: 0
Joined: Sat Sep 22, 2012 4:18 pm

How to keep track of response from rest service

If there are no records in the database returned from Rest service then i want to display the message like no records found message how can i do this?

bindu
Posts: 0
Joined: Sat Sep 22, 2012 4:18 pm

How to keep track of response from rest service

Can u please provide sample code and screenshot

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to keep track of response from rest service

Add a Label component, name it 'noData' and uncheck Visible.

Select service instance, then add Success event, then Run Custom JavaScript action.

code
if (data.length == 0){
Tiggzi('noData').text('No data found');
Tiggzi('noData').show();
}
/code

bindu
Posts: 0
Joined: Sat Sep 22, 2012 4:18 pm

How to keep track of response from rest service

Thanks Max. My app is not working on mobile phone the grid is coming as blank. any inputs on this

bindu
Posts: 0
Joined: Sat Sep 22, 2012 4:18 pm

How to keep track of response from rest service

My mobile phone is Samsung galaxy Y having android 2.3.6 version . i have shared my to a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a for colloboration. App name is Monthly schedules

Return to “Issues”