I've just worked through setting up a form to submit to a sharepoint list for a simple helpdesk site. The submit is working great.
I would now like to refresh the data from the remote list into the form.
Everything works perfectly in preview mode. When I pubhsed the form, I was receiving this error:
Failed to refresh list items: Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed.
A bit of searchign the web turned up that I may need to publish the form with full trust. I did this, and sure enough, it worked.
I want to know - is this a known requirement for this command? The manual doesn't say so, nor does Hilary Stoupa's excellent walkthrough at
http://www.infopathdev.com/blogs/hilary/archive/2012/07/05/qrules-refreshsharepointlistitems-walkthrough-for-v4-2.aspx
We are ultimately hoping to relocate our Sharepoint installation to Office 365, and there's issues there with full trust forms so I'm trying to avoid anything that requires this. If this command does indeed require full trust, then I'm going to have to find an alternative.
Any advice is most appreciated!
Tom