.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

Copy Attachment from List to Document Library

Posted By:      Posted Date: September 07, 2010    Points: 0   Category :SharePoint
 
Is it possible, to do that. I always get an error : The workflow could not copy the item. Make sure the source and destination lists have the same columns and column settings. I would like to  copy attachment if  new list item has one, after is created. In workflow, when I chose Document Library, there is filed name: Path and Name (*).Borut


View Complete Post


More Related Resource Links

Cannot copy document to other library

  
When I try to send a document to another SharePoint library (Send To>Other Location) I am receiving a blank message box.  Does anyone have an idea what the empty message box is about or why this error is occurring?  Thank you!

Check-out issue when opening a document from a document library when a read-only copy is open

  
We have an issue when a user has a read-only copy of a document from SharePoint open and then tries to check-out and edit another copy of the document (i.e. from the document library) the checked out copy is not connected to the web server. For the user it will look the same they will make edits, save and then close, but when they do so the document is not updated in SharePoint - it may be saved locally in their SP drafts, but the user will think that they have lost their version. We then get the checked out to another user error and you have to discard changes to get the document working again. Steps to reproduce this issue: * click on the name of a office doc on a Document Library * Make sure "Read Only" is selected and click "ok" * Minimize open document * click on the same file on the Document Library * Make sure "check out and edit" is selected and the "Use my local drafts folder" checkbox is ticked. Select OK. * Edit document and press save. Changes are never saved back in SharePoint, they are only on the local draft. We are using MOSS with SP2. Clients are on Office 2003 and 2007 Is this normal behaviour? Is there anything that can be done to prevent this from happening?

How to modify dropdown document template list order when creating document library?

  
when creating a new document library, the first template is the one for word 2003. Can we change that to word 2007 one? thanks,

Powershell script to copy a list attachment to a file

  
I have a script that builds a list of items.  I'd like to add the ability to download the list items' attachments to a local directory.  IS this possible?  There are lots of examples of how to add attachments but nothing that can download the attachments.  Any help would be appreciated.

Item/Document permissions affect Library/List permissions

  
When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

InfoPath list definition of type Document Library

  
Is there a way to create a list definition that is a document Library and deploy to SharePoint 2010 that is based on a InfoPath form?  Meaning that it will deploy and if I select the "add new item" link it will automatically open a new InfoPath form that a user can submit?  I have the infopath forms created already but I need a way to create the form library through visual studio so I can promote through our test and production environment and have it automatically and deploy to the different environments and create the proper list structure. 

Querystring to determine what Document Library Folder's files to list?

  
First of all, any webpart that alllows you to list documents in a particular folder of a Document library? Second, possible to pass what folder to list via a query string to  that webpart ? Thanks.

How do you sort the library list under "Document Library" ?

  
How do you sort the library list under "Document Library" ? I am using SharePoint Service 2007. So far my SharePoint page is still mostly default and haven't gone far yet. The library LIST under Document Library, named "Document" are all not in order. It just keep adding to the last one in list. I am not talking about the folders or files under each library. I am talking about the Library list on the left hand top side below the section called "Documents". I can't find a way to sort it..... HELP    

List lookup to document library not showing folder names

  
Hi all, I've got a Sharepoint List, which has a lookup field to a Document Library on the same site. That document library library is populated with several folders, each with several Word documents within. I want my lookup (in the List) to only display the top level folders in the document library. I managed to do that in my test environment. But in my production environment doesn't list the folder names. I've compared the settings in the two and they look identical. What could be wrong, and how to I fix it so that the folder names appear? I'm using SharePoint 2007. Thanks in advance for the help.

How to hide/remove "Alert Me" action menu item from Custom List/Document Library?

  

Hi All,

 

I am using Sharepoint 2007 (MOSS).

I want to hide/remove "Alert Me" action menu item from Custom List/Document Library for my Sharepoint site.

 

any help will be appreciated.

 

Thanks...


SharePoint 2010: Importing a list or document library into a NEW list or library (.cmp)

  

Hello All,

I am trying to migrate from SharePoint 2007 to SharePoint 2010.  My company's current setup has seen very limited use because we have previously been a mulitple-content-management provider shop, but there are some content items we wish to re-use.  We also want to completely redesign our SharePoint setup to better suit the needs of our business, and the various departments.

My problem, therefore, is the seeming fact that you can apparently EXPORT granular backups down to the list and document library level, but when you try to IMPORT those lists, it gives you static.

Steps:

Database-Attach upgrade MOSS2007 content databases into a SharePoint 2010 web application

