Hi
i have created on one of our sharepoint sites a simple call to a sharepointlist. This one is to create a little HowTo. Because i have already created a fully functional dashboard with sharepointlist datas on another site. But this one is strange.
when i try to do a simple View command i receive in IE 11 an error:
"XML5619: Fehlerhafte Syntax in einem Dokument. Zeile: 1, Spalte 1" and the call stops.
When i check the console under network i see an Error 404:
Respone from Webs.asmx:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><WebUrlFromPageUrlResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"><WebUrlFromPageUrlResult>https://xy.ch/projects/advanced-sharepoint-things/charts</WebUrlFromPageUrlResult></WebUrlFromPageUrlResponse></soap:Body></soap:Envelope>
Webs Demand in IE:
<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body><WebUrlFromPageUrl xmlns='http://schemas.microsoft.com/sharepoint/soap/' ><pageUrl>https://xy.ch/projects/advanced-sharepoint-things/charts/SitePages/test_6.html</pageUrl></WebUrlFromPageUrl></soap:Body></soap:Envelope>
i have removed our domainname
Views Demand in IE is:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetViewCollection xmlns="http://schemas.microsoft.com/sharepoint/soap/"> <listName>Demoliste</listName> </GetViewCollection> </soap:Body></soap:Envelope>
Repsonse from Views.asmx:
404 FILE NOT FOUND
and here is the path to the listfile:
https://xy.ch/projects/advanced-sharepoint-things/charts/Lists/Demoliste/AllItems.aspx
i have removed our domainname
Listname is: "Demoliste"
the View is: "Alle Elemente" or "dataview"
this is how i'd like to get the columns:
$(document).ready(function(){ $SP().list("Demoliste").view('Alle Elemente',function(data) { var array = []; for(var i=0; i<data.fields.length;i++){ array.push(data.fields[i]); } console.log(array); }); });
the same Page shows me in FF the Array with the column titles, so no error - but with IE it did not take this list. Whats wrong here?
I've tried it out with SP Plus Version 3.12 & 3.13 (because my working dashboard runs with 3.12)
The list is saved on a subweb (same level as the html file which calls it).
thanks for this great script / framework - its very nice :-)
but have you any clue why that did not work?