Tag Info

New answers tagged

0

Folders in SharePoint are unnecessary pain in the ass. Folders will Not help your case in searching Will increase the Url length As Mike said, use the documents set! Document sets inherit form folders and help manage group of documents as a single entity. It is nothing more than a content type that can be attached to any document library and make use of ...


0

Similar question on SE, titled How can I allow users to add documents to a library but not be able to open other documents listed?. Cite Answer 1: You can create a new Permission Level and only give it 'Add Items' and 'View Items' permissions for lists. This means that a user can add items to lists and view items in a list but not open the items. So he ...


0

I was struggling with the exact same issue. I was just going to give it up, when I thought I'd give two other event receivers a try: ItemFileMoving and ItemFileMoved. And it worked! There is a logic to it I think, renaming and moving operations are somewhat alike. You can see it best when you're creating a new folder from Explorer/WebDAV. Immediately it ...


0

Turns out this was user error (that is, me). I hadn't checked the relevant files in.


2

For 2010, use the REST interface http://msdn.microsoft.com/en-us/library/ff798339.aspx What will you be using to access the list? C#, Javascript ... ? Some examples http://weblogs.asp.net/paulballard/archive/2005/05/08/Using-Data-From-SharePoint-2003-Lists.aspx ...


0

On both FBA and AD (Claims), Office will need it's own authentication ticket as well as the browsers. That likely also explains why your same user has different behaviour on different machines etc. You need to get users to accept they must login both through the browser normally and if they are then opening documents, to also login again for Office - ...


2

There are numerous scenarios that can lead to user's getting prompted. The Authentication providers, your host header/domain name, etc all play into it. The most common deployment scenario is a claims setup with Windows authentication. If you are using a host header/fully qualified domain name that doesn't match your AD domain, then it will not ...


0

How to: Hide the Ribbon in SharePoint 2010 (Rajeswari Mohandas)


3

