Tag Info

Hot answers tagged

6

This problem is caused by differences in the SourceID property of the metadata fields. If you compare the value of SourceID on a field of a content type in one library with the same field of a content type in another library you will see that they differ, and they are used inside the Word document when referencing the metadata field. The solution is to set ...


5

After some researching I found this blog addressing "Could not open (url)": http://petervdberg.blogspot.com/2011/01/how-to-enable-save-and-send-option-in.html If you are using Windows 2008R2 this could be solution. I checked my machine and 'Desktop Experience' feature was already installed so I was unable to reproduce your problem.


5

Co-authoring will be revolutionary I reckon, it's in my 'top 5 drivers for clients to upgrade to 2010'. In answer to your questions: SharePoint Foundation is fine. Yes web and rich client (i.e. Word 2010) both support co-authoring, the experience is basically the same from what I've seen. Probably, but remember that whoever hosts the functionality also ...


4

No, because the SPServices Cascading dropdowns functions on list forms. To my knowledge, you can't specify metadata before creating a document. You could require check in/out on the document library to force an item be checked in before being available and this would let you use the SPServices cascading dropdowns since that's effectively an editform. I'm ...


4

Not sure about other examples but this one works for me (using application page) Application page markup contains: <input type="file" id="InputFile" runat="server" class="ms-fileinput" /> Code behind (eg. on button click): var fStream = InputFile.PostedFile.InputStream; var fileName = InputFile.PostedFile.FileName; var contents = new ...


3

If you run your farm on least privilege settings, you can get the above error. Be aware of the security demand for the Word Viewing Service are quite high: When you create a new application pool, you can specify a security account that is used by the application pool to be either a predefined Network Service account or a managed account. The account ...


3

The following fix should resolve the issue: http://www.microsoft.com/downloads/details.aspx?FamilyId=17C36612-632E-4C04-9382-987622ED1D64&displaylang=en What platform are you running on?


3

This can be done, but you need to use one Content Type for each template needed. Create a new content type. Give it whatever name you would like, but set dropdown properties as defined. Would suggest to define a group name for these content types (I used Test Type with Template). Next go to the Advanced Settings for this new content type. This is ...


3

You do not have access to the DIP in Office Web Apps. Since you're using the web UI already it's easy to go the the item in the library and change it's properties there. If you need more advanced DIP's (for instance built with InfoPath) then you need to modify the edit, new and view forms of the page to get the "same" experience as in the full fledged Office ...


3

That is just the way it is in my experience when the library is set to not require check out, which is the default. Even if check out is not required, you can check any document out to put a file lock on it so others can't make changes while you have it. Try toggling the library option to require check out and see if that makes any difference.


3

I have not seen anyone create a workflow capable of converting word files to PDF out of the box, but i have seen third party solutions that enable workflow features like this in SharePoint. read this link, http://blog.muhimbi.com/2012/02/convert-document-types-using-pdf.html


2

I looked at this once for 2007, but I must confess I've not tried for 2010. The best advice I can give based on my 2007 experience is: to create a Word Template that restricts the styles a user can use. avoid images entirely. don't be afraid to consider 3rd party converters - or writing your own. if you've already got those Word files full of content, ...


2

