Hide Upload Document item in Ribbon

I created a document library set to use a "Document Set" content type.  I am hiding the "Document" content type, so that when a user clicks "New Document", in the Ribbon, they are only able to create a Document Set.  Is there a way to hide "Upload
Document" item in them Ribbon at this level?  Meaning, once the Document Set is created the user should be allowed to "upload" documents into the Document Set?  I want to prevent them from uploading documents at the document set creation level.

Hi,
You can create a sandbox solution with the following feature\elements.xml to remove Upload document in the Ribbon. If you need this active for only one library you can either create a new Content type from document and then specify the Id in RegistrationId
or you will have to create a new list template for you document library and specify the id of list template in RegistrationId.
<CustomAction
    Id="RemoveExplorerButton"
    Location="CommandUI.Ribbon"
    RegistrationType="List"
    RegistrationId="{contentTypeId}">
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition
          Location="Ribbon.Library.Documents.upload" />  -> verify this
      </CommandUIDefinitions>
    </CommandUIExtension>
  </CustomAction>

Similar Messages

  • Hide Upload Document button in a sharepoint library programmatically

    Hi,
    How to hide Upload Document button in a sharepoint library programmatically?
    Thank you,
    AA.

    Hello,
    hope these references will help you out
    http://www.solwebsolutions.com/blog/entry/css-for-hiding-upload-options-in-sharepoint-library-ribbon
    http://sharepoint.stackexchange.com/questions/32606/remove-button-from-ribbon-in-a-specific-toolbar
    Good luck,

  • Hide Upload button in library

    what is easiest way to hide the Upload button in a library or list?
    I know I did this easily in SharePoint Designer 2007.  But I can't figure out how to do it in SharePoint 2010.
    thanks!

    As sharepoint has multiple endpoint for particular activity, it is not wise to hide some UI using client script, as they can be achieved differently. Like - upload, you may hide ribbon button easily but same can be done from "Open in explorer"
    window and paste the file. Or Doclib may already have mapped as shared drive or mapped as favorite using which anyone can upload document very easily.
    So best way to do this is using permission. Just revoke contribute and grant read. If you want them to edit item/delete item but not upload, then you need to create
    custom "permission set" to achieve your goal.
    If you really looking for JavaScript then below code may help
    <style type="text/css">
    #Ribbon\.Documents\.New\.AddDocument-Large
    display:none;
    #Ribbon\.Library\.Actions\.OpenWithExplorer-Medium
    display:none;
    </style>
    See this link - http://kishansharepoint.blogspot.com/2012/08/disable-upload-button-of-document.html
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Document library, hide all documents by default.

    Hi
    I have a document library and I want to give access to client. I want to hide all documents by default except the few I share with them.
    If I upload new document it should not be visible to them by default until I share with them.
    I have given read access to client but they can see all documents by default and every time I upload a new document I have to manually control the permissions.

    Hi Shafaqat,
    If you want only document creator has view/edit/delete permission on document item created by himself, it has to set the permission on the list time level for each item.
    You can try using workflow to break the item permission inheritance and replace the proper permision on the current item per the following article. 
    http://johnliu.net/blog/2010/7/13/sharepoint-2010-configuring-list-item-permissions-with-workf.html
    And developing the custom code of Event Receiver is a better way to set the proper/complex item permission when item is created or modified. 
    https://msdn.microsoft.com/en-us/library/ee231563.aspx
    For uplaoding document to a library, I tested before, you can check and make sure the user has "View Application pages" permission on library level, then test again.
    https://social.technet.microsoft.com/Forums/office/en-US/40b31ca1-1ade-42f0-a984-c16ab266f423/sharepoint-upload-permission?forum=sharepointadmin
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

  • Access Denied when uploading documents

    Hi, 
    An end user who has design permission on a particular site gets access denied page when user clicks on "OK" in upload document dialog box.
    but document is uploaded and is checked-out.
    We checked features, permission they are all same on the all the sites(with issue or without  this issue)
    Regards,
    AnkitG

    Hi Ankit,
    Based on your description, it seems that you have add item permission but no edit item permission on the library.
    I recommend to go to the library permission of the library with issue and then click Check Permissions in the ribbon to check the permission for your account.
    If that is the case, then grant the necessary permission to the user on the library or click Delete unique permissions in the ribbon to inherit the permission from the site.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Getting the document ID of an uploaded document

    Hello All,
    Perhaps someone out there can help with this assumingly simple task of getting the document id of a file that was uploaded.
    Back ground:
    I have a separate system which retains records of transactions. Paperwork is often received as a part of these transactions and my intention is to store those documents into SharePoint. I want to store the document id on the record to facilitate easy retrieval
    of the document. No need to search by meta tags or the like; I will have the specific document id which will point to the document.
    Environment:
    I currently have SharePoint 2013 online. The program that creates and maintains the records is an in-house VB.Net application running on 4.5 framework. The document repository is defined as a record center and contains several content types and meta tags
    (columns) already defined. Again the application is written in VB.
    Goal:
    Upload a given document, get the document id, and store that id to the record.
    What I have done:
    I have created a function that will take a given file name and proceed to upload the document to the given SharePoint list. It then proceeds to update the meta tags with information that will help find it using alternative methods. I have also spend hours
    upon hours researching every corn of every forum to find an answer. But to no avail.
    The problem:
    I cannot find how to get the document id of the document that I uploaded. Either it is so easy that no-one has bothered to post how it is done. Or it is not doable. I say this because I can find absolutely no reference to how to get the document id. There
    is lots of references on how to get the name, the url, the meta tags, etc... But NO example on getting the document id. Very frustrating. Below is the code that I am using. Can someone suggest how I can go about getting the document id. Please treat me like
    I am a noob and spell it out. Sample code would be great! I have already burnt way too much time on this seemingly simple task. I would greatly appreciate any help.
    Thanks
    Mike
    Imports Microsoft.VisualBasic
    Public Class Class1
    Private mVarTitle As String
    Private mVarStockCode As String
    Public Property DocTitle() As String
    Get
    Return mVarTitle
    End Get
    Set(value As String)
    mvartitle = value
    End Set
    End Property
    Public Property StockCode() As String
    Get
    Return mVarStockCode
    End Get
    Set(value As String)
    mVarStockCode = value
    End Set
    End Property
    Public Function UploadFile(FileName As String, Path As String, ListName As String, ContentType As String)
    'For each record, copy the file from knowledgetree to the local directory and then upload it with the metatags.
    Dim mKTFile As String = String.Empty
    Dim mFileName As String = String.Empty
    Dim mSource As String = String.Empty
    Dim mTarget As String = String.Empty
    Dim mTitle As String = String.Empty
    Dim mStockCode As String = String.Empty
    Dim mDocId As String = String.Empty
    Dim mCTid As String = String.Empty
    Dim mBaseKTFolder As String = "\\<computerName>\c$\Program Files\ktdms\documents\"
    mFileName = FileName
    mKTFile = Path
    mTitle = mVarTitle
    mStockCode = mVarStockCode
    mKTFile = Replace(mKTFile, "/", "\")
    mSource = mBaseKTFolder & mKTFile
    mTarget = ".\temp\" & mFileName
    UpdateStatus("uploading " & lrows.ToString)
    ' Copy the file to a new folder and rename it.
    My.Computer.FileSystem.CopyFile(
    mSource,
    mTarget,
    Microsoft.VisualBasic.FileIO.UIOption.AllDialogs,
    Microsoft.VisualBasic.FileIO.UICancelOption.DoNothing)
    Dim mpassword As New System.Security.SecureString()
    Dim mp As String = "<adminPassword>"
    For k = 1 To Len(mp)
    mpassword.AppendChar(Mid(mp, k, 1))
    Next
    Dim mycred As New Microsoft.SharePoint.Client.SharePointOnlineCredentials("<AdminUserId>", mpassword)
    Dim url As String = "https://<SharePoint URL>/sites/rms"
    Dim listTitle As String = ListName
    Using clientContext = New ClientContext(url)
    clientContext.Credentials = mycred
    Using fs = New System.IO.FileStream(mTarget, System.IO.FileMode.Open)
    Dim fi = New System.IO.FileInfo(mTarget)
    Dim list = clientContext.Web.Lists.GetByTitle(listTitle)
    clientContext.Load(list.RootFolder)
    clientContext.ExecuteQuery()
    Dim fileUrl = [String].Format("{0}/{1}", list.RootFolder.ServerRelativeUrl, fi.Name)
    fileUrl = Replace(fileUrl, "#", " ")
    Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, fileUrl, fs, True)
    Dim web As Web = clientContext.Web
    Dim newFile As Microsoft.SharePoint.Client.File = web.GetFileByServerRelativeUrl(fileUrl)
    clientContext.Load(newFile)
    clientContext.ExecuteQuery()
    '*****this section finds the content type and sets
    Dim contentTypeColl As ContentTypeCollection = clientContext.Web.ContentTypes
    clientContext.Load(contentTypeColl)
    clientContext.ExecuteQuery()
    mCTid = String.Empty
    '/ Display the content type names that are available in the website
    For Each ct As ContentType In contentTypeColl
    If ct.Name = ContentType Then
    mCTid = ct.Id.StringValue
    End If
    Next
    '***************End content type find.
    newFile.ListItemAllFields("ContentTypeId") = mCTid
    newFile.ListItemAllFields("Title") = mTitle
    newFile.ListItemAllFields("StockCode") = mStockCode
    '******This is the section where I have tried to get the uploaded document Id.
    '******None of these statements work.
    mDocId = newFile.ListItemAllFields("Document ID").ToString
    mDocId = newFile.ListItemAllFields("_dlc_DocId").ToString
    mDocId = newFile.ListItemAllFields("DocID").ToString
    newFile.ListItemAllFields.Update()
    clientContext.Load(newFile)
    clientContext.ExecuteQuery()
    End Using
    End Using
    ' Delete the file .
    My.Computer.FileSystem.DeleteFile(mTarget)
    UploadFile = mDocId
    End Function
    End Class

    Thanks Micheal for confirming SharePoint version.
    Is your VB code working with SharePoint 2010 Client Object model? It would give the idea that there is some poroblem in SharePoint 2013 CSOM.
    By the way, I tried the below code  in C# and I was able to print the Document ID and it worked for me.
     using (ClientContext clientContext = new ClientContext("http://<<Server Name>>:2425/sites/test/"))
                    Web site = clientContext.Web;
                    // Change your document library name
                    List docLib = site.Lists.GetByTitle("tester");
                    clientContext.Load(docLib);
                    CamlQuery caml = new CamlQuery();
                    ListItemCollection items = docLib.GetItems(caml);
                    clientContext.Load(items);
                    clientContext.ExecuteQuery();
                    // Iterate through all items in the document library
                    foreach (ListItem item in items)
                        Console.WriteLine("File Name:: " + item.FieldValues["Title"]);
                        Console.WriteLine("Document Id : " + item.FieldValues["_dlc_DocId"]);
                    Console.ReadLine();
    Output:
    File Name:: Remove_URL
    Document Id : TEST-1-1
    File Name:: Request
    Document Id : TEST-1-2
    Please check that your code is working with SP2010 or not?
    Thanks
    Ashish
    Ashish Gupta Click "Vote As Helpful"! if you think that post is helpful in responding your question click "Mark As Answer, if you think that this is your answer for your question.

  • Uploading cleared items with cleared item flag

    Hi,
    I want to upload cleared items of customers and vendors with flag/status indicating that the item is cleared. This will make the system enter the data in BKPF,BSEG and BSAD/BSAK(directly) and hence will save the effort to clear the items after initial upload.
    Can some please suggest a posible method to do this?
    Thanks in advance,
    Nitish

    Hi Nitish,
      U mentioned like that u need to upload the cleared items with flag set. If u obeserve BSEG table it have one field AUGBL. It indicates for cleared items. If item is related to cleared then AUGBL have value else it will space. So try the following  condtion.
    data: v_flag(1) type C.
    If itab-augbl NE ' '.
    move 'X' to v_flag.
    endif.
    move all the data from file to internal table and make the validation from that itab.
    Some t-codes are directly related to BSAD/BSAK tables menas if u post the document then directly uplaod to those tables. So which t-code u r using?If any thing, reply with clear information about the requirement. Hope this helps you.
    Regards,
    Kumar.

  • Material BOMs with document items using RCSBI010

    Has anyone uploaded material BOMs with document items using RCSBI010?  I set the item category to D, but receive an error in LSMW when I attempt to convert the data.  The error specifies that the document items are not valid material numbers.  They are not material numbers.  They are document info records.

    Found the problem. The document number was being mapped to BOM Component IDNRK instead of document number DOKNR.

  • Workflow in document library doesn't function properly on uploaded documents

    I have a document library with a few different content types. When documents are added to the library either via new or upload I want to run a workflow that numbers the documents (so contracts have a contract number & change orders have an order number).
    The counters are in a separate list - one item for each counter, a last number and a calculated next number.
    So for contract numbers the workflow gets the nextnumber for the counter and enters it into the contract number field of the current item before sending it back to the counter as last number. 
    The workflow is set to start on item creation and works just fine with new documents. However, it doesn't work on uploaded documents. In order to discern between the different content types I've set a field condition to recognize if the workflow should run.
    When uploading documents the workflow runs before the field is set and therefore doesn't set the contract number. 
    I tried just setting a 5 min "wait" at the start of the workflow, but then the document fails to save. 
    Workflow:
    Sorry it's in Norwegian, I can't figure out how to get the conditions and actions into English (all my buttons etc are in English)...
    Any ideas on how to get the workflow to run properly in order to update the contract number?

    Hi,
    According to your post, my understanding is that you had a workflow in document library didn’t work properly.
    I hadcreated a list called Counter1, created a library called
    New&Upload, modified the view of the list, made it display the
    ID of the list.
    I created a simple workflow as below, selected “Start workflow automatically when an item is created”, it worked well without any issue no matter
    Upload or New a document.
    You can create a new workflow with a new library, then check whether it works.
    You can also check the event log and ULS log to see if anything unexpected occurred.
    To check event log, click the Start button and type “Event Viewer” in the Search box.
    For SharePoint 2013, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • "New Document" button on ribbon not working in the "Master Page Gallery" in Internet Explorer 10 & 11

    I'm trying to add a "JavaScript Display Template" to my "Master Page Gallery" but when I click on the "New Document" button and select "JavaScript Display Template" it opens the "Add a master page" dialog
    and prompts me to upload a file.  I've ran into this problem with "Compatibility View" set to both "On" or "Off".  I'm able to upload files but I can't get the new forms to show up.
    This happens on the root site collection site.  For subsites, the "New Document" button is completely grayed out.  
    FYI - I am a site collection admin and in the "Owners" group for each site.
    How can I fix this?

    Hi,
    According to your post, my understanding is that "New Document" button on ribbon falied to work in the "Master Page Gallery".
    In the root site, please make sure you enter all the necessary information when you upload file.
    In the other word, you need to make sure the save the “JavaScript Display Template" successfully.
    In the subsites, when you click the “Master Page” under Master Page Gallery in the sub site site setting page, the "New Document" button is completely grayed out.
    If you want to add the template, you need to active the “SharePoint Server Publishing” feature in the Site sitting->Manage site features.
    However, the “Master Page” under Master Page Gallery will become to “Master pages and page layouts”.
    If you click the Master pages and page layouts”, you will go to the
    Master Page Gallery of the root site, and then you can add Document.
    Thank you for your understanding.
    Thanks,
    Linda Li
    Linda Li
    TechNet Community Support

  • Configure "Always hide forms document message bar" and "Do not show edit warnings" for all users?

    We need to do a mass deployment of Adobe Reader XI 11.0.3 with "Always hide forms document message bar" preference setting automatically set for every user so they do not have to go through the menu and set it manually.
    Is there a way to configure this for all users with the customization wizard or another method?
    We also need to do the same for "Do not show edit warnings"
    If these are registry keys, which registry keys set these options?

    Try http://www.adobe.com/devnet-docs/acrobatetk/tools/PrefRef/Windows/DocumentStatus.html?zoom _highlight=message#idkeyname_1_5647.
    If that doesn't work and there's a configuration item in the preferences UI, do this:
    Get regshot.
    Close everything but Acrobat/Reader.
    Take a reg shot.
    Configure the setting via the UI.
    Tak another reg shot.
    Compare the two.
    That process will give you your answer.
    If there is no corresponding pref in the UI, then you probably can't do it.
    Ben

  • Level permission only for edit uploaded documents

    Hi guys,
    I have this requiriment, in my document set I need that spcecified users are allowed only to edit uploaded document (for example editing using word if is a docx type) but not other fields in SharePoint........ is it possible?
    thanks!

    This is not possible using OOTB functionality. If you have edit permission to a file/list item, you have access to modify all of the information.
    There are a few third party options that provide column/field-level permissioning in SharePoint. You could also program your own rules into an Event Receiver.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Applying CT template to uploaded documents

    I have a document library with multiple content types.
    Each CT has a custom document template with logos, doc properties, text, etc.
    If I create a New Document from the Ribbon, the document gets the CT metadata
    AND the document template.
    If I upload a document to the library, I can assign a CT to the document so as to get the metadata, but no document template is set. It remains the default blank word doc - no logo, etc.
    Can uploaded documents not have the document template assigned that is with the Content Type?

    Hi,
    By design, template will work only when you create new document, it won't be applied to existing document.
    You could copy and paste existing content to New Document template.
    You may also ask the question in Office forum and check if there is any way to apply template on existing template. Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/office/en-US/a39906a2-3dfc-45cf-b57d-67b7df056d36/applying-template-to-large-number-of-documents-?forum=word
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Word cannot open file when uploaded document to document library progrmmatically.

    I have created one button in which I am uploading a new document to document library through my code. The document library contains document template.
    My code is as below:
    private SPListItem CreateDocument(SPList Docs, string title)
    SPListItem newItem = null;
    try
    SPFolder cmsDocsFolder = Docs.RootFolder;
    SPFileCollection fileCollection = cmsDocsFolder.Files;
    if (!string.IsNullOrEmpty(Docs.ContentTypes[0].DocumentTemplateUrl))
    string docTemplateUrl = Docs.ContentTypes[0].DocumentTemplateUrl;
    SPFile docTemplateFile = Docs.ParentWeb.GetFile(docTemplateUrl);
    byte[] binaryFile = docTemplateFile.OpenBinary();
    string newFileUrl = cmsDocsFolder.Url + "/" + RemoveSpecialCharacters(title).Trim() + _docxExt;
    if (!Docs.ParentWeb.GetFile(newFileUrl).Exists)
    SPContentType contentType= Docs.ContentTypes.Cast<SPContentType>().FirstOrDefault(c => c.Id.IsChildOf(ContentTypeIDs.CMSDocument));
    if (contentType != null)
    SPFile addedFile = fileCollection.Add(newFileUrl, binaryFile, false);
    newItem = addedFile.Item;
    newItem[FieldNames.ContentTypeId] = ContentTypeIDs.CMSDocument;
    newItem[FieldNames.ContentType] = contentType.Name;
    catch (Exception ex)
    return newItem;
    My code does not throw any error but when I go to document library and click on uploaded document the file tries to open in word application but I am getting an error:
    "Word cannot open the file because the file format does not match the file extension. (url)"
    The browser I am using is FF.
    What am I missing? Please help.

    Hi,
    Please try to upload your document using SharePoint UI.
    If the issue still exists in Firefox, I suggest you check your Firefox settings.
    If not, please debug your code and watch the value or here is a blog for your reference:
    http://thearkfloats.blogspot.com/2013/10/programmatically-upload-to-sharepoint.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • All DocumentSet derived ContentTypes' EventHandlers fires when uploading document

    I have made a custom "base" content type based on the Document Set content type. On this content type I attach 6 EventHandlers:
    <ContentType ID="0x0120D5200088cd8a49c45a45dbb0b808d0934cd901"
    Name="My Magical Base Document Set"
    Description="My Base Document Set"
    Group="Magical Content Types"
    ProgId="SharePoint.DocumentSet"
    PushDownChangedResourceFilesOnly="TRUE"
    Version="0">
    <FieldRefs />
    <Folder TargetName="_cts/MyDocSetCustom" />
    <XmlDocuments>
    <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/events">
    <Receivers xmlns:spe="http://schemas.microsoft.com/sharepoint/events">
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemAdding</Name>
    <Type>1</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemUpdating</Name>
    <Type>2</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemDeleting</Name>
    <Type>3</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemAdded</Name>
    <Type>10001</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemUpdated</Name>
    <Type>10002</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    <Receiver>
    <Name>MagicalBaseDocumentEventHandlerItemDeleted</Name>
    <Type>10003</Type>
    <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly>
    <Class>MyMagicalProject.EventHandlers.MagicalBaseDocumentEventHandler</Class>
    <SequenceNumber>50</SequenceNumber>
    </Receiver>
    </Receivers>
    </XmlDocument>
    </XmlDocuments>
    </ContentType>
    I then create 24 new content types based off of the above content type and I bind them to a document library.
    After deployment, when the content types are all created and the library is created and have all the content types binded, I create a new document set in this library. I then try to add a new item (document).
    This is where the interesting thing happens. When I add a Word or Excel document none of the EventHandlers are fired. But when I add a PDF, TXT, or XML document then the ItemAdding EventHandler is fired, 24 times - meaning the ItemAdding EventHandler is
    fired for each DocumentSet content type binded to the list, before finally giving the uploaded document the content type "Document".
    The document library gets created by a ListInstance on deployment, and all the content types are being binded in this ListInstance.
    Is this a bug? Or have I done something wrong?

    Hi,
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thanks 
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

Maybe you are looking for