In Central Administration | Backup and Restore | Granular Backup:  Export a site or list, choosing whichever list from a site that has content in it.

in PowerShell, attempt the command Import-SPWeb -identity <url|GUID> -path <location of .cmp file created above> -force -verbose

I have attempted looking up the list in the content database for the new site to find its GUID, and also putting the URL of the list, down to the .aspx page it is viewed at.

So at this point I am wondering if what I am trying to accomplish is even possible with out-of-the-box SP2010 functionality.  Is it?  If not I ask the universe "wh

SharePoint 2010: Importing a list or document library into a NEW list or library (.cmp)

  

Hello All,

I am trying to migrate from SharePoint 2007 to SharePoint 2010.  My company's current setup has seen very limited use because we have previously been a mulitple-content-management provider shop, but there are some content items we wish to re-use.  We also want to completely redesign our SharePoint setup to better suit the needs of our business, and the various departments.

My problem, therefore, is the seeming fact that you can apparently EXPORT granular backups down to the list and document library level, but when you try to IMPORT those lists, it gives you static.

Steps:

Database-Attach upgrade MOSS2007 content databases into a SharePoint 2010 web application

In Central Administration | Backup and Restore | Granular Backup:  Export a site or list, choosing whichever list from a site that has content in it.

in PowerShell, attempt the command Import-SPWeb -identity <url|GUID> -path <location of .cmp file created above> -force -verbose

I have so far been able to import the list data, and unfortunately the web forms etc. that come with it.

I have a problem with that because I believe the .aspx pages that are copied in cause massive errors (I can no longer view the site after import).

Specifically, the problem: importing the absences list from a MOSS2007 Fab40 Absence tracking p

Custom document library list template issues with custom content type

  

Either I don't know what SharePoint is doing or I don't know what I'm doing (or both, which is more likely).

I'm attempting to create a Custom Document Library template with a custom content type association (Custom Document), all using a feature. When I create
a document library based on the installed template, the content type association is there. However, when I click on New Custom Document, the template.dotx does not reflect the Custom Document content type association. The Word document information panel does not show any Custom Document content type properties (like Title and Comments).

Here are the steps I've taken:

1. Create the feature.xml with element manifests of contentType.xml and CustomDocumentLibrary.xml
2. Create the contentType.xml (Custom Document) with an additional field reference for Comments
3. Create the CustomDocumentLibrary.xml for the list template
4. Create a Custom Document Library subfolder that contains the same files that are in the 12\TEMPLATE\FEATURES\DocumentLibrary\doclib folder.
5. Edit the schema.xml to use the new content type and field reference
6. Deploy and activate the feature
7. Create a new "Custom Document Library"
8. Go to Custom Document Library Settings and verify the Custom Document content type is being used
9. Click on New Custom D

Compare InfoPath Form Field to Document Library list in SharePoint

  

I have an infopath form that has a field that matches values in a SharePoint List. In the SharePoint List I have two fields, One is email and the other is the field I am trying to match on. When the form is submitted I want to take that field from the form and compare it to the SharePoint list and return the email that is associated with that list item. Can this be done?? I appreciate any assistance. Thank you.


Code to move the document from List to Library

  

Hi,

I have attachment in sharepoint list, i have more than 3000 attached document in this list. Now i want to move those document to Document libray. I want to do it by using Object model, can any one help me out on this with code. Both the List and library are in different Site collection.


Using the "Send To" function to copy SSRS reports (.rdl) from one document library to another

  
We are trying to use the "Send To" function to let users get copies of SSRS reports, but still retain the ability to roll out changes by updating the original.  This would help us have "one version of the truth" but still have the ability to copy reports from one SharePoint site to another.  One reason to have the report on multiple sites is to give users the ability to set default values for the parameters.  IT creates one copy and the users configure it to meet their own needs.

Problem:
Copying the file using "Send To" works.  However, it loses the data source link which effectively kills the copied report.  We have tried this in various forms of permissions and sequences, but experience the same issue consistently.  Obviously, one could re-enter the data source link, but that is not optimal.

We saw the same behavior when we copied the report out of Windows Explorer from library to another.

Question:
Is this is a known issue?  Can it be fixed?  If so, how?

list of documents to be displyed on Home page from document library(MOSS2007)

  

Hi,

i have a task to complete where i wan to display pdf documents from documents library on Home page. and also want to show a MORE link on the bottom when user click on MORE button should display list of all the documents or will redirect to document library.  This is in MOSS 2007.

 

Regards

Shairu


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend