Tag Info

Hot answers tagged

7

You can define this when you add a column in CAML via the ShowInNewForm and ShowInEditForm properties. You can find all the valid properties in the article Field Element (List) Alternatively, you can set these values using the object model (likely Powershell, since this is a one off run). The properties of the SPField object are the same (ShowInNewForm / ...


6

SharePoint provides Out of the box Issue Tracking List template. You can use this list as a bug tracking system. You can add columns to the list based on your requirements. We have been using Issue Tracing list in SharePoint for one of our projects quite successfully.


6

You can do this by using the SPUtility.js library As example I have created a simple list with: Title (simple text). Country (ChoiceField) [Tunisia, Switzerland, Canada, France, Other] – Other is the default value. City (Simple text). By default the City field is hidden if the Country field value is Other. Every list has three default forms to add, ...


5

The best solution is probably to keep using folders for security, that's the only thing they're really good at in SharePoint. Maintaining 2000 items with special permissions will be a nightmare and will cause SharePoint to perform badly. So keep your 25 folders each with broken inheritance and special permissions. But you should still have the office a ...


5

You can add it as a listview webpart. Following are the steps: Edit the page Click on Add webpart. Click on lists. Select the list to be added to the page. Reference


5

In general, you should avoid directly connecting to PRODUCTION for any sort of development or debugging. Consider bringing the list to your development environment. You can use import/export or consider saving list as template and install the template in Dev environment. How should you develop, debug and deploy sharepoint solutions? The serious ...


5

No, but the field may have been made required after the item was added to the list, or this is a new required field in an older list. Either way, when editing these items (without the required field filled in) it can't be saved unless the required field has a valid entry.


5

Modified: Identifies a field that contains the last modified date and time information that is associated with the specified SharePoint Foundation object. Last_x0020_Modified: Identifies a field that contains version control information for the last modified version of the specified SharePoint Foundation list object. The ‘Modified’ column as we see in the ...


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.


4

@PirateEric Sorry but this is untrue. Anyone who finds this as I did searching for a way to change the List URL of a SharePoint 2013 last can do so in Designer by following the steps outlined in this SO post: http://stackoverflow.com/questions/12904944/change-sharepoint-library-url Essentially: In SharePoint Designer just navigate to All Files navigation ...


4

Use the Site Users Web Part and select the group to display:


4

Since you have the list name in the query string use it to get SPList as below SPWeb web = SPContext.Current.Web; SPList list = web.GetListFromUrl(web.Url + “/Lists/ListName/Forms/AllItems.aspx“); Then you can get properties from list. Example: String listTitle = list.Title; If you want to get properties from a list item, you can pass item’s ID in the ...


4

Click on Site Settings->Edit Page. Select the list on the page and click Edit Web Part. In the Appearance section, provide the Title and select chrome type to Default.


4

This is normal behavior in Rich Text fields in SharePoint 2007/2010. The reason is that the Enhanced Rich Editor control in versions before 2013 did not support browsers other than IE and for that reason other browsers get downgraded to a regular text box and since the value of the field is HTML, other browsers see the HTML code rather than the editor. ...


4

The "Upload Multiple Documents" command is an ActiveX control. It does not work with Firefox, Chrome, Safari etc. Please see this article for details.


4

Items will still be tagged as "New" even after they have been viewed. By default in SharePoint 2010, the "New" icon will continue to be displayed for 2 days. You can check the setting via Powershell: $webApp = Get-SPWebApplication "http://YourWebApp/" $webApp.DaysToShowNewIndicator You can change the "New" tag duration to 1 day as follows (or zero days ...


4

SP 2013 uses clienttemplates.js to create the those views control. You can either create a JSLink or add the following script using the script Editor webpart to the page where your list view resides. <script type="text/javascript"> ExecuteOrDelayUntilScriptLoaded(overrideSurfacePivotCount, 'clienttemplates.js'); function overrideSurfacePivotCount() { ...


3

I know this is an old answer, but I thought I'd chip in: Most people use the query string approach. The SPServices plug in is really useful here (http://spservices.codeplex.com/), or you can write your own javascript within the form to get querystring parameters. I normally bundle this in to my own method: function getQueryParameters() { var qObj = {}; ...


3

How about presenting that in new Sharepoint calculated column - =IF([HeadCount] > 15,"YES","NO") With [HeadCount] being the original value of your Headcount column. Then you should be able to set your views based off that new calculated value.


3

Make a list template, create a new list based on that template.


3

The Ratings setting is stored as a property of the root folder of a list. In PowerShell you can do this: $web = Get-SPWeb http://site $list = $web.Lists["Documents"] $list.RootFolder.Properties["Ratings_VotingExperience"] = "Likes" // Value can be “Likes” or “Ratings” $list.RootFolder.Update() In code, you can do: using (var site = new ...


3

You can create/modify a view and apply the filter on the start date. To create/modify a view, go to list settings-> Scroll down to bottom and you will see a section named Views. Here you can click on exiting view or create a new view. In the view you can filter based on the start date in the Filter Section. UPDATE Based on your update in the question. This ...


3

Uninherit the list Give access to whoever needs it. If it's a large group I suggest using an AD security group. Give them the direct link or post the link elsewhere that they can navigate to it. They will not be able to navigate to the site that it's hosted on.


3

To move a page (your original question): If you go to the document library where the page is stored, you can download a copy of the page file without saving the whole site as a template. So the correct operation would be: Navigate to the source file's document library (Pages, SitePages, etc.) Click the ellipsis next to the file Click the ellipsis in the ...


3

You can't. If you save the stp-file, rename it to cab, opens the cab file and opens the manifest file inside you can see what you can see from the splist. An if it's a generic list, that has added fields. The only way I guess you can do it is to add some kind of information in the schema that will identify the template.


3

It actually depends what version of SharePoint is used. How to retrieve Variation Labels via CSOM? Since variations labels are stored in a Hidden List (MOSS 2007, SPS 2010/2013) we could retrieve it via CSOM (ECMAScript) as demonstrated below: function getVaritationLabels(OnSuccess,OnError){ var ctx = SP.ClientContext.get_current(); var rootWeb = ...


3

You can create a quick and dirty copy of the list from the production server by creating a list template from the list settings screen. When you create the list template, you will be given the option to include the content as well. Make sure that is checked. Download the file from the list template gallery in production, then upload the file to the list ...


3

I may be wrong, but I don't think there is an easy/elegant way to fix this without some sort of code. The easiest way to fix this, IMO, would be a post-import powershell script which iterates each item of the list, and for each field that needs a fix-up, it reassociates it with it's correct user. If you could get an export of the original site's ...


3

Looks like the issue is with the UserInfo list ID. Can you export the list data and store the User as ID or Email? Then when you import the info call EnsureUser. This will re-associate the user with his correct (or new) userID record in the new site collection.


3

I have fixed this issue in the past with a little bit of client side code - basically some javascript that will turn that HTML into a rich text editor, just like in IE. Its not that hard and only takes a few minutes to apply it to the Edit and New forms. And: you don't need to be a sys admin. As long a you can design the forms (ex: your in the Site Owners ...



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