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 Currently working on a project to schedule installers to do installations.
When scheduling the user will select the day of intall and if the number of days the ...
How to escape the double quotes using XSLT:
My xls file converting xml file into csv file.
my xml node is as below:
<?xml version="1.0" encoding="ISO-8859-1"?> <TRADING_TITLE><TITLE>SBU</TITLE><DESCRIPTION><![CDATA[Simply Be Inquiries]]></DESCRIPTION><REGISTERED><NAME><![CDATA[Speciality Home ...
Who can help me with the following
For Each Con As Control In GroupBox1.Controls If Con.GetType Is GetType(Button) Then Con.BackColor = SystemColors.Control Con.UseVisualStyleBackColor = True End If Next
Can someone ...