Hi all,
I am trying to connect the sharepint's own Web Services, (for example Lists) by using a simple web application,
I am a newbie and I have a couple of questions,
What is View GUID that you must enter to a texbox to get ListItems?
I know that List Name is for example "mylist" and I need to have Veiw GUID, I dont what is View GUID ?
now my programing problem:
When you use the method GetList(listName) you don't need to write View GUID. you can get what you need just by having listName, I use it and I get what i need from the Lists web service.
I write my listName in a TextBox and then klick on a button to get the list, so long everything goes well,
but When i write another listName in the ListBox i get the exception. i have to run agin the application to get information for another list.
here is the excepiton i get:
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (XmlNodeTextBox="<List DocTemplateUrl...").
sorry bout my bad English
I am trying to connect the sharepint's own Web Services, (for example Lists) by using a simple web application,
I am a newbie and I have a couple of questions,
What is View GUID that you must enter to a texbox to get ListItems?
I know that List Name is for example "mylist" and I need to have Veiw GUID, I dont what is View GUID ?
now my programing problem:
When you use the method GetList(listName) you don't need to write View GUID. you can get what you need just by having listName, I use it and I get what i need from the Lists web service.
I write my listName in a TextBox and then klick on a button to get the list, so long everything goes well,
but When i write another listName in the ListBox i get the exception. i have to run agin the application to get information for another list.
here is the excepiton i get:
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (XmlNodeTextBox="<List DocTemplateUrl...").
sorry bout my bad English