|
For anyone that finds this sample. There was a change from the beta version to the RTM version in the way REST service is called via Ajax. The code sample has the header defined as headers: {"accept": "application/json;",}, but you need to add the headers: {"accept": "application/js on;odata=verbos e",}, Thanks Jim
No indication of where this might be. Error: Object reference not set to an instance of an object. ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ========== ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Same here. In the "Project Properties" in "Server Connection" it is said: "The required version of SharePoint Foundation 2010 or SharePoint Server 2010 is not installed on this system. To develop SharePoint solutions or browse SharePoint connections in Server Explorer, SharePoint must be installed on the local system. Make sure that the local server referenced by the SharePoint project exists."
I have same issue. If you open AppManaifest.xml do you see error regarding "<App XLMNS=...... saying missing "Name"? Well I did and when I went to end of statement and included "Name="SearchAp p" I got rid of that error. Then I did a build and got 1 error like you, but no line item. I took a look in Feature.templat e.xml and I do not see a SiteUrl so I entered that as well and now I have a missing "Scope" and "Id" warning. I decided to close the sample and move on. I think the sample was made for SP 2010 and it needs updating.
when we build the application.the application says build erro without any info