It's actually possible to rename/move a file, but you must do it programmatically using client object model or server object model - File.MoveTo Here is an ugly example (didn't test it, might be some typo): using Microsoft.SharePoint.Client; .... using(var ctx = new ClientContext("http://yoursharepoint/web_containing_library/")) { var lib = ...


2

I don't see how this would be possible as changing the file type from DOC to DOCX would create a new item...i.e. you can't change the name of a SPFile object. Your best bet is to probably write some code or a script to convert the docs as you migrate them to a new library along with their metadata and then retire the original doclib.


2

Now to do the same thing with code. I am taking from your question, that you can create the custom content type in code. Just in case, here are links to two options, one through code and using the list definition. I am also going to guess that you need to deploy this using a feature, which is why you need to use visual studio. The code option makes the ...


2

One option is to use an alternate CSS to modify the print view of SharePoint pages. By stripping out much of the SharePoint specific stuff, and using special tags in your HTML columns you may be able to load it successfully into word (or just print directly). Some custom options to get to word: ...


2

It is very easy to create a control or a web part and place it on the page. The control would contain a button with code behind that uses OpenXML to generate the Word document. I've done similar things and it's very easy. Just create a Word document using Word and format it as you like, then use the Document Reflector from the OpenXML SDK v2+ to generate a ...


2

Since you are on a hosted 2007 environment server-side PowerShell and C# are out of consideration. Your best bet is to use jQuery to retrieve the Wiki article content via the lists.asmx Web service. IIRC, there is a jQuery SharePoint Web service library on www.codeplex.com which could be helpful, but I never tried it myself.


2

Not 100% sure what you mean by "She wants the document opened as a new (macro enabled) document as if the word template were opened in Windows Explorer", but what I think you need is Content Types. Create a custom Content Type (based on the Document content type as the parent) for each document template you want to have. Then in the Content Type settings ...


2

Found this: Created a new column in the library with the name "_Author" (mind the _ sign) and the data type single line of text. This will show the Word Author property. Good enough for me. I also found this on the Technet forums but I don't see a custom property "Author0" in the Word properties, so could not recreate that solution.


2

For technical documentation, a wiki is much better, as you can easily interlink documents, add customization, and create a much better user interface. Word documents can be frustrating for technical documents especially for code snippits and things like API's. Wikis can handle code and structured formatting while word / pdf documents are well...documents. ...


1

I presume you have the SharePoint 2010 SP1 & Office 2010 SP1 upgrades, etc. The issues may be addresed by Adding SharePoint site to Trusted Sites zone (browser security) File associations: doc, docx, xls, xlsx with Word & Excel (see links below) Examine File Extensions and File Associations in Win7 Managing file associations in Win7 If file ...


1

In a previous role I did some work to bring SharePoint 2007 list data into Word as a VB macro calling the SharePoint web service. I'd imagine a similar approach would work here. With 2010, you could possibly make it a bit more elegant with REST, but I'd imagine the fundamental principle would work.


1

Although I have never tried myself, I know you can leverage SharePoint's documnet conversion service to convert docx files into web pages. First, you must enable the service. You may follow this link. You can also create your own document converter. You can get started here: SharePoint Server 2010 Document Converter Development Overview (ECM) Also, there ...


1

Yes it is possible in Office 2010. You have to set the Excel file up as a data connection for your chart data in Word and then specify which worksheet to use. The caveat to this approach is that you are now embedding the URL to the SharePoint server in your Word document, which effectively hides it. This means that if your SharePoint server changes URL ...


1

I will say: switch to PowerShell! Now! I see one other option to retrieve desired document template without opening all documents - use SharePoint List web service: http://<Site>/_vti_bin/Lists.asmx If you call Lists.GetListItems Method and provide CAML query like: <Query> <Where> <Eq> <FieldRef ...


1

If the Template ID is a column in the list, why do you need to open the template? I assume you mean the Template ID is a property of the document. I suggest you look into syncing your column values with Word doc properties. Check out this link for more info. http://weblogs.asp.net/bsimser/archive/2004/11/22/267846.aspx Once you have the values synced, you ...


1

Here's one way I've been able to "convert" a DOC to DOCX, although it's all manual, is to Open the doclib in Explorer view/open in Explorer Open the file in question (check-out if needed) "Convert the file" Save the file locally Rename the file extension in Explorer view (if you have it opened in Word, SP will complain that the file is locked) Upload the ...


1

It looks like StreamAccessor is a read only process. I'm not sure you could implement it in a custom BDC model and have word pick that up (the save method), you may need to look at VSTO, and leveraging a new method of saving back into the external system from the client. VSTO does have a method that supports intercepting the "save" commands. ...



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