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

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.


1

It sounds like you shouldn't use a calculated column at all: It would probably be easiest to use the workflow to set the field value when that intermediate step is complete as is sort-of suggested in your link; to get it working in your situation you need to make the column you're using as a calculated one now a date or text type, then make a workflow or ...



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