What's the deal with Deno? We talk with a major contributor to find out. Listen now.
35

Open the AllItems.aspx page for the specific list. Search for the <ViewFields> tag List item LinkToItem="TRUE" to whichever column you want the link: <ViewFields><br/> <FieldRef Name="Attachments"/><br/> <FieldRef Name="LinkTitle"/><br/> <FieldRef Name="linkThisColumn" LinkToItem="TRUE"/><br/>...


23

If you're trying this for SharePoint 2013, change "LinkToItem" to "linkToItem" <ViewFields><br/> <FieldRef Name="Attachments"/><br/> <FieldRef Name="LinkTitle"/><br/> <FieldRef Name="linkThisColumn" linkToItem="TRUE"/><br/> <FieldRef Name="data_x0020_column"/><br/> <FieldRef ...


12

You can use LinkToItem, LinkToItemAllowed and ListItemMenu properties of SPField. If you want field to show link to item's display form you need to set LinkToItem property to true and LinkToItemAllowed property to Allowed. If you want to add context menu to field you need to set ListItemMenu to true.


12

Do you try [this solution][1]? In this solution you should modify field declaration on a view through SharePoint Designer. You can hide the “Title” field first by going to List Settings > Advanced Settings > Content Types > set Allow Management of Content Types to Yes. This will open Content Types under the List Settings. Then go back to the List ...


10

Next time you perform the changes to the ContentType make sure to push changes to the lists while updating the ContentType. For now, you might need to perform some clean-up job here, just to make sure the field is deleted from all the lists, with your Custom ContentType. Use the following PowerShell script for clean-up! Vårsegod :) Add-PSSnapin Microsoft....


10

I'm assuming you provisioned the column as a site column. The next thing is to make sure to push the changes to the down to lists and content types where this site column has been referred (which apparently you haven't done it). So, I would recommend to delete the old definition and provision the column again! See an example below where I am using the ...


10

Ever since v1 of SharePoint Team Services, Microsoft has used OWSSVR.DLL to remotely invoke functions against SharePoint. It is part of SharePoint Foundation Remote Procedure Call (RPC) protocol. To read more about the OWSSVR.DLL command follow URL Protocol from Microsoft Blog. The query: https://fabifam.sharepoint.com/_vti_bin/owssvr.dll?Cmd=ExportList&...


9

Yes, the short answer is you can't do anything to the field if you accidently deployed it with a version attribute. Whoops. As this is something I've done a few times - ow - and I needed to fix, I've finally gotten around to writing a script to fix it. The script needs to remove the current field from all content types, then delete the field. Then remove ...


9

I read that sandbox solution is not preferred in SharePoint 2013 and we should use the app model. So is creating artifacts an available approach to do inside SharePoint apps? Yes there are multiple available approaches. The one I use the most is (for provider hosted add-ins) to use a remote event receiver on AppInstalledevent. In the event receiver you can ...


8

As Steven stated there is no way to do this OOTB but you can do it with powershell. Get the lists from different Sites: $targetWeb = Get-SPWeb http://sitecollection/site1/ $sourceWeb = Get-SPWeb http://sitecollection/site2/ $targetList = $targetWeb.Lists.item("Target List Name") $sourceList = $sourceWeb.Lists.item("Source List Name") Add the Lookup field ...


7

Solution Packages - whether Farm or Sandbox - are still the way to go for deploying site columns and Content Types. With an "app", you can only deploy these artifacts to the app itself, not to the host SharePoint site (and I'm a little peeved with Microsoft for not making it more clear what you can and can't do in an app). And yes, Sandbox solutions are ...


6

From SP2010 and forward we have not used solutions / features for this. Instead we use PowerShell to do this programmatically using server side API's. By doing this we avoid "unghosting" the content types (as doing it declaratively does) and we also avoid having to deploy a package which include resetting IIS. In SP2013 we continue doing this, but since we ...


6

Besides your details descriptions in your question , The following points will let you know when you can use lookup field VS choice field , For a lookup field, You can manage permission at its list per list item to show and hide specific items at a lookup field based on user permission . Also, Look up field used when you need to make a relationship ...


6

Because of the Powershell is not showing any description related to the data type of the value . so I tried to check the parameter type that should be passed to web.Fields in visual studio and I found out : The web.Fields[fieldname] accepts only the display name and not the internal name of the field as shown below. Meanwhile, I tried to check the ...


5

