I Implemented a custom button on my SharePoint page to toggle listview webpart view from normal view and quickedit view. but I'm getting the following error after I add angular app. enter image description here

  • 3
    You are obviosly overriding some SharePoint variable or object with your angular code. Can you please post the code – Robert Lindgren Nov 17 '15 at 9:58
  • Thanks Robert. I figured it out. I created a function called "move" on array like Array.prototype.move=function(old_index,new_index){//logic}. I removed it and wrote a helper function which takes (array,oldindex,newIndex) as parameters. I faced this kind of issues when I create function on Array.prototype. Looks like SharePoint is not liking it. – Ravi Shankar K Nov 17 '15 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.