How do I programatically find the GUID for the Sharepoint List View given that the name of the view is known. A user has to input the view name and the program should be able to spit out its GUID.
Thanks Momerath. I have been trying to use that page as a help before I posted here. No Luck! I have no idea how to implement it in my code and what libraries to import to make it work.
Well I figured it out. For anyone who might stumble upon this problem in the future. here's the solution :
SPWeb web = SPContext.Current.Web; SPList list = web.Lists["your-list-name"]; Guid viewId = list.Views["your-view-name"].ID; some_random_label.Text = "The view GUID is :" + viewId.ToString("B");
I am having trouble with my program its solving expressions and when I compile it I get a "Illegal start of expresson" line in my output. I am ...
I'm hoping for some help with a regex that has me stumped. My skill with regex is rather rudimentary.
To start, here are a couple of example URLs, and ...
The purpose of this question is to calculate the three cubic roots of a complex number.
A complex number is of the form a + ib where i is √−1. ...