Tag Info

Hot answers tagged

3

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 ...


1

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