Tag Info

Hot answers tagged

4

I'd highly discourage doing this kind of operation. Even though reads from the content database only makes your installation unsupported as long as they are occuring, you shouldn't do them. The problems you'll run into are: You are very likely to affect SharePoints operations in unsupported ways remember you can't even read without introducing locks You ...


3

I am not sure you can do that with folders, but should consider using Document Sets because they do share metadata with subitems. About documents sets Document Sets is a new feature in SharePoint Server 2010 that enables an organization to manage a single deliverable, or work product, which can include multiple documents or files. A Document Set is a ...


2

You can remove the workflow association temporarily from the list. Following option is available in the List Settings. Select No New Instances to prevent new instances of this workflow from running but still allow for running instances to finish More information: http://technet.microsoft.com/en-us/library/cc262779.aspx Once you are done, you can restore ...


2

You might be able to do this with a Workflow in SharePoint Designer, which is triggered when the document is added to the library, and sets a field (your metadata field) to the name of the current list.


2

It's there now. I think it was the combination of needing documents in place and a full system crawl, before the crawled properties appeared in the properties store. For others: such properties in SharePoint will appear with the prefix ows_. In fact, there can be a couple thousdand of these, most taken from the default SharePoint infrastructure. Several ...


2

I am assuming you're using MOSS or WSS 3.0 and not SPS/SPF 2010 as this opens up a whole other managed metadata scenario. You are going to want two lists for your subject and courses metadata, and two matching lookup site columns for these lists. These can then be used in your document library(ies) as custom columns. The cascading lists can be achieved ...


2

As an addendum to Abe Miessler's answer, I have a slightly modified version. You only need to call _context.ExecuteQuery() once and I define the ListItem fields to return after the item.Update(); _context.ExecuteQuery() statements. public ListItem UploadDocument(String fileName, String filePath, Dictionary<string, object> metaDataList) { ...


2

Can you use Microsoft.SharePoint.Client.File instead of just FileInformation? If so try the method below: public Boolean UploadDocument(String fileName, String filePath, List metaDataList) { SP.ClientContext ctx = new SP.ClientContext(“http://yoursharepointURL”); Web web = ctx.Web; FileCreationInformation newFile = new ...


2

What are you attempting to accomplish? Reading SharePoint databases can cause locking problems. Writing to SharePoint databases will put you in an unsupported state. See KB841057


2

You could write a simple console application that would do it for you through the SharePoint Object Model. You could also do it with PowerShell.


1

Another option would be to hook into the list via SQL Server Reporting Services and create a reporting endpoint. This would then allow you to secure the data as you want, fetch the data in a supported way and provide the users the functionality they need. Access to the report is secured through SSRS and then within the report itself, you can dictate who is ...


1

Microsoft does not support accessing SharePoint database directly via SQL. As @Trevor said, it will put your environment in an unsupported state and we (in this community) cannot provide you any guidance that would result in such. Sometime ago I did write a blog post about how to access SharePoint data via the SharePoint object model in an SQL CLR ...


1

The only way I know is to create your own "event receiver," a software development task.


1

The "Conditions" are not triggers, but are evaluated when the workflow runs to determine if the Steps within them should be executed. For a SharePoint Designer Workflow, the only thing you can do is set the workflow to start when an item is added/updated and then check to see if the field is filled. If you only are allowed to change the other list the first ...


1

Microsoft only mentions in the software boundaries and limits specification for SharePoint that this column can be added 96 times to a SharePoint List or Library (SP2013 and SP2010).This is the only restriction that's available from Microsoft about this column: http://technet.microsoft.com/en-us/library/cc262787.aspx Otherwise you would need to test it on ...


1

You can use an event receiver instead and handle ItemEditing or ItemEdited event - it provides BeforeProperties and AfterProperties. And it's more natural to use an event receiver for such a short fully automatic task as email notification.


1

Place all the metadata columns in a view and Export it to a datasheet or access, then do a side by side comparison of the data perhaps.


1

There are several third party tools that let you do bulk import and bulk metadata setting, with some automation, including DocKIT, RoboMETA, and Classifier. Since you are adding metadata and importing a very large number of documents, do you really want to put them all in the same document library? There is a limit in 2007. You might look into in the ...


1

I think you could set the Workflow to Manual temporarily and then update your documents. Should be a quick fix with SPD.


1

I imagine you could also set the Workflow to initiate only when new items are added to the library. Make sure you don't run on when items are modified.


1

This can be done using SharePoint Designer workflow and quick parts in Word. OK, this is what you do. Create a document template and save it. Then add it to a document library as a content type. Then create the document library columns that you want popluated. Once this is done, edit the word document from SharePoint and in the quick part fields you will see ...


1

You can create new document with the help of SharePoint workflow. Built-in activities has no functionality for Office documents processing, but you can try to do it with our product: http://www.harepoint.com/Products/HarePointWorkflowExtensions/ We have the set of 170 ready to use workflow actions that can do anything ;) WBR, Alexander


1

You cannot do this. The New item form is just an asxp page that allows you to enter data about the file in the library. The file needs to get created somehow and you will have to open the application to make the file, sharepoint won't do this for you. In your example, an Invoice could be either an InfoPath form (preferable) or a Word Document (less ...


1

I am answering my own question here, but the code fragment in the question appears to be the best way to deal with copying meta data. A variant of this has been part of one of our products for 2 years and we are no longer receiving support calls about it since we changed to this logic.


1

I havent run into the problem you are describing, but i got a few comments to the logic: It seems a bit risky to just check for X at the end? (also whats with the "== false"? whats wrong with !expression ;-) What happens if you get a non-Office 2007 extension that ends on X? Example XMX is a type of AutoCAD file. What happens when you get an Office 2007 ...



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