SharePoint 2013 List & linked Document Set Project Help Needed

I have struggling to find the best solution for a recent project. I'm sure someone will have a better suggestion than what I have come up with.
Project Requests
Project Tracking and Documents
Status and other data
Project Documents
Offsite Syncing for active projects (SkyDrive Pro)
Attempted Scenario
1 List for Project Tracking
1 Document Library for Project Documents (Document Set content type)
I created a workflow to automatically create a new Document Set when an item was added to the list, then create a link to the Document set in a column called Documents. The goal with the document sets is to have them sent to another library (archive) when
the project is marked complete. The reason is so that the user synching offline won't have so many document sets to sync or to browse through (there would easily be a few hundred within a couple of months)
Is there a way to programmatically move the document set to an archive library when the list item status is set to complete?  And if the status were to change back to active, to move back to the active library. 
Or maybe I am going about this the wrong way entirely?  All suggestions are greatly appreciated! 

Hi,
With Event Receiver, we can capture the ItemUpdated event of item of a list when the value of an item is updated, then perform the Document Set moving accordingly.
Here is a step by step sample on creating a simple Item added event receiver for Custom List in SharePoint 2010:
http://msdn.microsoft.com/en-us/library/ff398052.aspx
More information on
Event Receiver for your reference:
http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
Here is a thread with code demo about
moving Document Set programmatically:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/1e8b1110-a719-4825-a300-cc1946f4d96a/document-sets-move-programatically
Feel free to reply if there are still any questions.
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • SharePoint 2013 REST Create "document set" folder

    Hi,
    Is there a way in rest api model to create a "document set" folder into a Library?
    I have already created a folder through this code :
    body: { '__metadata': { 'type': 'SP.Folder' }, 'Name': 'New name' }
    Do i need to use another namespace ? Or do i add new properties into the body section ?
    Regards.

    Hi,
    you could see below a part of my code which works : a CRM's plugin create a document set on a SharePoint online document Library.
    I have to use the "/_vti_bin/listdata.svc" instead "_api". Don't forget to add the "Slug" header.
    try
    Uri spSite = new Uri(https://contoso.sharepoint.com/sites/MySite);
    SpoAuthUtility _spo= SpoAuthUtility.Create(spSite, "[email protected]", WebUtility.HtmlEncode("pwd"), false);
    var formDigest = _spo.GetRequestDigest();
    headers = new Dictionary<string, string>();
    headers.Add("X-RequestDigest", formDigest);
    headers.Add("Slug","https://contoso.sharepoint.com/sites/MySite/Projects/MyDocSetName|0x0120D520007A233E5B7896684DA77F0B084D0FE117">https://contoso.sharepoint.com/sites/MySite/Projects/MyDocSetName|0x0120D520007A233E5B7896684DA77F0B084D0FE117");
    restQuery = "/_vti_bin/listdata.svc/Projects";
    url = new Uri(String.Format("{0}/{1}", _spo.SiteUrl, restQuery));
    byte[] data = System.Text.Encoding.UTF8.GetBytes("");
    // Send a json odata request to SPO rest services byte[] result = HttpHelper.SendODataJsonRequest(
    url,
    "POST", // reading data from SP through the rest api
    data,
    (HttpWebRequest)HttpWebRequest.Create(url),
    _spo, // pass in the helper object
    headers
    catch (FaultException<OrganizationServiceFault> ex)
    throw new InvalidPluginExecutionException(ex.Message.ToString());
    Regards.
    Gilles Martinez
    Twitter
    Blog
    Please mark as helpful/answer if this resolved your post

  • Archiving of spool requests (ERS documents) Apprentice Project HELP needed..

    Hi guys,
    I'm an apprentice from Germany and I have to do a project for my final exams. I could desparetly Need some help on getting started.
    In our SRM, we have a program for the Generation of ERS documents (credit note?).
    Firstly, the Programm BBPERS creates ERS Idocs on Basis of stock-receipt (?). Secondly, the program RSPPFPROCESS sends the ERS invoice to the supplier via mail.
    The document is saved only as an email.
    We do have a Z-Programm, ZZBBPERS, that is used for subsequent creation of ERS documents as PDFs. These are saved in the Spool, but for each invoice a different spool number is created.
    Now my Task is to find a way to Archive these ERS documents into an external Archive. We use d.3 as Archive, I don't know if you have heard of it. But that shouldn't matter right now.
    So the question is, how can this be achieved? I don't really know anything about archiving in SAP. And this is a very Special case. Where do I have to start? Do I Need to write a program, or can I use some of SAPs Standard possiblities? What programs are there for archiving spools? Can they be defined as only archiving Spools from program X? Where do I define archiving procedures?
    I hope some of you can get me started. I don't Need a perfect solution right off the bat, just a place to start and ideas how to Approach this Project.
    Thanks SO MUCH in advance for any help!
    Greetings,
    Sebastian

    Thank you so much, this brought me a leap Forward.
    So the Business object should be the BUS2207, right? This is our Business object for ERS. We don't have BUS2081, what is that?
    edit: Wait, what is the difference between Business Object and Archiving Object? We do not have an archiving object vor ERS.
    To clarify: We do not book in SRM, we are sending it per Idoc to another SAP System where the booking takes place.
    We are just creating the PDF out of the BUS2207 and sending it to the vendor via RSPPFPROCESS and Action "BBP_ERS".
    Can you tell me where I can see detailed Information for the Archive Connection? I have the entry in OAC0 with IP address and all. But we have no records of ever archiving in this System so how can I see Connection details and test it?
    I also have to analyze if ArchiveLink is already set up and working..
    Also, where do I define how the files are saved in the storage System? With this I mean like in which Content repositories / Folders and so on they are saved.
    What Information are given to the PDF? All document informations, like Dates invoice number and so on? How can I use them for my Archive structure?
    Thanks in advance.

  • How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM.

    How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
    done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.
    shiv

    Nice, can you point me to the solution please ?
    I'm  trying to do this but I get an error : 
    Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
    StackTrace:    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)     at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)   
    All help really appreciated.

  • Unable to get the SharePoint 2013 List names using Client object model for the input URL

    Please can you help with this issue.
    We are not able to get the SharePoint 2013 List names using Client object model for the input URL.
    What we need is to use default credentials to authenticate user to get only those list which he has access to.
    clientContext.Credentials = Net.CredentialCache.DefaultCredentials
    But in this case we are getting error saying ‘The remote server returned an error: (401) Unauthorized.’
    Instead of passing Default Credentials, if we pass the User credentials using:
    clientContext.Credentials = New Net.NetworkCredential("Administrator", "password", "contoso")
    It authenticates the user and works fine. Since we are developing a web part, it would not be possible to pass the user credentials. Also, the sample source code works perfectly fine on the SharePoint 2010 environment. We need to get the same functionality
    working for SharePoint 2013.
    We are also facing the same issue while authenticating PSI(Project Server Interface) Web services for Project Server 2013.
    Can you please let us know how we can overcome the above issue? Please let us know if you need any further information from our end on the same.
    Sample code is here: http://www.projectsolution.com/Data/Support/MS/SharePointTestApplication.zip
    Regards, PJ Mistry (Email: [email protected] | Web: http://www.projectsolution.co.uk | Blog: EPMGuy.com)

    Hi Mistry,
    I sure that CSOM will authenticate without passing the
    "clientContext.Credentials = Net.CredentialCache.DefaultCredentials" by default. It will take the current login user credentials by default. For more details about the CSOM operations refer the below link.
    http://msdn.microsoft.com/en-us/library/office/fp179912.aspx
    -- Vadivelu B Life with SharePoint

  • Power Pivot 2013 Using SharePoint 2013 List as Source Data

    Background: On a SharePoint 2013 site, there are lists that have the exact same columns but due to their size I had to create a different list for each year.
    These are essentially my data lists or tables that end users enter data into. These lists have look up columns in them, referencing columns from look up lists or tables located on the same site.
    Goals:
    1) Create a Power Pivot Gallery on SharePoint 2013 that is able to leverage the "manage data refresh" feature using the SharePoint 2013 List data that is on the same SharePoint 2013 site.  
    2) Combine all the data lists/tables into one table once in Power Pivot 2013. The Look Up lists/tables will remain separate.
    Challenge: Being able to merge or do a union query to the "data lists" and still maintain the ability to leverage the "manage data refresh" feature. 
    This is a tactical, quick fix solution, and I
    cannot use SQL Server and am operating under the assumption that I do not have Access Services 2013 as an option.  
    Failed Attempt #1: What I already tried was linking the lists to an Access 2013 database and did a Union query from Power Pivot which merged the data from the different data tables
    as I wanted it to. Then I uploaded that Access Database to a document library on that same site, thinking that I could maintain the ability to leverage the "manage data refresh" feature but I was wrong.
    Any thoughts or suggestions? 
    Thanks in advance for any help!
    Cheers, Johnny
    Johnny

    You can connect to SharePoint Lists using Power Query (and of course Union multiple Lists and more using Pwer Query) - but Automatic refresh would not work with SharePoint. Power BI (Cloud service) allows auto refresh of Power Query, but not on SharePoint.
    Hopefully some day soon.
    Regards, Avi
    www.powerpivotpro.com
    Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response

  • Open Edit form directly when list item is clicked in Sharepoint 2013 list

    Hi,
    I have a list web part, wherein the user clicks the item it should open in the Edit form directly. various forum i checked was for SharePoint 2010, as we do not have design mode in SharePoint designer 2013, I am unable to do.. I know
    if I the change the form type from default page to edit page, it will work, but not sure about how to go ahead. Could anyone help me to achieve this please....

    Sunitha,
    You can do this with some jQuery and JavaScript.  Look at this post:
    http://brandonatkinson.blogspot.com/2013/11/open-sharepoint-2013-list-items.html
    Basically, add a Script Editor Web Part to the page and include this snippet:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
    <script type="text/javascript">
    $(function() {
    // Change all display form links to edit form links
    $('.ms-vb a[href*="listform.aspx"]').each(function(){
    var link = $(this).attr('href');
    link = link.replace("PageType=4", "PageType=6");
    $(this).attr('href', link);
    </script>
    Brandon Atkinson
    Blog: http://brandonatkinson.blogspot.com

  • How do I pull SharePoint 2013 list data using a SQL Query

    I have been asked to write a sql query to pull data from a SharePoint 2013  List.it needs to return all the columns
    Basically a Select all from the specific SharePoint list Database
    I do have the  list GUID ID. But not sure  which  SQL Table or Database to look in for list data.. the site and the list is in our main SharePoint site collection.
    the query only needs to be saved in SQL server

    I know it isn't support but sometimes you have to share data with other programs....
     I'm stuck.. I was able to get this far...
    SELECT * FROM dbo.Lists
    where tp_Title ='List Name'
     how do I pull the columns of the list?
    I think I still need the specific list not just the master list dbo....
    those two links do not work for SQL server  and SharePoint 2013

  • How to have profile thumbnails image appear in a SharePoint 2013 list?

    Hello,
    I am not using MySites, but have a SharePoint 2013 list with profiles in them.  They were imported from Active Directory, where I do have thumbnail images for each profile.  I am using SharePoint 2013.  How would I get these images from AD
    into the SharePoint list?  I have the attribute setup in User Profiles Synchronization, but the images did not show up.  I followed these steps in this posting, but I did not do the PowerShell step, since I am not using MySites. 
    http://richardstk.com/2013/04/12/import-user-photos-from-active-directory-into-sharepoint-2013/
    How can I get these images imported to this SharePoint list?
    Thanks,
    Paul
    Paul

    Hi Paul,
    Thanks for posting your issue, Kindlt run the below mentions script to get the profile picture in List view
    Update-SPProfilePhotoStore –MySiteHostLocation
    http://mysites –CreateThumbnailsForImportedPhotos
    $true
    Also, browse below mentioned URLs for more details on this
    http://technet.microsoft.com/en-us/library/ff607547.aspx
    http://blog.blumshapiro.com/blog/2013/05/13/adding-pictures-to-active-directory-and-show-in-sharepoint-2013/
    http://spsawyer.wordpress.com/2013/07/31/sharepoint-2013-user-profile-photo-sizes/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • SharePoint 2013 List - Multiple Data Types in the Same List

    In the same SharePoint 2013 list in Data Sheet View, I want to have one column where my end users enter inputs for KPIs. There are 3 groups of KPIs (A, B and C) and they each have different data types (A-string, B-decimal, C-percentage) and I want to be
    able to base their input options off of the KPI type
    Does anyone have any suggestions on how I can leverage my parent-child relationships so when an end user...
    1. Picks KPI type A, they can select from a choice filed (Green, Yellow, Red)
    2. Picks KPI Type B, they can enter a decimal (-1.000 to 2.000)
    3. Picks KPI Type C, they can enter a percentage (-100.00% to 100.00%
    I'm using if I want to keep this in one list, one column and in data sheet view that the out of the box solutions won't meet my requirements. I was looking at some solutions from Bamboo (Lookup Selector Column) but don't think that applies here.
    Thanks!
    Johnny

    Hi Johnny, you can accomplish this using cascading lookups in InfoPath if that program is available to you. Otherwise, if you want a 3rd party product, we use the Kwiz cascading lookup and it's worked wonders for us:
    http://www.kwizcom.com/sharepoint-add-ons/sharepoint-cascading-lookup-plus/overview/
    Note: I have no relationship with Kwiz, just vouching for the product.
    cameron rautmann

  • Sharepoint 2013 list view quick edit does not work with out remote API permissions

    sharepoint 2013 list view quick edit does not work with out remote API permissions.
    When I give Use Remote Interfaces  -  Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site it works which is not an ideal situation..
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    This is true. If you use Fiddler to watch the requests from the list view quick edit you can see CSOM calls. For example when changing a value in a cell, when you tab out you will see the SetFieldValue and Update method calls on the list item.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Workflow not triggering when changing Item-level Permissions in Sharepoint 2013 list

    Scenario:
    We have a custom list in Sharepoint 2013 that we use for Case Management. We have a workflow that triggers on a created item generated from an email. The user then gets a reply with a link to his own case.
    I want the users only to be able to see their own cases and no one elses.  When I change this under
    Advanced Settings under List Settings and
    Item-level Permissions and set them to Read items that were created by the user
    and Create items and edit items that were created by the user
    the workflow doesn´t trigger.
    How can I resolve this? I've tried every possible out-of-the-box permissions but with no result. Help!
    Thanks in advance!
    // Browncreek

    When you're testing , remember you cant trigger declarative workflow from the System Account - you need a general user account for auto-trigger workflows.  Good luck!
    Chris McNulty MCSE/MCTS/MSA/MVTSP | blog http://www.chrismcnulty.net/blog | twitter @cmcnulty2000 Microsoft Community Contributor Award 2011
    Hi, I have the same problem. Except that I am not using an email to create a new item. The item is created by members of a SharePoint group that have Contribute access to the list. When use the same settings i.e.
    Read items that were created by the user and Create items and edit items that were created by the user,
    the workflow does not trigger. If I set it back to Real all items and Create
    and Edit all items, it triggers the workflow.
    Please help me resolve as I have rolled this out to pilot users and am having this trouble.
    Thanks,
    Vishal

  • Sharepoint 2013 Online - error while setting up CRM integration

    Hi,
    we use Dynamics CRM 2011 on-premise and Sharepoint 2013 online and since last week CRM integration with Sharepoint stopped working. When I want to set up "Document Management Settings" in CRM administration I got an error
    "An error occured while loading the page. The url may not have been mapped in the Sharepoint server. Ask your system administrator to check the Configure alternate access mappings settings in Sharepoint central administration."
    But we use Sharepoint online, so I can't configure it.
    I think it is common issue after some Sharepoint update in last month, because I tested 2 instances of Sharepoint online with 4 instances of CRM on-premise (3 different versions of CRM 2011 and one last updated CRM 2013).

    Hi  ,
    According to your description, my understanding is that you encountered the error "An error occurred while loading the page. The URL may not have been mapped in the SharePoint server. Ask your system administrator
    to check the Configure alternate access mappings settings in SharePoint central administration" when you want to set up "Document Management Settings" in CRM administration.
    For your issue, please re-install the Microsoft Dynamics CRM 2011 List Component for Microsoft SharePoint Server 2010 and Microsoft SharePoint Server 2013:
    http://www.microsoft.com/en-us/download/details.aspx?id=5283
    Also you can follow the thread:
    http://social.microsoft.com/Forums/en-US/2430e529-1eaa-43c6-8958-f109abe86270/crm-2011-documents-on-sharepoint-online-an-error-occurred-while-loading-the-page?forum=crm
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Sharepoint 2013 / Office 365 Document library item level permissions problem

    Hello,
    I'm looking for a solution to enable users to upload documents to a document library, the ability to view other documents uploaded to the same document library, but able to edit or delete those other documents.
    With a list you can use Item-Level security in Advanced Settings but this is not available for Document libraries. I could use workflows to assign individual permissions to document, but the the library already contains over 2,000 documents and will continue
    to expand so I don't like the idea of having that many individual permissions set.
    Are there any 3rd party plug-ins or solutions to this issue?
    Thanks,

    Try below:
    http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx
    As it turns out the, setting Item-Level Permissions in a library is fully supported with PowerShell!
    The PowerShell commands for changing this are very simple:
    $web = Get-SPWeb http://YourSite/
    $list = $web.Lists[“Your Document Library Name”]
    $list.ReadSecurity = 2
    $list.Update()
    $web.Dispose()
    Note the 3rd line which is where you determine the value for this setting using the following values:
    1 = “Read all items”
    2 = “Read items that were created by the user”
    If you wish to modify the values for Create and Edit access instead, replace .ReadSecurity with .WriteSecurity with
    the following values:
    1 = “Create and edit All items”
    2 = “Create items and edit items that were created by the user”
    4 = “None”
    For example:
    $web = Get-SPWeb http://YourSite/
    $list = $web.Lists[“Your Document Library Name”]
    $list.WriteSecurity = 2
    $list.Update()
    $web.Dispose()
    Also check 
    http://sppermissions.codeplex.com/
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://freeit-support.com/

  • SharePoint 2013 Published links to Office client applications - Registry key for MySite is missing on client

    Hello,
    how is the Registry Key HKCU\Software\AppDataLow\Microsoft\Office\15.0\Common\Portal
    for "PersonalSiteURL" supposed to be set in SharePoint 2013 / Office 2013?
    Or is there another way to tell the Office Clients where to look for the user profile / published links? In SharePoint 2007 there was a button "Set as default MySite" which creates the Registry key as far as I know.
    How is Office 2013 supposed to get this Information?
    Any kind of help will be appreciated.
    Thanks,
    Dennis

    Hi Dennis ,
    Thank you for your posting!
    According to your description, my understanding is that you want to get the Published links using  Office 2013 on client.
    Yes, you can get the Published links using Office 2013 on client. For achieving your demand, you need to have the 15.0/Common/Portal registry key setup with a PersonalSiteURL defined . For detailed information,
    you can refer to the article and note that everything is 15 instead of 12 now:
    http://paulliebrand.com/2009/08/25/publishing-links-to-office-2007-without-enabling-my-sites-in-sharepoint/
    Also  the comments of the blog is helpful:
    http://paulliebrand.com/2011/09/27/set-as-default-my-site-sharepoint-sites-or-my-sharepoint-sites-missing-in-office-2010-on-sharepoint-2007/
    Thank you for your understanding and support.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • PAL DV footage to NTSC DVD help wanted!

    Hi there, apologies if this has been tackled elsewhere, but I couldn't locate it! I have a finished PAL edit of around 90 minutes in FCP 4.5 that I have output to a PAL DVD via DVD SP 4/Compressor 2. Following this, the client has also asked for an i

  • Error (14) and (9) during iPod Touch Restore process

    I am getting the following error when trying to restore my iPod Touch in iTunes: "The iPod, "iPod" could not be restored. An unknown error occurred (14)."  Sometimes I also get error code (9) as well. I have the latest version of iTunes and have trie

  • Embedded JPEG Extended images corrupted in Reader X, but not 9.4

    Hi, We're experiencing an issue where JPEG images embedded in PDFs display properly with Reader 9.4.2 and with third-party readers such as FoxIt, but experience color corruption when displayed with Reader 10.0.1.  Adjusting display settings has not h

  • Can I read mails in OutLook Express in Java ?

    Hi Guys, Just curious if I can access mails in Outlook Express in Java. Thank you for your consideration.

  • Dreamweaver CS3 Remote View file display

    Specs: Dreamweaver CS3 on Windows XP Pro SP2. Upgraded from DreamWeaver MX 1680 x 1050 60Hz resolution on vertical display LCD panel with the monitor turned/displayed verticle so I can view more of our site tree. Problem: When viewing files in split