I have several list with Items filled with a Service APIs to and external database. When an Update is made on the DB and I reload the list thru the Service changes do not refresh on the list. To work I have to close and open the panel containing the list twice.
Could you clarify what have you tried and what exactly does not work? Do you want to refresh all the list?
I think you are saying that after taking DB service it doesn't update what you do afterwards in the database.
I was also having same problem what I did was in Data base I check ON the query then the db service setting in test tab I tested it then import responses then all the new fields which you have updated or created will show up in your Mapping or services.
Hope this will help. Thanks.
Yes i would like to refresh the whole list. This is part of what I am doing:
I load a list with values returned from a service. Then by pressing the edit button I update the values using another Service and then I call the Service again to reload the new values to the List. Even though the changes are made succesfully I have to close and open the panel containing the List box at least twice to see the updated values. something like:
Code: Select all
//This Updates the new values
//This reloads the list
Here are some screen shots:
a href="https://d2r1vs3d9006ap.cloudfront.net/s ... 1433344960[/img] /a a href="https://d2r1vs3d9006ap.cloudfront.net/s ... 1433344979[/img] /a a href="https://d2r1vs3d9006ap.cloudfront.net/s ... 1433344996[/img] /a
Thanks for these details.
So the culprit of the problem you have is a simultaneously invoking services(update and list).
The solutino is:
Comment this line of your code:
Open your page and navigate to "data" tab. Then find "UpdatePhoneNumber" datasource.
Add new "success" event handler with following JS code:
That did the job....