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

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

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


1

You can grant anonymous access to anyone with a guest link for a specific document: https://support.office.com/en-us/article/Share-sites-or-documents-with-people-outside-your-organization-80e49744-e30f-44db-8d51-16661b1d4232 As for folders and entire lists it is not possible in SharePoint Online: http://community.office365.com/en-us/f/154/t/214014.aspx ...


1

I would say the style library is a good place to store css files. The reference itself depends on how to you want to have the scope of the changes. If you are okay with having a global site reference, use the masterpage or the alternatecss property in site settings, masterpage section. if you want to narrow down the scope, you can add it at the page ...


1

In SP2013 you can define a custom ccs file to be linked to your masterpage on your root site via Site Settings => Look and Feel => Masterpage => Alternate CCS URL => Specify a CSS file to be used by this site and all sites that inherit from it. Click 'Browse' to insert the path to your css file (best location to store it would be the list 'Style Library').


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

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


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

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

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

Trying to do a large blanket workflow for all of your lists, you're better off attaching your workflow to your content types, this will minimize your configuration. The rest of it looks good. Have a test box? Try it out first and see how it goes!


1

You will need to utilize a third-party solution for this (i.e., Bamboo Solutions), which will allow you to add their web part to a page which will give you a "windows explorer" feel to the desired file server. I have never used on of these, but that is the path available for you.


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

Verify you have all the SharePoint Server Site Collection and Site Features activated that deal with document libraries. I had the same issue until I activated those features! Hope this helps!


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