Since you are trying to update item on ItemUpdated event you will get this error because another Update event was already in progress so you need to turn off EventFiring before calling SystemUpdate(). Example: SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPWeb web = properties.OpenWeb()) { var list = ...


0

The below code solved the issue SPFolder newFolder = web.GetFolder("/bdox"+SharepointfolderURL);


0

You need to decide if you want to use in place records management or not. If not, create a record centre and route documents to the record centre. If you want to use in place RM, then you can do that with any template, not just a document centre. Enable the "In Place Records Management" feature at the site collection level. Then you can declare records in ...


0

agree with teylyn regarding the auto-grow. it's possible to increase the the maximum upload size in Central Admin for each web app. You could temporarily raise that limit and use Open With Explorer to copy/paste in bulk and reduce the max upload size when you finished with your implementation. The upload will generally take a loooong time via this ...


0

I have to also agree on MetaVistech.com tool But, if your looking for a good end user tool, you should look at Harmon.ie Its a good Outlook plugin that you can drag/drop those files from your File Share into the SharePoint document library as seen from outlook. go to http://harmon.ie to check out the Outlook plugin


0

here is a codeplex free script giving you possibility to upload multiple files to SharePoint. Try to this tool that is Silverlight one and can be easily integrate to SharePoint using OOTB Silverlight web part. We have used this tool for SharePoint 2007 with minimal editing Hope it helps, Andrew


0

I'm not sure whether a web part would help. There are several third party applications for bulk uploading and metadata management of files into SharePoint. A quick web search for "Sharepoint bulk upload" will give you an idea. We use a tool from Metaviz, but there are many others. Before you embark on bulk uploading, make sure your SQL content databases ...


0

This is probably crazy but since templates are usually updated either rarely or in controlled situations, why not just look at the current version number and then update a specific cell in the template with the expected version number before checking it in?


0

You can give users 'View Only' permissions on the library. That should remove the 'Save As' functionality and allow users to just view the documents. You might need to break permissions on the library if this is to be done seperately. Or you could simply add the users to a group having 'View Only' permissions. Remove from all other groups.


0

If you check this link out: Information about the characters that you cannot use in site names, folder names, and file names in SharePoint. You will see that the "+" is not allowed. Its seems that SharePoint have removed the illegal character for you and that is why it works.


0

You can create an eventHandler, calculating checksum. Code for checksum is below. private string CalculateChecksum(string fileUrlString) { byte[] byteToCalculate = ReadAllBytes(fileUrlString); int checksum = 0; foreach (byte chData in byteToCalculate) { checksum += chData; } checksum &= ...


0

I have figured out this problem. Since we not using the default method for uploading the document to the document library we have to use custom document library for this purpose. I have used custom task form in order to upload the document to the document library and so the document library also has to be custom document library. Hope this helps someone. ...


0

Document Id is a Site Collection feature. By default you can only specify a "seed" to have all Ids to begin with. You would need to build your own Document Id provider (http://msdn.microsoft.com/en-us/library/ff521589(v=office.14).aspx) if you need special rules.


0

Following code snippet could help you. // add the file SPFile file = docLib.RootFolder.Files.Add(newFileName, inputStream); // get the list item for that file SPItem item = file.Item; //Set the Created Date item["Created"] = "2009-02-26 15:00:00"; item.Update();


1

You must cast the field to a SPFieldLookup. This object has members like LookupList, LookupField and LookupWebId that will help you identify the correct list and field See the MSDN documentation here


0

Below code allow to send you custom page of any list if user click on New Item $("a[id$='NewMenu']").click(function(e) { window.location = '/_layouts/smartaudit/UploadAudit.aspx'; return false; });


0

The only thing within Sharepoint that allows this is a list based on the Links List template. I don't know if attaching your own content type and attaching the slides to the items would work. You'll probably have to roll your own somehow. You might be able to pull off something fancy with jQuery UI Sortable. Once reordered and submitted, it would set an ...


0

Out of the box there is no such mechanism. You could use a new column of type Integer (also set to Uniqueness on it to avoid duplicate numbers) and define the Default view to Order slides based on that column (name it OrderBy) - of course this would force user to change # of the other slide prior to re-use it. Or... you could envision building your own ...


0

The problem might be that you try to move all documents to place 0, except for the one in position 1 of the h array. bool[] g = new bool[179]; int[] h = new int[179]; for (var j = 0; j < 179; j++) { g[j] = false; h[j] = j; } g[0] = true; g[1] = true; h[0] = 1; h[1] = 0; See the last answer in this link for a working example. UPDATE: Per the ...


1

If you are working with SharePoint Server 2010 or later you can consider using the Document Set feature. A Document Set is essentially a folder that can be defined with a content type (includes meta-data) as well as other useful things like workflow.


1

Take reference to lookup list and use List.GetItemById(Id) to get the item and take the column value and construct the lookup collection. Example: SPList lookupList=properties.web.lists["lookupListName"]; SPListItem lookuplistitem=lookupList.GetItemById(4); //Here Id is 4 string filedvalue=lookuplistitem["lookupfieldname"];//Which field you are taking as ...


0

Thanks @Hugh Wood. I have tried 2nd option "Use ActiveX control" but facing problem refer This Link :: Can you please explain more about the 1st example "Javascript example"? Thanks.


1

have you found the solution? I am also facing the same challenge. Thanks. Update: I am facing same problem but I am able to print. Please refer This Link Hope this link will help others too. Please let me know if you can explore more. Thanks.


2

Follow the instructions that Anders Rask answered here :How can I force SharePoint 2010 to open PDF's in the browser? but replace "application/pdf" with "text/html" Like so: $webapp = Get-SPWebApplication <your webapp url> $webapp.AllowedInlineDownloadedMimeTypes.Add("text/html") $webapp.Update()


0

ContentType and File Size is a Calclated field. So we can't change that. And the Version is a Number Field Type and this is ReadOnly. We can change the Content Type by updating ContentTypeId field with the ContentType ID in that list. To update Version field, we have to set the readonly property to false and then update the verion nuber (not recommended). ...


0

ContentByQuery Webpart helps you to populate the documents from multiple sites. To know more about try this link, http://office.microsoft.com/en-in/sharepoint-designer-help/display-data-from-multiple-lists-with-the-content-query-web-part-HA010174134.aspx But ContentByQuery Webpart only availble in Server edition, If you require for foundation, then use ...


0

As per my understanding there are two lookups from same list/library. SPFieldLookupValueCollection for each field is different. The format is ID;#Value here ID is listitem ID and Value is what you stored for respective fields in lookup list. For "LookUpField" "ID;#LookUpFieldValue" For "LookUpFieldWithPicker" "ID;#LookUpFieldWithPickerValue" Before ...


2

The document IDs are assigned and updated based on a timer job. If deactivating and then activities the job did not update the Document IDs with the new path and info, I would focus on reviewing the status and result of the Timer Jobs. Please note that these jobs run daily by default, though they should also be triggered by the activation process. If they ...


1

Can you specify what "does not update" constitutes? MS Office documents have some properties that can be promoted to SharePoint columns. These include for example the Title field. If that field is updated in SharePoint via 'edit Properties' it gets promoted to the actual document property and vice versa. But, for example, the Author of an MS Document is not ...


2

Instead of "having a meeting" and "forward a document to each department manager to specify the following..." I would arrange a workshop. The goal of the workshop would be to educate users of what a SharePoint Document Library is, and of what benefit it can be for it's users in the first place. Users would test the use of a document library themselves, to ...


0

After some investigation i understood the issue, it seems that the editcontrolblock is rendered by javascript and basically server side you can't do much. And there is no way doing that. Hope this helps someone in the future!


2

SOLUTION: you on x64 bit machine so solution is that there is no problem but you are using the wrong IE shortcut. There are different IE versions you have on 64bit, you will see.. •Internet Explorer (64-bit) - won't show any sharepoint add-ons and wont work •Internet Explorer (No Add-ons) - won't show any sharepoint add-ons and wont work •Internet ...


1

I resolved my issue by using EnabledScript property in Custom Action. I verified whether current list is my custom list and enabled the button. For the rest of the lists the ribbon button will be shown but disabled. I referred this link.


0

It is hard to scope a Custom Action more than on a content type I am afraid. Is javascript in a content editor webpart on the page that displays the one list an alternative? See this link for all information regarding different registration types for Custom Actions http://blog.alexboev.com/2011/12/registrationtype-registrationid-in.html


2

In this case I would recommend you to add the new department names to the manage metadata store and merge the old departments with the new values. You shoul check out the following blog post http://term-management.com/2012/10/11/merging-terms-in-the-sharepoint-2010-term-store-2/


0

What I wound up doing since the "Document ID Generator" events (4 of them) don't get copied over on an export/import was I added the declaration of the 4 EventReceivers in the Elements.xml file of my feature and its now working.


0

A list item could instruct the Document Id feature NOT TO re-generate its Identifier - this is controlled by a property known as PersistID column (column is hidden, does not render in views either - you would need a SharePoint Manager 2010 to look at it). Usually during move operations, SharePoint Server 2010 keeps the document ID, and only copy operations ...


2

This permission is managed by the Browse Directories permission level. See http://davidlozzi.com/2012/06/21/read-only-users-cannot-access-sharepoint-via-web-dav/ for an opposite scenario (allowing users to access this path).


2

Check Site Collection Administrators group. Check Web Application Permission Policies so that these users aren't included in a policy granting them read/write permission to the web application.


1

You need to add few permission roles, follow steps below, The steps for configuring SharePoint Server role permissions are as follows: On the RMS server, navigate to C:\Inetpub\wwwroot_wmcs\Certification. Right-click the ServerCertification.asmx file and choose Properties, and then click the Security tab. Click Edit and then Add. ...


1

Native Sharepoint way to populate items in list instance is using construction (more info): <Data><Rows><Row><Field> But it isn't fit for document library and adding folders. Check this post that describes how to implement custom solution that populates structure of folders from xml file.


0

So after I Checking some solutions. I decided to create a "custom code solution".... I Use the Eventreceiver and attach to them the ItemUpdating Event. The code look like that. public override void ItemUpdating(SPItemEventProperties properties) { // Is Versioning if (properties.Versionless.Equals(false)) { // ...



Top 50 recent answers are included