See -
http://office.microsoft.com/en-us/sharepointtechnology/HA101181721033.aspx
By default, you can use the *Send To* command to copy files to libraries
within a site collection. If you copy files from a client computer that has
a program that is compatible with Microsoft Windows SharePoint Services 3.0,
such as Microsoft Office Word 2007, and a browser that supports Microsoft
ActiveX Controls, such as Microsoft Internet Explorer, you can use the *Send
To* command to copy files not only between libraries within a site
collection, but also between different Web applications. If you copy files
from the browser of a client computer that does not support ActiveX
Controls, you will be able to copy files only to libraries within site
collections that share the same domain name (top-level site name) as the
source library.
If you need to copy files to a site that either has forms authentication
enabled or is a secure site (for example, a site with a URL that begins with
https://), you must add the copy destination to the list of trusted sites in
your browser.
I was attempting the exact same 'copy to' as you recently and I could
not get the copy to function correctly between web applications on the same
SharePoint server !   it works fine copying docs within the same site
collection though.

See this - http://blog.funknstyle.com/?p=563 Amanda states that it works
between web apps - but the first comment to the blog post states that they
can't get it to function between web apps.

So in the end I -

1. Developed a custom 'Edit Control Block' item to add my own "Copy to
blahblah" link which would redirect the user to a custom application page I
developed, passing in the list guid and list item id to my custom Copy page.
2. My custom Copy page implements a button and custom code to copy the
document.
3. I made use of the SPListItem.CopyTo() method to do the copy the document,
and I recall I had to set the source SPWeb to AllowUnsafeUpdates=true.  and
I was able to get this to copy the documents to different web apps!
4. It seems quite a lot of people have problems with even using the
SPListItem.CopyTo() method -
http://weblogs.asp.net/erobillard/archive/2008/01/14/translated-solution-to-splistitem-copyto-bug.aspx

In the end after all this custom dev I got it to work fine and can now copy
docs between web apps, and by implementing a custom copy page you have more
control over functionality to lock down parts of it as needed. ie. I check
if the source and destination documents are not checked out before allowing
the copy - and I have locked down the destination copy location from
specific source libraries to specific destination libraries.

The best part is I not only needed to copy the docs but also modify word
document contents. I used the OpenXml SDK and on copying the document I
implemented code to change the document content. ie. swap out text and
images automatically on the copy to keep the same document content but
rebrand it for another business unit.

Sezai


My custom Copy page then had a copy

On Wed, Oct 29, 2008 at 11:30 AM, Kristopher Currie <[EMAIL PROTECTED]>wrote:

>  Hi guys,
>
> I am hoping someone can point me out in the right direction.
>
> I am working with a client at the moment using WSS 3.0. My client deals
> mostly in writing reports and collaborating with other customer departments.
> I have created various Team Sites with attached Document sites..
>
> I have also created a Published Document Library on the Top Level Site.
>
> What I want to do is when a team has finished their collaborated documents
> in their team sites, they can send those documents to the Published
> Documents library, and from there attach these documents to their reports.
>
> When I use the "Send To" option in the Team libraries, it says to state the
> URL that I want to send them to.
> I use the URL of the Published document library, but when I hit okay, an
> error message appears:
>
>
>
> "There were errors copying to this location, ensure the location exists,
> you have write permissions to it and the destination file is not in use."
>
>
>
> The sticking point is that when I test the URL, it comes up with my desired
> destination.
>
>
>
> I am a junior developer and I wasn't present for the initial build on the
> site, has anyone experienced this before, and if so, what area should I be
> looking at?
>
>
>
> Thanks in advance.
>
> Kris
>
> IMPORTANT NOTICE TO RECIPIENT
>
> Computer viruses - It is your responsibility to scan this email and any 
> attachments for viruses and defects and rely on those scans as Communications 
> Design & Management Pty Limited (CDM) does not accept any liability for loss 
> or damage arising from receipt or use of this email or any attachments.
>
> Confidentiality - This email and any attachments are intended for the named 
> recipient only and may contain personal information, be it confidential or 
> subject to privilege, none of which are lost or waived because this email may 
> have been sent to you in error. If you are not the named addressee please let 
> CDM know by return email, permanently delete it from your system and destroy 
> all copies and do not use or disclose the contents.
>
> Copyright - This email is subject to copyright and no part of it maybe 
> reproduced in any manner without the written permission of the copyright 
> owner.
>
> Privacy - Within the jurisdiction of Australian law, personal information in 
> this email must be dealt with in compliance with the Australian Federal 
> Privacy Act 1988.
>
> -------------------------------------------------------------------
> OzMOSS.com - to unsubscribe from this list, send a message back to the list
> with 'unsubscribe' as the subject.
> Powered by mailenable.com



------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com

Reply via email to