Hot answers tagged

6

You can specify Location="CommandUI.Ribbon.ListView" and RegistrationType="ContentType" with ID set to 0x01 for custom button to appear on ListView pages of all the lists. <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="ShowHelloWorldButton" ...


3

Solution ASP.net Ajax 1.0 web.config settings messed up check out. Particularly this line in httpHandlers section: <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> After removing this line it ...


3

One thing you may want to remember when thinking about lists versus libraries is that a library allows you to create metadata around a single document so one document is the item in the list while the lists allow you to have multiple attachments in regard to metadata that is the item entry. The limitations of the attachments, like Laurie mentioned above are ...


2

You can use ULS View in order to audit your Correlation ID Also, this reference source will help you: http://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID=353


2

There's nothing OOTB that I know of. I can think of 2 options and they both essentially do the same thing. Customer Event Receiver -- you need to use the ItemUpdating event which isn't overly painful if you're familiar with sharepoint event receivers. This should help -- Item Updating Event Receiver The downfall is now you want to alert someone so you ...


2

I think that you should create your own role defenition based on SPBasePermissions enumeration, in this defenition you should exclude following base permissions: ManagePersonalViews - Create, change, and delete personal views of lists. ManageLists - Create and delete lists, add or remove columns in a list, and add or remove public views of a list. Then ...


2

Creating custom permission level. using (SPWeb currentSite = SPContext.Current.Site.RootWeb) { // create a new role definition and set base permissions SPRoleDefinition roleDefinition = new SPRoleDefinition() { Name = "Custom Permission Level", BasePermissions = SPBasePermissions.AddListItems | SPBasePermissions.OpenItems | ...


2

It should be fine as long as you cut & paste (move) instead of copy & paste (copy).


2

The "Pages" library is a publishing page library and will use page layouts. The "Site Pages" library can have completely different content types, most likely wiki pages or web part pages. Don't confuse the two types of libraries. They use completely different architectures. A good summary of the different kinds of libraries can be had here: ...


2

Short answer, no. If you have versioning disabled in the document library, the new file will replace the old. If you have versioning enabled in the document library, the new file will be added as a version of the old. You could develop an item adding event receiver that checks the file name and changes it if duplicates are found, but I don't think this is ...


2

I have seen this happen when you have some Office 2007 products installed along with some Office 2003 products. This may or may not be your issue, but I have seen it fairly frequently. There is a KB article on it from Microsoft, along with a hotfix that must be run on the machine experiencing the issue: http://support.microsoft.com/kb/938888. Without ...


2

You can turn off attachments for lists. They are optional. There could be many examples where you may want to creare a list and have attachment enabled for the items. They may provide reference for the list records. For example, for issues list, you may want to attach a screenshot showing the error. For tasks, you may want to attach an email message which ...


2

If the main usage of your list is managing documents, then you should use a document library. You will have versioning of the document, by default clicking on the title will open your document, the browser ribbon is centered around documents (e.g. Upload Document), etc. If the main usage of your list is something else (e.g. tasks), but the items in the list ...


1

Content types are scoped to a site, so the only way to make them visible on all sites is to activate the containing feature at the root of every site collection. Once the content type is added to the gallery, it can be selected in the browser. (You need to change the library to allow management of content types.) However, your PowerShell approach will ...


1

I'm not sure I understand exactly wht you want but here it goes. In SP 2007, you have the site level breadcrumbs which allow you to go "up the chain" at the folder / list level all the way up to the current site. You also have the global breadcrumbs at the top that allow you to go "up the chain" to parent sites in the current site collection.


1

You can configure these with a workflow now. Check my post Configure Item Level Permissions for Document Libraries – Part 2 – SharePoint 2010 edition. Basically a SPD workflow is triggered when form is created and it assigns appropriate privileges to users. You can also solve the problem with event receivers, but you need to develop your own feature with ...


1

Remember that you only grant permissions in SP so if you would like to have it like this (as I understand your Q) User 1 = Nationality 1 - should have access User 2 = Nationality 1 + Nationality 2 - should NOT have access then if you grant permissions to the group Nationality 1 then also User 2 will be granted access (since he is a member of Nationality ...


1

i don't know whether you are talking about data connection library or something else. If you are talking about data connection library then here is a msdn link to get u started http://msdn.microsoft.com/en-us/library/ms772101.aspx. Generally this library is a kind of document library in Microsoft SharePoint Server 2010 that enables applications such as ...


1

Try disabling the New Folder command and then re-enabling it. It sounds to me like a specific list template type (possibly a derived one) didn't copy cleanly into the upgraded content database. Clearing and re-setting the option might get this working again. There are similar issues with lists/libraries migrated from 2007 to 2010 losing their email-enabled ...


1

You should check if js library is already on page if it is - don't add it second time if it is not on page - load it.


1

If this is a one time thing then a Console Application would work in this case. If it was SharePoint 2010 I would have recommended powershell. You want to loop each site collection, each web, look for each Document Library either by name or type, then Create a View, Set View as Default. public static void CreateView(SPList list) { if ...


1

You have to break inheritance before you are able to change permissions for a SPWeb. Refer to this link.


1

Here are two approaches I came across: Using Explorer list view: moving the folder in this approach is unavailable as source and destination sites didn't exist in the root site collection, nor in a subsite directly the root site collection, it's simply not supported by microsoft. Using Content and structure: obviously it's not possible to copy a folder ...


1

You could use the REST service, but since you are downloading this amount of data you could as well use the CSOM. Try this: Install the Microsoft.SharePoint.Client package from NuGet: Install-Package Microsoft.SharePoint.Client (This package is for 2010, but it will work for 2013 as well). Then use this code: const string host = "http://2013-sp"; const ...


1

It depends upon on your environment ( i.e number of the site collection, Size of data, Complexity of sites). As you know, there is no direct way of migration from SharePoint 2007 to 2013. The only way is to build a temporary SharePoint 2010 farm( btw 2010 also pass End of life) then Backup the content DB from 2007 and restore it 2010 after upgrade here then ...


1

So this is going to be a long one. Get a cup of coffee :) Here are few suggestions and that could work. "Our company has various departments that we would like to have separate documents." Most obvious choice is creating site collections instead of sub-sites for each department. I say this because, I believe, You would require isolation between ...


1

Limited Access is a permission level that is automatically assigned to SharePoint users and groups when they are granted access to an item/objects which causes permission inheritance to break. For example, if you grant a user access to an item on a list but not the list itself, then the user is assigned Limited Access to the list and it's parent site/s. ...


1

You can use the "Link to document" Content type by adding it to your document libraries, which practically enables you to type if the address of where the actual document lives instead of storing it. You need make sure the option to "Managed Content Types" is enabled on your Document Library prior to be able to add it. On the other hand, have you considered ...


1

OOTB Alerts does not have the flexibility to be called only when the particular field in list item is changed , rather it will be called when any field in the list item is changed. You can create similar functionality with 2 approaches : Create an Event receiver which will be called on item updating.Compare before properties and after properties value of ...



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