John, if you are creating the site columns from the visual studio use the DisplayName property of the field for your case <Field ID="{2690E8BF-0801-408A-8445-93D816DF5D29}" Name="LastName" DisplayName="Last Name" Type="Text" Required="FALSE" Group="Custom Site Columns"> </Field> <Field ID="{22E0D583-DC48-45C4-ADC7-...


5

Try this condition IF([Enter Time]="1",[Today Date]+365,IF([Enter Time]="2",[Today Date]+730,IF([Enter Time]="3",[Today Date]+1095,IF([Enter Time]="4",[Today Date]+1460))))


4

If there is issue of as per you said in the HINT. Then, Try to create columns Software Development Risk/Issue Own‌​‌​‌​‌‌​er and Software Development Own‌​‌​‌​er without any space or special character in column title: SoftwareDevelopmentRiskIssueOwn‌​‌​‌​‌‌​er and SoftwareDevelopmentOwn‌​‌​‌​er. Then your Internal Name will be created same as per the ...


4

When you create a column name beginning with numbers in UI , SharePoint converts it internally as below: _x0032_ + Rest of the field name beginning with second digit. To answer your questions 1) Avoid column names beginning with numbers as general thumb rule/practice. If you must, then use Powershell to set internal name/display name. 2) Powershell/SSOM/...


3

Stefan Bauer wrote a post about this that covered it quite nicely! I know the question have been answered but this post, in combination with this question, helped me to solve my task! http://www.n8d.at/blog/hide-fields-from-lists-and-content-types/ (Edit 2017-01-24: Looks like the blog is down..) The Essentials: # First load SharePoint Core Assembly [...


3

That code is C# though the powershell isn't that different and would probably look pretty close to this : $site = Get-SPSite "UrlToSiteCollection" $web = $site.OpenWeb("/Url/To/Web/Containing/List") $list = $web.Lists["CustomTest"] $f = $list.Fields["Page Image"] $f.Sealed = $false $f.Update() $list.Fields["Page Image"].Delete()


3

I think you could do it either by using event receiver or by Default node inside Field node: <Field ID="{f4c96457-f8e8-4544-8165-a164123db510}" Name="testColumn" DisplayName="test Column" Type="Note" RichText="TRUE" RichTextMode="FullHtml" Required="FALSE" Group="Custom Site Columns"> <...


3

I have tested your script and the column has been added successfully. The only thing that I has to do is to add the column to the current view. Check in your list settings that the column has been added. If you want to add the column automatically to the current view, you can add this to the end of your script : # Get current view $view = $sList.DefaultView ...


3

"Maximum value - 192" means that you can have 192 multiple lines of text columns in one list. "Limit type - Threshold" means that the limit is controlled with a threshold that can be overridden (soft limit). "Size per column - 28 bytes" means that the column uses 28 bytes of space in the database (not to be confused with the content itself). The whole thing ...


3

When working with parent/child content types, I do this: The parent has only the fields that will exist in all child content types. Then each child content type only has the fields in it that are needed and are not inherited from the parent. So if your children each have different priority values, then each one would have their own priority field that is ...


3

This has always been the case, dating back to 2007 at least, and my assumption is to keep and data around. The fields can safely be removed if they are no longer in use.


3

The method SPFieldCollection.Add (String, SPFieldType, Boolean, Boolean, StringCollection) has only five arguments. Whereas, in your code you are passing 6 parameters. Try changing the code to this: $newSiteColumn = $web.Fields.Add($name,[Microsoft.SharePoint.SPFieldType]::Choice, $false,$false, $stringColl) Source: https://msdn.microsoft.com/EN-US/library/...


3

Single line of text can store 255 characters. So you will be good even in case of IPv6. One drawback of storing interger in text field is that you will lose the out of the box ability to apply mathematical functions like SUM etc.


3

Make the list a template and don't include the data. You can make new lists from this template and even add additional columns to the new lists without affecting the original.


3

Yes, through PowerShell. Phil Childs posted the article Export and import/create site columns in SharePoint using PowerShell back in 2011. Basically you export your site columns to an XML-file in your test environment, and import the XML to production. Export: $sourceWeb = Get-SPWeb http://portal $xmlFilePath = "C:\Install\Script-SiteColumns.xml" #Create ...


3

Your choosing of names is very unfortunate. SharePoint Lists have a 32 character limit for internal column names. It seems this is not the case for Document Libraries as explained in this BlogPost. As you pointed out "Software_x0020_Development_x0020" is exactly 32 characters. When the property is crawled the spaces (x0020) are removed and SharePoint build ...


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