Tag Info

Hot answers tagged

2

I believe the simplest and recommended way to achieve this is using either the SharePoint JavaScript Object Model or AJAX. Neither will cause the page to become unresponsive and both should be fast, even with several thousand items. If you are performing just one query, the SharePoint JavaScript Object Model is your best option. The following MSDN article ...


1

There are couple of ways to copy the List with all items.But with 500 Millions your options are very limited. You can Use one of these: Export List and Import list with new name Use the 3rd party tools i.e ShareGate, MetaLogix. Try the code from technet gallery another way is Save List as template include content( but i dont think so it will work with ...


1

You have to add your field to the content type. See this post for more details. It describes your issue.


1

Try adding the attribute ShowInNewForm = "true" to your Field-Definition (Field ID=....) Reference : http://jasear.wordpress.com/2011/12/28/sharepoint-2010-list-fields-not-showing-up-in-edit-display-or-new-forms/


1

There is property called DefaultValue. $FieldName = $list.Fields["NH Department"] Write-Output $("NH Department - Default Value " + $FieldName.DefaultValue)


1

The visual web part should be included to the Site-scoped feature, as a result properties.Feature.Parent is a SPSite object. You need to check feature scope and use the code below if the scope is site. SPSite site = properties.Feature.Parent as SPSite; if (site != null){ SPWeb web = site.RootWeb; SPList laptopList = web.Lists["Laptops"]; ... }


1

Use SPList.SaveAsTemplate for your source. Should be the same as the GUI.



Only top voted, non community-wiki answers of a minimum length are eligible