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 ...


18

In the Column Validation settings (Edit the Column and it is an expandable section near the bottom) you can use this formula: =ISNUMBER([My Column]+0) Just Replace My Column with your actual Column's name


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.


11

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 ...


9

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&...


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 ...


8

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 ...


7

I found these two PowerShell posts from Phil Childs quite helpful in my attempts (I presume you are looking for a PowerShell approach) - Export and import/create site columns in SharePoint using PowerShell Export and import/create site content types in SharePoint using PowerShell


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 ...


7

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 ...


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

You could utilize the content syndication hub and create a site column there. Add it to an item content type and syndicate that content type to all site collections. At which point that column should become an option to use in all site collections. This is in theory of course but it should work.


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

You should use SPWeb.Fields instead of SPWeb.AvailableFields SPWeb.Fields are for the fields associated with this SPWeb SPWeb.AvailableFields are for the fields available for this SPWeb or parents and is readonly Here is an example of updating choices of a Choice Field using PowerShell: $w = Get-SPWeb http://sp2010 $f = $w.Fields["pejaChoice"] $f.Choices....


4

how about using the Property Bag of the site. Every site and site collection has a unique Property bag that you can add properties to. Open your site with SharePoint Designer, and click on the "Site Options" icon in the Site Toolbar to see what values are in the current properties. You can add, update, remove properties from there.


4

I'm not sure exactly what you're trying to do, but you can't expand a parent site's list from a sub-site via the REST interface. The way that SharePoint goes about getting the additional data via the REST service assumes that the list exists in the same context, not a parent site. This means that, although the fields look identical in the initial XML, the ...


4

The StaticName and Name also have to be unique between the columns.


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

I know that the fields order is from schema.xml To chenge the order the key is : SPFieldLinkCollection.Reorder MSDN : http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldlinkcollection.reorder.aspx


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 ...


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