Tag Info

Hot answers tagged


After much trying to replicate the issue, I finally did it. It seems to be a bug with CAML and it really baffled me that how can such a big bug is still unnoticed of. Though I kept trying different approaches to resolve it including the "beginswith" but that's not a proper solution. But while trying I did a double check and voila! it worked. Combining ...


Your OnSuccess must iterate the results: function onSuccess(sender, args) { var listItemEnumerator = items.getEnumerator(); while (listItemEnumerator.moveNext()) { var oListItem = listItemEnumerator.get_current(); alert('ID: ' + oListItem.get_id()); } } Also, move the OnSuccess and OnFail inside of your main function ...

Only top voted, non community-wiki answers of a minimum length are eligible