Prevent google to index sharepoint list information

Hi
I have a sharepoint list and give anonymous users to access it for adding item.also I define target audience for allitems.aspx of that list. Now my problem is google index information of this list and this
confidential information now available in internet environment.
How I can restrict google to prevent index such these list?
Thanks.

You can add a robots.txt to your root.
in this robots.txt you can put information about what pages may and may not be indexed. For more information check:
http://www.robotstxt.org/
http://www.robotstxt.org/robotstxt.html
edit: waldek mastykarz has made a solution that automatically creates a robots.txt for you:http://blog.mastykarz.nl/generating-robots-txt-files-mavention-robots-txt/
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Similar Messages

  • Sharepoint List Library Index

    Hey guys,
    Having a pretty basic issue that I can't seem to google my way out of.
    We have our sharepoint lists under the "List" section within the IT subsection within our sharepoint site, and am wondering if there is a way to re-organize these so:  Software Licenses and Software Renewals are index 1 and 2.  Basically
    wanting to change the order of the highlighted section.  
    Was just wondering if someone could explain to me on how to get this done :)
    Much appreciated, thank you.

    Hi,
    If you are not able to see the "Navigation" header in your site setting page,you need to follow this step.
    Go to Site Settings - Site Collection Administration - Site collection features Scroll down to SharePoint Server Publishing Infrastructure and click the Activate button .
    After this, please follow Amit's instructions.
    Murugesa Pandian.,MCTS|App.Devleopment|Configure

  • Retrieving Sharepoint List Item Information for SAP Best Approach

    Hi
    We have a request for retrieving Sharepoint list item information to create DVS objects in SAP. Has anybody been doing something like that, getting information out of Sharepoint into SAP? What would the best approach for this be, as usually implementations are the other way around, i.e. getting data out of SAP into Sharepoint. I think that Duet Enterprise would be an overkill for this and also requires additional licenses.
    So I have been thinking using either a PI/Web Service using the Sharepoint WSDL to retrieve the information, or maybe there are also possibilities using WebDAV. There are some CL_HTTP_WEBDAV classes, but I am not sure whether and how they could be used for this.
    Does anybody have how-tos or examples for either approach? Feedback is much appreciated.
    Thanks,
    Daniel

    Without using a ridiculously long workflow (which even then may not work) I do not think this is feasible in a sharepoint list. A workflow can be used to alter other fields in an item but not incrementing items like you require. You would be better changing
    to data sheet view (quick edit in 2013) and changing them all manually then, or changing to terms such as priority high, low etc. Overall, no this is not really possible.
    Brendan Lee

  • Build XML for Custom Nested Accordian (like Tree View Structure) for SharePoint List Data

    Expected output in Xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <TopRoot>
    - <Root id="1" Name="Department">
    - <Type id="2" Name="IT">
    - <SubType id="3" Name="Technology">
      <SubSubType id="4" Name="Sharepoint" />
      <SubSubType id="5" Name="ASP.NET" />
      <SubSubType id="6" Name="HTML 5" />
      </SubType>
      </Type>
    </Root>
    </TopRoot>
    List Details:
    list details for storing category / sub category data and code to build tree structure for the same.
    1.Create Custom List named “CategoryDetails”:
    2.Create Column “Category Name” of type single line of text. Make it as required field and check Yes for Enforce Unique values.
    3.Create column “Parent Category” of type lookup. under Additional Column Settings.
    Get information dropdown, select “CategoryDetails”.
    4.Choice column ["SRTypeName"] 1.Root,2.SRTYPE,3.SubSRTYPE, 4.SUBSUBSRTYPE
    In this column dropdown, select “Category Name”:  
    Referance:
    http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data    -fine but don't want tree view just generate xml string
    i just follwed above link it work perferfectly fine for building tree view but i don't want server control.
    Expected Result:
    My ultimate goal is to generate xml string like above format without building tree view.
    I want to generate xml using web service and using xml i could convert into nested Tree View Accordian in html.
    I developed some code but its not working to generate xml /string.
    My modified Code:
    public const string DYNAMIC_CAML_QUERY =
            "<Where><IsNull><FieldRef Name='{0}' /></IsNull></Where>";
            public const string DYNAMIC_CAML_QUERY_GET_CHILD_NODE =
            "<Where><Eq><FieldRef Name='{0}' /><Value Type='LookupMulti'>{1}</Value></Eq></Where>";
            protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                 string TreeViewStr= BuildTree();
                 Literal1.Text = TreeViewStr;
            StringBuilder sbRoot= new StringBuilder();
            protected string BuildTree()
                SPList TasksList;
                SPQuery objSPQuery;
                StringBuilder Query = new StringBuilder();
                SPListItemCollection objItems;
                string DisplayColumn = string.Empty;
                string Title = string.Empty;
                string[] valueArray = null;
                try
                    using (SPSite site = new SPSite(SPContext.Current.Web.Url))
                        using (SPWeb web = site.OpenWeb())
                            TasksList = SPContext.Current.Web.Lists["Service"];
                            if (TasksList != null)
                                objSPQuery = new SPQuery();
                                Query.Append(String.Format(DYNAMIC_CAML_QUERY, "Parent_x0020_Service_x0020_Id"));
                                objSPQuery.Query = Query.ToString();
                                objItems = TasksList.GetItems(objSPQuery);
                                if (objItems != null && objItems.Count > 0)
                                    foreach (SPListItem objItem in objItems)
                                        DisplayColumn = Convert.ToString(objItem["Title"]);
                                        Title = Convert.ToString(objItem["Title"]);
                                        int rootId=objItem["ID"].ToString();
                                        sbRoot.Append("<Root id="+rootId+"
    Name="+Title+">");
                                        string SRAndSUBSRTpe = CreateTree(Title, valueArray,
    null, DisplayColumn, objItem["ID"].ToString());
                                        sbRoot.Append(SRAndSUBSRTpe);
                                        SRType.Clear();//make SRType Empty
                                        strhtml.Clear();
                                    SRType.Append("</Root>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
             StringBuilder strhtml = new StringBuilder();
            private string CreateTree(string RootNode, string[] valueArray,
          List<SPListItem> objNodeCollection, string DisplayValue, string KeyValue)
                try
                    strhtml.Appends(GetSRType(KeyValue, valueArray, objNodeCollection);
                catch (Exception ex)
                    throw ex;
                return strhtml;
            StringBuilder SRType = new StringBuilder();
            private string GetSRType(string RootNode,
            string[] valueArray, List<SPListItem> objListItemColn)
                SPQuery objSPQuery;
                SPListItemCollection objItems = null;
                List<SPListItem> objNodeListItems = new List<SPListItem>();
                objSPQuery = new SPQuery();
                string objNodeTitle = string.Empty;
                string objLookupColumn = string.Empty;
                StringBuilder Query = new StringBuilder();
                SPList objTaskList;
                SPField spField;
                string objKeyColumn;
                string SrTypeCategory;
                try
                    objTaskList = SPContext.Current.Web.Lists["Service"];
                    objLookupColumn = "Parent_x0020_Service_x0020_Id";//objTreeViewControlField.ParentLookup;
                    Query.Append(String.Format
                    (DYNAMIC_CAML_QUERY_GET_CHILD_NODE, objLookupColumn, RootNode));
                    objSPQuery.Query = Query.ToString();
                    objItems = objTaskList.GetItems(objSPQuery);
                    foreach (SPListItem objItem in objItems)
                        objNodeListItems.Add(objItem);
                    if (objNodeListItems != null && objNodeListItems.Count > 0)
                        foreach (SPListItem objItem in objNodeListItems)
                            RootNode = Convert.ToString(objItem["Title"]);
                            objKeyColumn = Convert.ToString(objItem["ID"]);
                            objNodeTitle = Convert.ToString(objItem["Title"]);
                            SrTypeCategory= Convert.ToString(objItem["SRTypeName"]);
                           if(SrTypeCategory =="SRtYpe")
                              SRType.Append("<Type  id="+objKeyColumn+" Name="+RootNode+ ">");
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SRSubTYpe")
                              SRType.Append("<SRSubType  id="+objKeyColumn+" Name="+RootNode+
    ">");  
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SubSubTYpe")
                              SRType.Append("<SubSubType  id="+objKeyColumn+" Name="+RootNode +"
    ></SubSubType");  
                        SRType.Append("</SubType>");
                        SRType.Append("</Type>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
                // Call method again (recursion) to get the child items

    Hi,
    According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
    In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
    For example, to create or delete the ECB menu for a list item in
    "Site Content and Structure", we can follow the steps below:
    To add the “My Like” menu, we can add the code below:      
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemLike"
    runat="server"
    Text="My Like"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickNavigateUrl="https://www.google.com.hk/"
    />
    To remove the “Delete” menu, we can comment the code below:
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemDelete"
    runat="server"
    Text="<%$Resources:cms,SmtDelete%>"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickScript="%SmtObjectDeleteScript%"
    />            
    The result is as below:
    More information:
    MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
    MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Is it possible to list information , that i have shared(i.e documents, sites etc) with external user.

    Hi,
    Is it possible to list information , that i have shared(i.e documents, sites etc) with external user. 

    Hi
    We have two version of SharePoint, one the online version and the other on-premise installation
    In online version, we can invite external users(liveID and google users) to have access to site and documents. This feature is provided by ADFS server already configured OOB in online version
    Onpremise version does not have by default the feature to share with external users or customers. we have to extend the site and provide different identity providers.The identity provider can be Active directory,SQL server,Claims,ADFS server which
    will support liveID
    http://technet.microsoft.com/en-us/library/cc261698(v=office.14).aspx  
    Thanks
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • How do I change multiple list items at once in a SharePoint list with ribbon button

    Hi
    I have a sharepoint list and a ribbon button that open a dialog box with buttons to set color on a row
    The problem is that i can only selecet one item at once to set the color. 
    How can i do so it could set all or a couple items att once to the color i want 
    I want to do this with javascript
    here is the code i use to get the item id and the color code is in a seperate js file
    'use strict';
    var clientContext, hostweburl, parentContext, parentWeb, selectedItem, itemId, listId;
    clientContext = new SP.ClientContext.get_current();
    hostweburl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    listId = decodeURIComponent(getQueryStringParameter("SPListId"));
    itemId = decodeURIComponent(getQueryStringParameter("SPListItemId"));
    parentContext = new SP.AppContextSite(clientContext, hostweburl);
    parentWeb = parentContext.get_web();
    selectedItem = parentWeb.get_lists().getById(listId).getItemById(itemId);
    $(document).ready(function () {
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(OnSuccess, OnFail);
    function OnSuccess() {
    $("#Blue").click(function () {
    selectedItem.set_item('Color', 'Blue');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Green").click(function () {
    selectedItem.set_item('Color', 'Green');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Red").click(function () {
    selectedItem.set_item('Color', 'Red');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Transparent").click(function () {
    selectedItem.set_item('Color', 'No Color');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });

    Check if below can help you
    http://sp2010batchedit.codeplex.com/
    http://sharepoint.stackexchange.com/questions/35935/use-view-ribbon-custom-action-on-multiple-list-items
    http://webcache.googleusercontent.com/search?q=cache:XqMO-PRLHQIJ:dannyjessee.com/blog/index.php/2014/06/enabling-custom-ribbon-buttons-dynamically-based-on-multiple-selected-item-values-using-refreshcommandui-and-jsom/+&cd=1&hl=en&ct=clnk&gl=in
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="DannyJessee.TestCustomAction"
    Location="CommandUI.Ribbon"
    RegistrationId="100"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="DannyJessee.MarkItemsFinishedButton"
    Command="cmdMarkItemsFinished"
    Image16by16="/_layouts/images/kpinormallarge-0.gif"
    Image32by32="/_layouts/images/kpinormallarge-0.gif"
    LabelText="Mark as Finished"
    TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="cmdMarkItemsFinished"
    CommandAction="javascript:MarkItemsFinished();"
    EnabledScript="javascript:EnableFinishedButton();">
    </CommandUIHandler>
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    <CustomAction Id="DannyJessee.TestScript"
    Location="ScriptLink"
    ScriptSrc="/_layouts/15/CustomRibbonButton/CustomAction.js" />
    </Elements>
    If this helped you resolve your issue, please mark it Answered

  • Excel 2010 Synchronize List with SharePoint List using VBA

    I have used and loved the interaction between Excel and SharePoint for many generations of both solutions.  It's a wonderful opportunity to integrate the familiarity and simplicity of Excel (formatting, ease of use, availability) with the data storage
    and centralized list capabilities of SharePoint.  Right?
    When upgrading to Excel 2010, I have noticed with much dismay that much of the inherent easy to use features of previous versions were effectively stripped from this newest version.  Much research, time and energy has been spent working around and resolving
    the deficiency.  One Microsoft based article,
    http://support.microsoft.com/kb/930006, has provided the mechanics behind utilizing the "hidden" functionality... although, this capability to use VBA to create the synchronized list was available in previous versions.  However, once Microsoft
    published this article to this "hidden" functionality... I feel that the behavior should be supported by Microsoft in some way.  OK?
    Revised instructions to reproduce the problem:
    1. Create a SharePoint list with 20 dummy records.
    - Note the List Name  ##LIST_NAME##
    - Note the View GUID  ##VIEW_GUID##
    - Note SharePoint Base URL  ##BASE_URL##
    2. REVISED... In Excel 2010, save the file as Compatible "Excel 97-2003 Workbook".  Close the file and reopen.  Create a connected table (ListObject) in Excel using the article above to the SharePoint list.  Use Sample VBA code
    below:
    Sub LinkedSharePointList()    
    ActiveSheet.ListObjects.Add SourceType:=xlSrcExternal,_
        Source:=Array(##BASE_URL## & "/_vti_bin", ##LIST_NAME##, _
        ##VIEW_GUID##), LinkSource:=True, Destination:=Range("A1")
    End Sub
    3. OOPS REVISED this item.  The problem is actually with ROW 21... So, update record on row 21... (no matter where the table is located... (if the "Destination" is "A1", then the problem is with ID=20, but if the Table is
    shifted down to say A12, then ID=9 on row 21).  Anyway... make a simple change to that record... and you'll see the ID immediately change.... as if it's a NEW record.  WEIRD!  Note: If the sheet is protected, then an error is displayed
    indicating that a "read-only" record cannot be updated (referring to the ID cell in column A for the current row). 
    4. Now "synchronize" the list with excel.  The former record is still in the list unchanged AND there is a NEW record in the list holding the changes.  There are a number of problems that seem to ONLY occur when something changes to ROW
    21.... Next, try to copy/paste multiple records across multiple rows that intersect with ROW 21.  Yikes!! 
    I look forward to hearing others' experience!
    Thanks!
    Mark

    Here are some things that you can try (change the code, where appropriate):
    Private Sub CreateList()
        Dim folder As folder
        Dim f As File
        Dim fs As New FileSystemObject
        Dim RowCtr As Integer
        RowCtr = 1
        Set folder = fs.GetFolder("http://excel-pc:43231/Shared Documents/Forms/") '<=Variable Location
        For Each f In folder.Files
           Cells(RowCtr, 1).Value = f.Name
           RowCtr = RowCtr + 1
        Next f
    End Sub
    Sub ListAllFile()
     Dim objFSO As Object
     Dim objFolder As Object
     Dim objFile As Object
     Dim pth As String
     Dim WBn As Workbook
     Dim ObCount As Long
     Dim FileNme As String
     Application.ScreenUpdating = False
     Set objFSO = CreateObject("Scripting.FileSystemObject")
     'Get the folder object associated with the directory
     Set objFolder = objFSO.GetFolder("\\excel-pc:43231\Shared Documents\Forms\")
    '** You'll need to specify your path here. By removing the http: from the path, the code liked it & found the folder. It wasn’t working previously ***
     pth = "http://excel-pc:43231/Shared Documents/Forms/"
    '** You'll need to specify your path here. The reason I’ve done this separately is because the path is not recognised otherwise when trying to specify it with workbook.open & using the value set for objFolder **
     ObCount = objFolder.Files.Count
    '** counts the number of files in the folder
     'Loop through the Files collection
     For Each objFile In objFolder.Files
     Nm1 = Len("http://excel-pc:43231/Shared Documents/Forms/")
    '** You'll need to specify your path here **
     Nm2 = Len(objFile) - Nm1
     FileNme = Right(objFile, Nm2)
    '** I’ve done this part to find out/set the file name**
     Set WBn = Workbooks.Open(pth & FileNme, , , , Password:="YourPassword")
    '** opens the first file in the library – if there is no password, the remove everything from - , , , , Password:="Password1" – leaving the close bracket ‘)’
     Application.ScreenUpdating = False
    '** optional – you can leave the screen updating on
    '<< Your coding here>>
    '** The file is now open. Enter whatever code is specific to your spreadsheets.
     Next
    '** goes to next file within your sharepoint folder
    End Sub
    Sub SharePoint()
    Dim xlFile As String, xlFullFile As String
    Dim xlApp As Excel.Application
    Dim wb As Workbook
    xlFile = "\\excel-pc:43231\Shared Documents"
    'http://excel-pc:43231/Shared Documents/
    '****----denotes the path.(i.e) u give the path as windows search.Don't use "\" at the end.
    'In the sharepoint path %20 denotes space.so u remove that and use space .
    Set xlApp = New Excel.Application
    xlApp.Visible = True
    xlFullFile = GetFullFileName(xlFile, "Book") 'ANZ denotes starting characters of the file.
    xlFile = xlFile & "\" & xlFullFile
    Set wb = xlApp.Workbooks.Open(xlFile, , False)
    'Once the workbook is opened u can do ur code here
    wb.Close False
    End Sub
    Function GetFullFileName(strfilepath As String, _
    strFileNamePartial As String) As String
    Dim objFS As Variant
    Dim objFolder As Variant
    Dim objFile As Variant
    Dim intLengthOfPartialName As Integer
    Dim strfilenamefull As String
    Set objFS = CreateObject("Scripting.FileSystemObject")
    Set objFolder = objFS.GetFolder(strfilepath)
    'work out how long the partial file name is
    intLengthOfPartialName = Len(strFileNamePartial)
    For Each objFile In objFolder.Files 'Instead of specifying the starting characters of the file you can directly loop through all files in the folder .
    'Test to see if the file matches the partial file name
    If Left(objFile.Name, intLengthOfPartialName) = strFileNamePartial Then
    'get the full file name
    strfilenamefull = objFile.Name
    Exit For
    Else
    End If
    Next objFile
    Set objFolder = Nothing
    Set objFS = Nothing
    'Return the full file name as the function's value
    GetFullFileName = strfilenamefull
    End Function
    Sub SrchForFiles()
    ' Searches the selected folders and sub folders for files with the specified (xls) extension.
    'ListTheFiles 'get the list of all the target XLS files on the SharePoint Directory
    Dim i As Long, z As Long, Rw As Long, ii As Long
    Dim ws As Worksheet, dd As Worksheet
    Dim y As Variant
    Dim fldr As String, fil As String, FPath As String
    Dim LocName As String
    Dim FString As String
    Dim SummaryWB As Workbook
    Dim SummaryWS As Worksheet
    Dim Raw_WS As Worksheet
    Dim LastRow As Long, FirstRow As Long, RowsOfData As Long
    Dim UseData As Boolean
    Dim FirstBlankRow As Long
    'grab current location for later reference, for where to paste final data
    Set SummaryWB = Application.ActiveWorkbook
    Set SummaryWS = Application.ActiveWorkbook.ActiveSheet
    y = "xls"
    fldr = "\\excel-pc:43231\Shared%20Documents\Forms\AllItems.aspx"
    FirstBlankRow = 2
    'asd is a 1-D array of files returned
    asd = ListFiles(fldr, True)
    Set ws = Excel.ThisWorkbook.Worksheets(1) 'list of files
    ws.Activate
    ws.Range("A1:Z100").Select
    Selection.Clear
    On Error GoTo 0
    For ii = LBound(asd) To UBound(asd)
    Debug.Print Dir(asd(ii))
    fil = asd(ii)
    'open the file and grab the data
    Application.Workbooks.Open (fil), False, True
    'Get file path from file name
    FPath = Left(fil, Len(fil) - Len(Split(fil, "\")(UBound(Split(fil, "\")))) - 1)
    'Get file information
    If Left$(fil, 1) = Left$(fldr, 1) Then
    If CBool(Len(Dir(fil))) Then
    z = z + 1
    ws.Cells(z + 1, 1).Resize(, 6) = _
    Array(Dir(fil), LocName, RowsOfData, Round((FileLen(fil) / 1000), 0), FileDateTime(fil), FPath)
    DoEvents
    With ws
    .Hyperlinks.Add .Range("A" & CStr(z + 1)), fil
    '.FoundFiles(i)
    End With
    End If
    End If
    'Workbooks.Close 'Fil
    Application.CutCopyMode = False 'Clear Clipboard
    Workbooks(Dir(fil)).Close SaveChanges:=False
    Next ii
    With ws
    Rw = .Cells.Rows.Count
    With .[A1:F1]
    .Value = [{"Full Name","Location","Rows of Data","Kilobytes","Last Modified", "Path"}]
    .Font.Underline = xlUnderlineStyleSingle
    .EntireColumn.AutoFit
    .HorizontalAlignment = xlCenter
    End With
    .[G1:IV1 ].EntireColumn.Hidden = True
    On Error Resume Next
    'Range(Cells(Rw, "A").End(3)(2), Cells(Rw, "A")).EntireRow.Hidden = True
    Range(.[A2 ], Cells(Rw, "C")).Sort [A2 ], xlAscending, Header:=xlNo
    End With
    End Sub
    Function ListFiles(ByVal Path As String, Optional ByVal NestedDirs As Boolean) _
    As String()
    Dim fso As New Scripting.FileSystemObject
    Dim fld As Scripting.folder
    Dim fileList As String
    ' get the starting folder
    Set fld = fso.GetFolder(Path)
    ' let the private subroutine do all the work
    fileList = ListFilesPriv(fld, NestedDirs)
    ' (the first element will be a null string unless the first ";" is removed)
    fileList = Right(fileList, Len(fileList) - 1)
    ' convert to a string array
    ListFiles = Split(fileList, ";")
    End Function
    ' private procedure that returns a file list
    ' as a comma-delimited list of files
    Function ListFilesPriv(ByVal fld As Scripting.folder, _
    ByVal NestedDirs As Boolean) As String
    Dim fil As Scripting.File
    Dim subfld As Scripting.folder
    ' list all the files in this directory
    For Each fil In fld.Files
    'If UCase(Left(Dir(fil), 5)) = "MULTI" And fil.Type = "Microsoft Excel Worksheet" Then
    If fil.Type = "Microsoft Excel Worksheet" Then
    ListFilesPriv = ListFilesPriv & ";" & fil.Path
    Debug.Print fil.Path
    End If
    Next
    ' if requested, search also subdirectories
    If NestedDirs Then
    For Each subfld In fld.SubFolders
    ListFilesPriv = ListFilesPriv & ListFilesPriv(subfld, NestedDirs)
    Next
    End If
    End Function
    Finally . . .
    Sub ListFiles()
        Dim folder As Variant
        Dim f As File
        Dim fs As New FileSystemObject
        Dim RowCtr As Integer
        Dim FPath As String
        Dim wb As Workbook
        RowCtr = 1
        FPath = "http://excel-pc:43231/Shared Documents"
        For Each f In FPath
        'Set folder = fs.GetFolder("C:\Users\Excel\Desktop\Ryan_Folder")
        'For Each f In folder.Files
           Cells(RowCtr, 1).Value = f.Name
           RowCtr = RowCtr + 1
        Next f
    End Sub
    Sub test()
        Set objFSO = CreateObject("Scripting.FileSystemObject")
        Set objFolder = objFSO.GetFolder("C:\Users\Excel\Desktop\Ryan_Folder")
        'Set colSubfolders = objFolder.SubFolders
        'For Each objSubfolder In colSubfolders
           Cells(RowCtr, 1).Value = f.Name
           RowCtr = RowCtr + 1
        'Next
    End Sub
    Ryan Shuell

  • Upload Excel data to Sharepoint list VIA infopath form

    Hi,
    I'll try to explain the process of what I want to do first.
    1. In Excel
    I have an exceldocument (XLS, XLSX or XLSM) with 4 named columns and a named worksheet saved locally on my computer.
    I want to upload this data into preferably a custom list in sharepoint but it needs to run via a infopath template first.
    2. In Infopath
    The Infopath template will prompt the user to specify values in 2 additional fields.
    After giving input to these fields user may browse for the locally stored excel document and upload the document.
    In the same infopath template a dynamic array should be visible containing 6 columns (4 from excel + 2 from headerlevel of template) and the amount of rows based on the number of rows from excelsheet.
    At the end of template a submit button is found for uploading the entire array into sharepoint custom list.
    Is this possible to do at all?
    NOTE! End user should not have to save the excelsheet as XML file nor do a XML mapping.
    Infopath should, perhaps with help of VBA read excelsheet and transfer data to correct destination in sharepoint on it self.
    Looking forward to your reply

    Hi Jonas,
    You can attach your Excel doucment into InfoPath form and send InfoPath form to a custom web service. Then you can parse the Excel data and combine the Excel data and additional fields into SharePoint list in the customized  web service.
    For more information, you can have a look at the thread:
    http://dandeng.blogspot.com/2012/03/submit-infopath-form-data-to-web.html
    http://www.codeproject.com/Articles/88547/Submit-entire-InfoPath-form-to-web-service
    https://social.msdn.microsoft.com/Forums/office/en-US/590f1e78-5c08-47bd-8af4-9709102b568d/webservice-to-send-attachments-in-infopath-form-to-different-location?forum=sharepointcustomization
    https://msdn.microsoft.com/en-us/library/office/gg575571.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Eric
    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]

  • Need to export data from reporting server to SharePoint List

    I have built a rudimentary dashboard using Excel and PowerPivot Gallery on SharePoint 2010.  I successfully exported the first dataset to a SharePoint List that I can access from my dashhboard, making it fairly portable. (Whoop!)  I've also found
    that I can create a bunch of new lists.  But I have not figured out how to update these lists daily.
    The most critical is an existing Odata connection:
    DataFeed_2_teams-company-com IMData.  I am trying to update that list from the new report (.xls format).  After saving it as .xlsx then closing and reopening, Odata and the existing connection are now enabled.  But when I try to connect,
    Excel tells me, "We can't use the data from this feed.  Make sure the external data feed server is available and that your connection information is correct."  The connection is available and I'm using the "authenticated user's account".
    I really don't mind if the data is deleted every day.
    Any ideas?
    -=-=-=-=-=-=-=-=-
    Another thing I've tried is exporting the data through the Table menu.  But since the list already exists, I can't do anything with it.
    Adios, Clay Harryman

    Hi,
    Do you have your Odata connection stored in a sharepoint list zo you can reference to that point?
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • Report workload by calculating how many versions of SharePoint list items created in a certain time period

    I have a total of 66 SharePoint 2010 lists - yes, 66! - each lists contains between 1500 and 3200 list items.  My employees update these various list items throughout their workday.  Each update to a list item creates a new version of the list
    item.  On average each list item will have anywhere from 5 to 10 versions before it is done.  I need to create a report that tells me how many list items they've updated in a certain time frame.  I have come close but still cannot arrive at
    the data I'm looking for. 
    This is what I have so far:
    I've created a report using SQL Report Builder 2008 v3 where I've filtered it to show only items MODIFIED between, for example, Feb1 and Feb28.  Of those records, I want the report to tell me how many versions were created during that time
    frame.  The result is one list item with 5 total versions.  Versions 1.0, 2.0, & 3.0 were created on 12/12/14.  The last two versions, 4.0 and 5.0, were created on 2/24/15.  Therefore, the answer I'm looking for is 2 because they
    created 2 versions between Feb1 and Feb28.
    However I get the following results using these queries:
    If I do a =Sum(Fields!owshiddenversion.Value) in the expression field I get the total versions which is 5
    If I do a =Count(Fields!owshiddenversion.Value) in the expression field I get the instance which is 1
    Is there a way to count ONLY the number of versions created in a time period?  Is there another hidden field in SharePoint that I can use in the expression that will give me results I'm looking for?

    Hi Rafael70,
    Per my understanding that you have already get all the need fields and informaiton of the updated version of list items and now you want to calculate how many versions of SharePoint list items created in a certain time period, you can't get desired result
    using sum and count function, right?
    I have tried to tested on my local environment but because I am not clear what is value in the field "owshiddenversion", I assumed you have two datatype parameters (StartDate and EndDate) to help filter the report in a certain time period.
    Generally, if you have add the filter correctly, it will filter the correct number's updated version in this time period, I would like you to provide details information as below to help better analysis the requirements:
    Could you please provide sample data of the table.
    Please provide snapshot of the report structure you have currently designed.
    Please try to provide all the expression you have used.
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Outlook - The path specified for the file SharePoint Lists PST is not valid

    Some users are connecting via Citrix XenApp to Microsoft Server 2008 R2 and using Microsoft Office 2010 (14.0.7109.5000) SP2 MSO (14.0.7116.5000) - Microsoft Office Profressional Plus 2010 x86 version for their email.  Microsoft Exchange Server 2010
    SP2 for email.
    They are connected to Microsoft SharePoint 2010 SP2 August 2013 CU, via a SharePoint Calender; they have View permissions to the SharePoint calendar using Classic Mode permissions (Not Claims).  No permissions have / are changing on this SharePoint
    Calendar.  They connect to the SharePoint Calender to Outlook.
    When they open up their Office Outlook client, they receive an error "Outlook Data File" "The path specified for the file \AppData\Local\Microsoft\Outlook\SharePoint Lists.pst is not valid." OK
    They select OK and they get a window popping up with the option to try to find the SharePoint list.  "Create/Open Outlook Data File" (File name: 'SharePoint Lists') Open Cancel.  They select Cancel.
    They are returned to their Outlook client "email." 
    As an I.T. administrator and SharePoint Administrator, I had a remote session with them, using Bomgar software and I Go to File Menu, Account Settings, SharePoint Lists Tab but there is no list there so go to the Data Files tab and see SharePoint Lists listed. 
    Selecting it once, and clicking on Settings... button gives error message similar to the one above about PST not valid.
    STRANGE in that, when you do that!  You can go to Home tab, Calendar (Ctrl+2), and see Other Calendars and now the SharePoint calendar that was supposed to be there before, but was just "empty!"  There was only the Other Calendars
    option but it didn't have any "sub" calendar item.
    A similar issue is when Other Calendars is listed, and has a sub calendar listed, a SharePoint connected calendar.  You click on it and get "Microsoft Outlook" "The set of folders cannot be opened. The path specified for the file c:\Users\USERNAMEHERE\AppData\Local\Microsoft\Outlook\SharePoint
    Lists.pst is not valid."  OK
    Click OK and go through the above steps to get the same result.  After going into Account Settings, Data Files, checking on the Settings... button, and receiving the error message, again mentioned above, and the prompt to Create/Open Outlook Data File,
    thgen I can go back into Account Settings, Data Files, and double click on the SharePoint Lists and instead of an error, the Outlook Data File comes up, with Change Password... Compact Now, Comment, Name, Filename, Format (Outlook Data File) OK Cancel.
    Can go back to the Calendar (Ctrl+2) and Other Calendars, and the SharePoint Calendar "Sub calendar" will appear and operate as normal!  All was done was go into the Account settings and "check" on the "error." 
    Tried to delete the SharePoint Lists and close out and add it and then go back in, and it "worked" for a few days.  I later turned on Logging and for over 24 hours it was on for the user.  The user was not on forever. 
    In the Outlook Logging folder, from the users profile, I found many *.log files, firstrun, OPMLog, ETL files, one of which is 6MB, and some prof_001_outlook....txt files.  I clickedo n the SharePoint Lists.pst.log file 1KB
    It is listed here:
    Store File Name: SharePoint Lists.pst
    Date|Time|Action|Search Owner|NID|Change Action|Change Semantics|URL|Count Of DocIDs|Next NID Index to add to All Msg folder|Next NID Index to push to FTE|Folder Path|Folder Path ID|HRESULT|Result Status
    2014/05/23|08:10:22:672|SGD_ScOpenNode(fCreate=FALSE)||||0x80040818|FAIL
    2014/05/23|08:10:22:672|SGD_ScOpenNode(fCreate=TRUE)|||||OK
    2014/05/23|08:10:22:673|Marking store for re-push: Newly created store|0|||||||||||OK
    2014/05/23|08:10:22:673|SGO_ScMarkPushEverythingDone|0|||||||||||OK
    firstrun.log
    *** Starting First Run (05-23-2014 07:32:08) ***
    ...HrPreSplashFirstRun called.
    ...HrPreLogFirstRun called.
    ...HrPostLogFirstRun called.
    ...deleting WAB4/UseOutlook because we're using MAPI.
    ...writing UUID to HKCU.
    ...setting Primary Client to Outlook.
    *** Ending First Run (05-23-2014 07:32:26) ***
    OPMLog.log
    2014.05.23 07:32:28 <<<< Logging Started (level is LTF_TRACE) >>>>
    2014.05.23 07:32:28 HELPER::Initialize called
    2014.05.23 07:32:28 Initializing: Finding a Transport
    2014.05.23 07:32:28 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:32:28 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:32:28 MAPI XP Call: TransportLogon, hr = 0x00000000
    2014.05.23 07:32:28 Initializing: Found a transport, Error code = 0x00000000
    2014.05.23 07:32:28 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
    2014.05.23 07:32:28 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:32:28 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
    2014.05.23 07:32:28 HELPER::Initialize done, Error code = 0x00000000
    2014.05.23 07:32:28 HELPER::GetCapabilities called, Error code = 0x00000000
    2014.05.23 07:32:28 HELPER::Initialize called
    2014.05.23 07:32:28 Initializing: Finding a Transport
    2014.05.23 07:32:28 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:32:28 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:32:28 MAPI XP Call: TransportLogon, hr = 0x00000000
    2014.05.23 07:32:28 Initializing: Found a transport, Error code = 0x00000000
    2014.05.23 07:32:28 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
    2014.05.23 07:32:28 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:32:28 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
    2014.05.23 07:32:28 HELPER::Initialize done, Error code = 0x00000000
    2014.05.23 07:32:28 HELPER::GetCapabilities called, Error code = 0x00000000
    2014.05.23 07:32:45 HELPER::Uninitialize called
    2014.05.23 07:32:45 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:32:45 MAPI XP Call: TransportNotify(END_IN|END_OUT), hr = 0x00000000
    2014.05.23 07:32:45 MAPI XP Call: TransportLogoff in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:32:45 MAPI XP Call: Shutdown, hr = 0x00000000
    2014.05.23 07:32:45 HELPER::Uninitialize called
    2014.05.23 07:32:45 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:32:45 MAPI XP Call: TransportNotify(END_IN|END_OUT), hr = 0x00000000
    2014.05.23 07:32:45 MAPI XP Call: TransportLogoff in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:32:45 MAPI XP Call: Shutdown, hr = 0x00000000
    2014.05.23 07:32:45 Resource manager terminated
    2014.05.23 07:34:06 <<<< Logging Started (level is LTF_TRACE) >>>>
    2014.05.23 07:34:06 HELPER::Initialize called
    2014.05.23 07:34:06 Initializing: Finding a Transport
    2014.05.23 07:34:06 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:34:06 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:34:06 MAPI XP Call: TransportLogon, hr = 0x00000000
    2014.05.23 07:34:06 Initializing: Found a transport, Error code = 0x00000000
    2014.05.23 07:34:06 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
    2014.05.23 07:34:06 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:34:06 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
    2014.05.23 07:34:06 HELPER::Initialize done, Error code = 0x00000000
    2014.05.23 07:34:06 HELPER::GetCapabilities called, Error code = 0x00000000
    2014.05.23 07:34:06 HELPER::Initialize called
    2014.05.23 07:34:06 Initializing: Finding a Transport
    2014.05.23 07:34:06 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:34:06 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:34:06 MAPI XP Call: TransportLogon, hr = 0x00000000
    2014.05.23 07:34:06 Initializing: Found a transport, Error code = 0x00000000
    2014.05.23 07:34:06 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
    2014.05.23 07:34:06 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:34:06 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
    2014.05.23 07:34:06 HELPER::Initialize done, Error code = 0x00000000
    2014.05.23 07:34:06 HELPER::GetCapabilities called, Error code = 0x00000000
    2014.05.23 07:35:12 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 07:35:12 [email protected]: UploadItems: 1 messages to send
    2014.05.23 07:35:12 EXECUTING Put MAPI TASK
    2014.05.23 07:35:13 Starting the Spooling Cycle
    2014.05.23 07:35:13 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:35:13 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 07:35:13 Sending one message
    2014.05.23 07:35:13 Progress: Sending message 'RE: Good Morning!' (size 14.76 KBytes)
    2014.05.23 07:35:13 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 07:35:13 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:35:13 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 07:35:13 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 07:35:13 FINISHED MAPI TASK
    2014.05.23 07:35:13 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 07:35:13 [email protected]: Synch operation completed
    2014.05.23 07:35:13 Sending done, Error code = 0x00000000
    2014.05.23 07:35:13 Sending done, Error code = 0x8004010f
    2014.05.23 07:35:13 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:35:13 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 07:37:53 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 07:37:53 [email protected]: UploadItems: 1 messages to send
    2014.05.23 07:37:53 EXECUTING Put MAPI TASK
    2014.05.23 07:37:53 Starting the Spooling Cycle
    2014.05.23 07:37:53 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:37:53 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 07:37:53 Sending one message
    2014.05.23 07:37:53 Progress: Sending message 'RE: Good Morning!' (size 14.03 KBytes)
    2014.05.23 07:37:53 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 07:37:53 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:37:53 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 07:37:53 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 07:37:53 FINISHED MAPI TASK
    2014.05.23 07:37:53 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 07:37:53 [email protected]: Synch operation completed
    2014.05.23 07:37:53 Sending done, Error code = 0x00000000
    2014.05.23 07:37:53 Sending done, Error code = 0x8004010f
    2014.05.23 07:37:53 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:37:53 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 07:57:34 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 07:57:34 [email protected]: UploadItems: 1 messages to send
    2014.05.23 07:57:34 EXECUTING Put MAPI TASK
    2014.05.23 07:57:34 Starting the Spooling Cycle
    2014.05.23 07:57:34 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:57:34 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 07:57:34 Sending one message
    2014.05.23 07:57:34 Progress: Sending message 'TP - Hold PE Call ' (size 6.00 KBytes)
    2014.05.23 07:57:34 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 07:57:34 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:57:34 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 07:57:34 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 07:57:34 FINISHED MAPI TASK
    2014.05.23 07:57:34 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 07:57:34 [email protected]: Synch operation completed
    2014.05.23 07:57:34 Sending done, Error code = 0x00000000
    2014.05.23 07:57:34 Sending done, Error code = 0x8004010f
    2014.05.23 07:57:34 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:57:34 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 07:58:58 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 07:58:58 [email protected]: UploadItems: 1 messages to send
    2014.05.23 07:58:58 EXECUTING Put MAPI TASK
    2014.05.23 07:58:58 Starting the Spooling Cycle
    2014.05.23 07:58:58 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:58:58 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 07:58:58 Sending one message
    2014.05.23 07:58:58 Progress: Sending message 'TP - Hold PE Call' (size 6.00 KBytes)
    2014.05.23 07:58:58 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 07:58:58 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:58:58 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 07:58:58 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 07:58:58 FINISHED MAPI TASK
    2014.05.23 07:58:58 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 07:58:58 [email protected]: Synch operation completed
    2014.05.23 07:58:58 Sending done, Error code = 0x00000000
    2014.05.23 07:58:58 Sending done, Error code = 0x8004010f
    2014.05.23 07:58:58 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:58:58 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:03:12 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 08:03:12 [email protected]: UploadItems: 1 messages to send
    2014.05.23 08:03:12 EXECUTING Put MAPI TASK
    2014.05.23 08:03:12 Starting the Spooling Cycle
    2014.05.23 08:03:12 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 08:03:12 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 08:03:12 Sending one message
    2014.05.23 08:03:12 Progress: Sending message 'Accepted: TP - Hold PE Call' (size 5.70 KBytes)
    2014.05.23 08:03:12 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 08:03:12 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 08:03:12 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 08:03:12 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 08:03:12 FINISHED MAPI TASK
    2014.05.23 08:03:12 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:03:12 [email protected]: Synch operation completed
    2014.05.23 08:03:12 Sending done, Error code = 0x00000000
    2014.05.23 08:03:12 Sending done, Error code = 0x8004010f
    2014.05.23 08:03:12 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:03:12 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:03:16 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 08:03:16 [email protected]: UploadItems: 1 messages to send
    2014.05.23 08:03:16 EXECUTING Put MAPI TASK
    2014.05.23 08:03:17 Starting the Spooling Cycle
    2014.05.23 08:03:17 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 08:03:17 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 08:03:17 Sending one message
    2014.05.23 08:03:17 Progress: Sending message 'Accepted: TP - Hold PE Call ' (size 5.70 KBytes)
    2014.05.23 08:03:17 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 08:03:17 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 08:03:17 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 08:03:17 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 08:03:17 FINISHED MAPI TASK
    2014.05.23 08:03:17 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:03:17 [email protected]: Synch operation completed
    2014.05.23 08:03:17 Sending done, Error code = 0x00000000
    2014.05.23 08:03:17 Sending done, Error code = 0x8004010f
    2014.05.23 08:03:17 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:03:17 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:08 [email protected]: Synch operation started (flags = 00000031)
    2014.05.23 08:04:08 [email protected]: StartImport(flags = 00000000, max msg = ffffffff): full items
    2014.05.23 08:04:08 [email protected]: UploadItems: 0 messages to send
    2014.05.23 08:04:08 [email protected]: Synch operation started (flags = 00000031)
    2014.05.23 08:04:08 [email protected]: StartImport(flags = 00000000, max msg = ffffffff): full items
    2014.05.23 08:04:08 [email protected]: UploadItems: 0 messages to send
    2014.05.23 08:04:08 Starting the Spooling Cycle
    2014.05.23 08:04:08 MAPI Status: (IN fl ---/OUT -- ---)
    2014.05.23 08:04:08 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001c
    2014.05.23 08:04:08 MAPI XP Call: Poll, hr = 0x00000000, cPollCount = 636
    2014.05.23 08:04:08 Progress: Receiving message (message 1 out of 637, size unknown)
    2014.05.23 08:04:08 Downloading one message
    2014.05.23 08:04:08 Transport tightly coupled with store, download is NOOP
    2014.05.23 08:04:08 Downloading done, Error code = 0x8004010f
    2014.05.23 08:04:08 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:04:08 FINISHED MAPI TASK
    2014.05.23 08:04:08 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:04:08 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:08 Starting the Spooling Cycle
    2014.05.23 08:04:08 MAPI Status: (IN fl ---/OUT -- ---)
    2014.05.23 08:04:08 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001c
    2014.05.23 08:04:08 MAPI XP Call: Poll, hr = 0x00000000, cPollCount = 706
    2014.05.23 08:04:08 Progress: Receiving message (message 1 out of 707, size unknown)
    2014.05.23 08:04:08 Downloading one message
    2014.05.23 08:04:08 Transport tightly coupled with store, download is NOOP
    2014.05.23 08:04:08 Downloading done, Error code = 0x8004010f
    2014.05.23 08:04:08 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:04:08 FINISHED MAPI TASK
    2014.05.23 08:04:08 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:04:08 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:08 EXECUTING EndSession MAPI TASK
    2014.05.23 08:04:09 Starting the Simplified Transfer Cycle
    2014.05.23 08:04:09 MAPI XP Call: Poll, hr = 0x00000000, iMsgsReceived = 0, cPollCount = 636
    2014.05.23 08:04:09 Progress: Receiving message (message 1 out of 637, size unknown)
    2014.05.23 08:04:09 Downloading one message
    2014.05.23 08:04:09 MAPI Status: (IN -- act/OUT -- ---)
    2014.05.23 08:04:09 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:04:09 Downloading done, Error code = 0x8004010f
    2014.05.23 08:04:09 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:09 FINISHED MAPI TASK
    2014.05.23 08:04:09 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:04:09 [email protected]: Synch operation completed
    2014.05.23 08:04:09 EXECUTING EndSession MAPI TASK
    2014.05.23 08:04:09 Starting the Simplified Transfer Cycle
    2014.05.23 08:04:09 MAPI XP Call: Poll, hr = 0x00000000, iMsgsReceived = 0, cPollCount = 706
    2014.05.23 08:04:09 Progress: Receiving message (message 1 out of 707, size unknown)
    2014.05.23 08:04:09 Downloading one message
    2014.05.23 08:04:09 MAPI Status: (IN -- act/OUT -- ---)
    2014.05.23 08:04:09 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:04:09 Downloading done, Error code = 0x8004010f
    2014.05.23 08:04:09 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:09 FINISHED MAPI TASK
    2014.05.23 08:04:09 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:04:09 [email protected]: Synch operation completed
    They are using a CRM client 2011 (Server is CRM 2011 - on premise) as well as having other connected email accounts - managed accounts, like Accounting or HR, etc.
    What can I look for / provide for you all to assist?  I am almost ready to open a ticket with Microsoft to resolve this as it has been happening for multiple users for multiple weeks.
    When "I" go in, logged on as myself, I do NOT have this problem, however my account is not "old" in that I just logged onto the account domain\matthew.carter, where these users use their accounts day in and day out for weeks / months
    / (some years).
    Thank you!

    Did you post this in the SharePoint Section? Did you find a resolution for this?
    We are experiencing the same issue and have yet to find anything to resolve this issue.
    Regards, Daniel
    I ended up scouring his old posts looking for the other thread, and he did open one in the SharePoint forum:
    https://social.technet.microsoft.com/Forums/office/en-US/3dded85b-73ee-47dc-9609-6ee65f329983/outlook-the-path-specified-for-the-file-sharepoint-lists-pst-is-not-valid?forum=sharepointadminprevious#3dded85b-73ee-47dc-9609-6ee65f329983
    Unfortunately, what was marked as an "answer" by the moderators isn't really an answer at all to the problem. We are experiencing pretty much an identical issue with a calendar people are adding to Outlook 2010 from SharePoint 2010 within a XenApp
    server (using roaming profiles). However, we have not had the issue occur outside of XenApp yet.

  • Is there a way to Insert Data into a Lookup Column Type on a SharePoint List Destination in SSIS?

    Greetings.
    I have successfully worked out inserting SQL data (2008 R2) into my 2010 SharePoint list (New, Update, Delete) by creating an SSIS Data Flow Task as outlined here:
    http://fsugeiger.blogspot.com/2010/01/synchronise-sql-table-with-sharepoint.html
    However, the problem I am running into is inserting data into the SharePoint Columns that are "Lookup" column types. I verified that all of the values I am copying from SQL into the SharePoint lookup column exist in the customn list it is pointing to. It
    is important to have this column be a lookup column as it links to another custom list that has many more columns of related information.
    I have read and re-read the SharePoint SSIS Adapters 2011.docx from
    http://sqlsrvintegrationsrv.codeplex.com/ and the only section that seems to apply is this:
    "Looking Up Values in a SharePoint List
    If you have to look up a value in a SharePoint list, you can use the Lookup transformation in your data flow, and use the SharePoint List source to load the lookup table. You may have to add a Derived Column transformation or a Script component that splits
    data in the lookup column on the ";#" delimiter to separate the ID value from the description.
    If you are replacing values in your data with the values that you look up in the list, then loading the changed data back into SharePoint, you only have to include the ID from the lookup column. SharePoint ignores the description if you include it."
    I am not sure if the above statement means that I should be passing the assocaited ID's other than the actual data into the SharePoint List destination. If that is the case, that will not really work as the lookup contains hundreds of rows. Not too mention
    I have several of these lookup column types pointing to several different lists.
    Any guidance in how I can put data into a SharePoint Lookup column type via Data Flow Task would be so much appreaciated.
    Thank you.
    My errors are:
    Error: 0x0 at Data Flow Task, SharePoint List Destination: Error on row ID="1": 0x1 - Unspecified error, such as too many items being updated at once (batch), or an invalid core field value.
    Error: 0xC0047062 at Data Flow Task, SharePoint List Destination [1903]: Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.PipelineProcessException: Errors detected in this component - see SSIS Errors at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListDestination.ProcessInput(Int32
    inputID, PipelineBuffer buffer) at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
    Error: 0xC0047022 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "SharePoint List Destination" (1903) failed with error code 0x80131500 while processing input "Component Input" (1912). The identified
    component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will

    I have found a solution to my problem and thought I would share it here in case there are others who are struggling with the above scenario. If you have a better way, I would love to hear about it since my way is a bit tedious.
    In a nutshell, in order to have an SSIS package put data from an OLE DB Source into a SharePoint List Destination Lookup Column, you need to pass the ID of the value that is being looked up, not the value that is in the “master” OLE DB source.
    Rough explanation, OLE DB Source value for column “Approp” is “4005” --> SQL matches “4005” with the ID in the new lookup table (“4005” = ID “5” as defined in the SharePoint lookup list) --> “5” gets passed into SharePoint List destination lookup
    column --> SharePoint displays “4005” and successfully links to the lookup list.
    Funny thing (not really), the error(s) outlined in my original post are not related in getting data into a SharePoint Lookup column as I am now successful in getting data into the system but I am still getting the same above error(s). I think it has to do
    with the ID column in the SharePoint list destination. What I can’t seem to figure out is why since I am not linking any data to that ID column (at least on new records). I am however linking it on Update and Delete and the errors mentioned above disappear
    and things work well.
    There are three tasks that need to get done in order to get data from SQL into a SharePoint lookup column assuming you have already set up your SharePoint lookup lists:
    1. Create new lookup table(s) in SQL that has the IDs from the SharePoint Lookup list and the values coming from the “master” OLD DB Source. You can see the ID column in SharePoint by toggling it on in a view.
    2. Create a SQL command that JOINs all the databases and tables so that the ID is passed and not the value into the SharePoint lookup column
    3. Change the “Data access mode” to “SQL Command” instead of the “Table or view” in the OLE DB Source and paste your command into the “SQL command text:” area.
    Other helpful info is that you may also need to add additional columns in the new lookup tables in SQL for the scenarios when the data is not unique. You can see this two times in my SQL command example for Units and JobTitles:
    SELECT
    pps.SSNm,
    pps.file_updated,
    pps.Employee_id,
    /* pps.CheckDistNm,*/
    Check_Distribution_id = COALESCE( d.ID, 0 ),
    pps.Job_nbr,
    pps.SeqNm,
    pps.action_eff_dt,
    Fund_id = COALESCE( f.id, 0 ),
    Appropriation_id = COALESCE( ap.id, 0 ),
    ActionCode_id = COALESCE( ac.id, 0 ),
    SpecNumber_id = COALESCE( jt.ID, 0 ),
    pps.Employee_id,
    /* pps.Fund,
    pps.Approp,
    pps.Unit,*/
    Unit_id = COALESCE( u.ID, 0 ),
    PosNm,
    PosCode,
    pps.LastName,
    pps.FirstName,
    pps.MI
    FROM
    x_PPS.aReportVw.pps_screens_active AS pps
    LEFT OUTER JOIN dbo.DistributionNumbers AS d ON
    pps.CheckDistNm = d.Check_Distribution
    LEFT OUTER JOIN dbo.Units AS u ON
    pps.Fund = u.Fund AND
    pps.Approp = u.Approp AND
    pps.Unit = u.Unit
    LEFT OUTER JOIN dbo.Appropriations AS ap ON
    pps.Approp = ap.Approp
    LEFT OUTER JOIN dbo.Funds AS f ON
    pps.Fund = f.Fund
    LEFT OUTER JOIN dbo.ActionCodes AS ac ON
    pps.ActionCode = ac.ActionCode
    LEFT OUTER JOIN dbo.JobTitles AS jt ON
    pps.SpecNm = jt.SpecNumber AND
    pps.JurisClass = jt.JurisClass

  • SSRS reporting with sharepoint list using Distinct and Multivalue parameters

    i want create ssrs report with sharepoint list using ms-vs(2008). i want create Distinct multivalue parameters by using CAML query. There is any way we put CAML query where we use Distinct keyword and IN clause in CAML query... i hope all experts will
    understand my poor English... sorry for poor English.. plz help me

    Hi AsifMehmood,
    Per my understanding you have create an SSRS report with SharePoint list, now you don’t know to create the distinct parameters by using CAML query,  right?
    For the CAML language doesn’t have any reserved word (or tag) to set this particular filter to remove duplicate results, but we can use the custom code to do this function. I have tested on my local environment and we can do that by create one hidden parameter(Param1)
    to get all the values from the fields which will  add the filter and then create another parameter(Param2) to get the distinct values based on the Param1, we use the custom code to do the deduplication.
    Step by Steps information in below thread for your reference to create the parameters and the custom code:
    "How to get distinct values of sharepoint column using SSRS"
    Other similar thread for your reference:
    https://audministrator.wordpress.com/2014/02/17/sharepoint-list-add-distinct-parameter-value/
    If your problem still exists, please feel free to ask and also try to provide us more details information.
    Regards
    Vicky Liu

  • Updating a secondary datasource to a Sharepoint list via infopath form rules

    Using SharePoint 2010 and InfoPath 2010 I created a form that prior to submission it gets an integer value from a separate SharePoint list via a secondary datasource.  Just before the rule that submits the form to a document folder via the
    main datasource I increment the integer value and try to write it back to the secondary datasource I got it from.  I know that I have the correct value.  That is, it is reading from the data source the correct integer information and it is incrementing
    it in the form but when it writes the value back to the same column in the same secondary datasource it doesn't give any indication that it didn't work.  But when I look at the list of the secondary data source I see that the integer value is
    not updated.

    Hi Jonas,
    You can attach your Excel doucment into InfoPath form and send InfoPath form to a custom web service. Then you can parse the Excel data and combine the Excel data and additional fields into SharePoint list in the customized  web service.
    For more information, you can have a look at the thread:
    http://dandeng.blogspot.com/2012/03/submit-infopath-form-data-to-web.html
    http://www.codeproject.com/Articles/88547/Submit-entire-InfoPath-form-to-web-service
    https://social.msdn.microsoft.com/Forums/office/en-US/590f1e78-5c08-47bd-8af4-9709102b568d/webservice-to-send-attachments-in-infopath-form-to-different-location?forum=sharepointcustomization
    https://msdn.microsoft.com/en-us/library/office/gg575571.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Eric
    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]

  • Sharepoint throw a javascript error while adding items to sharepoint list

    sharepoint throw javascript error when adding item to list
    error called:  this._registeredValidators[validatorIdx].Validate is not a function
    any help please

    Hi,
    If you want to validatelist column, there is out of the box way to accomplish this with SharePoint
    There's a great blog that covers how to validate Strict Text Formats:
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-strict-text-formats-in-sharepoint-2010/
    In addition, we can use JavaScript to validate column. Please make sure you use the code correctly.
    More information:
    http://chrisstahl.wordpress.com/2011/02/06/validate-a-sharepoint-list-column-with-regular-expression/
    http://blog.tallan.com/2013/09/16/how-to-add-custom-validation-logic-to-validate-a-phone-field-in-sharepoint/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Horizon2 Bluetooth mouse randomly locks up for minutes at a time.

    The only solution is to re-pair the mouse (any bluetooth mouse, ive tried 3 and they all lock up) or reboot the computer, which is really bothersom when it locks up in the middle of something important and the only way to get out is use the touchscre

  • ISE 1.2 with AD

                       i have starnge issue but i think it is related to windows machines , i just want to know if any one faced it in ISE deployment. the ISE authentication logging receive the machine name(identity) as "mac address" then when ISE ask AD

  • A 16:9 to 4:3 problem

    Someone provided me with (2) DVD's which have video on them that plays in a 4:3 player window when I pop it into DVD Player on the Mac. However, the video is obviously squeezed. When I play the DVD's on my HDTV 16 x 9 TV (and my external DVD player),

  • For iPhone 4S. How do I mass delete all the emails in my inbox?

    iPhone 4S. iOS8.1. App - Mail. I want to mass delete all the emails in my inbox. How can I do this without having to delete each email individually?

  • Printing too low

    All my PDF's just started printing 2 inches down the page and run off. I have a MAC, HP Photosmart, Reader 11.0.10