This project has moved and is read-only. For the latest updates, please go here.

Problems adding items to list on anonymous site.

Jul 24, 2014 at 2:29 PM
Hi All,

I've inherited some work done at a client site using this tool, I have no experience of it myself.

Essentially the solution is for booking courses, and those bookings are list entries. The public site is anonymous, but the web app is extended as the edit site for those that manage it. This uses Windows auth, and the booking works fine, but when accessed via the anonymous site, the credentials prompt appears.

I understand about how to enable a list to grant Add Items permission for anonymous users, and have used this other places with Infopath without issue, but in this scenario it isn't working. I have also tried turning off ViewFormPagesLockdown, but to no avail.

Can anyone offer any suggestions as to how this can be overcome? If more details are needed, please ask - I appreciate I might not have covered everything.


Aug 2, 2014 at 6:13 AM

How are you using SPServices here? Can you show the relevant code?

Anonymous writes don't work to lists with the SOAP Web Services, only reads.

Aug 6, 2014 at 2:22 PM
Hi Mark,

Thanks for replying. The segment of code that writes to the list is below. If you need to see the entire script file it's here:



// addBooking function - passes the data from the form to the list
    function addBooking(courseName,courseDate,startTime,endTime,venue,forename,surname,addr1,addr2,town,county,postCode,tel1,tel2,email,gpSurgery,caredName,caredAddr,caredTransportAss,caredCareAss,learnerNeeds,dietaryNeeds,accessNeeds,otherDetails) {

            operation: "UpdateListItems",
            async: false,
            batchCmd: "New",
            listName: "Applications",
            valuepairs: [["Title","(no title)"],
Aug 10, 2014 at 3:47 AM
Well, again, anonymous writes don't work. Is that what you're trying to do?