Tag Info

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

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


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

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

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

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


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


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

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

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

I am assuming this is for a custom edit form of some sort right? When you create the form after associating a datasource, you can change the field properties to show as Text or a Label which outputs the current value of the item. Just click the field value in the design pane and click the little chevron. This is where you can change the field output. ...


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

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

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

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



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