Tag Info

Hot answers tagged

5

Well you can hide it to appear on forms, go to List Settings -> Advanced Settings -> Allow management of content types -> check the box Now come back to List Settings -> Under Content Types -> Click Item content type -> Under columns -> click Title -> Hidden (check the box) Now it won't appear on the forms, you can similarly remove it from Views.


3

If you neither want to use InfoPath nor Workflow, then you have to use SharePoint web services to fetch corresponding data in Column B for a selected value in dropdown Column B. You can achieve this functionality using SPServices library. Its a js library used to call SharePoint web services and perform operation very easily and in efficient way. You have ...


3

I think you mean that result item collection is empty: $itemsCollection = $list.GetItems($spQuery) if($itemsCollection.Count -eq 0) { Write-host " No results were found" }


2

I would create a new content type that inherits from the issue content type. You could then remove and use the fields you need from issue content type. The created modified fields are system fields. These are usually defined in the base type item. http://msdn.microsoft.com/en-us/library/office/ms472236(v=office.14).aspx


2

It's not possible to change the outgoing e-mail address today, but it's a requested feature which may be implemented in the future. I guess you where just lucky receiving another outgoing e-mail adress, since the default is no-reply@sharepointonline.com.


2

dam, you didnt set the auto function off... There is a time to live on workflows that occures i think by default every 60 days... once it reaches 60 days its removed by a timer job. Its active by default as its auto cleaning after two months to save on server speed and resources. If you disable it than it would over time slow sharepoint down! to sort it ...


2

their are two methods: Use Powershell to create new permission level which have Add items but no View items. $spweb=Get-SPWeb -Identity ""; $spRoleDefinition = New-Object Microsoft.SharePoint.SPRoleDefinition; $spRoleDefinition.Name = "Submit only"; $spRoleDefinition.Description = "Can submit/add forms/files/items into library or list but cannot ...


2

As part of using AddFieldAsXml you need to provide the field's internal and staticname announcementy.Fields.AddFieldAsXml("<Field Type='User' DisplayName='Created By' StaticName='CreatedBy' Name='CreatedBy'/>", true, AddFieldOptions.AddToAllContentTypes); announcementy.Fields.AddFieldAsXml("<Field Type='DateTime' DisplayName='Date Created' ...


1

You can open the site in SharePoint designer , go to your SharePoint List and create a new Display form. In that display form you can re use the same html and JavaScript code of your Survey page. See this blog to know about custom list form.


1

You can use the [Me] variable when you configure a filter on a view. It's valid to People type columns. It will not show the row when the AssignedTo column is targetting a Group. For that you need to go to a more complex solution of using SharePoint designer to configure the filter for the list view.


1

Try adding the items to the ListItemCollection rather than adding it directly to the list, like below. The try block that you have only makes the matters worst as you are getting the list object and updating it without having anything to update. SPList list; list = web.Lists["Milestones"]; for (int i = list.ItemCount - 1; i >= 0; --i) { ...


1

What you most likely need to do is update the SchemaXml property of the lookup field - the imported Posts list now should have a new ID, this change must be reflected in the field schema in the List attribute. There's a utility for that on CodePlex: https://splookuplinker.codeplex.com/ but you can also do the same with a PowerShell script or SharePoint ...


1

Creating a calculated column with the following formula should resolve your issue: = TEXT([Customer Number], "0")


1

You could just use SP.CamlQuery.createAllItemsQuery() as the parameter for getItems() although simply setting the scope to 'RecursiveAll' and inserting the filter that wjervis suggests should also do the trick. Example of my proposal: list.getItems(SP.CamlQuery.createAllItemsQuery()); You can inspect exactly what this does in your browser dev tools if ...


1

public static DataTable GetListData() { DataTable returnTable = null; SPSite thisSite = null; SPWeb thisWeb = null; SPList thisList = null; try { thisSite = new SPSite(siteLink); thisWeb = thisSite.OpenWeb(); thisList = thisWeb.Lists["Resources"]; SPQuery ...


1

You have to midify alerts template. Read this article: http://www.alectang.com/blog/archive/2012/05/16/how-to-customise-sharepoint-alert-email-template.aspx And MSDN documentation: http://msdn.microsoft.com/en-us/library/bb897925(v=office.14).aspx


1

Let $web be the SPWeb object where your list is, and let $item be the SPListItem that your script is working on. Here is how to extract the SPUser from $item: Function Add-SPUserFromListToOwnersGroup { param ( [Parameter(Mandatory=$true,ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)] [Microsoft.SharePoint.SPListItem] ...


1

have you deployment of the list in a Web scope? You should add the list in the feature and set configuration of feature in Web scope


1

Have you created the list using a SP2010 list template ? Is there any additional columns that is having the same display name ? Also I faced a similar issue when my system resources where low on my VM. Not sure whether it is related.


1

I found a solution to the original problem that was posted here, it took me whole day struggling with xml returned by query. Solution is, In ViewFields, terminate the internal name up to 32 charachters. And then, while getting value, use the internal name terminated up to 32 chars. This is definately poorly tested code by Microsoft pushed in SP 2010. ...



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