<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>SLAM Discussions Rss Feed</title><link>http://www.codeplex.com/SLAM/Thread/List.aspx</link><description>SLAM Discussions Rss Description</description><item><title>New Post: Double hit on Sync</title><link>http://slam.codeplex.com/discussions/438944</link><description>&lt;div style="line-height: normal;"&gt;Is there any real reason on a double hit on new sync?&lt;br /&gt;
&lt;br /&gt;
I see you are triggering on Updating and Updated.&lt;br /&gt;
Is there a reason you are doing this?&lt;br /&gt;
&lt;br /&gt;
Also, you seem to be storing the SlamIdNumber in the sites property bag every time you get a new ID.  Can you maybe explain why you are doing this?  I am just curious.&lt;br /&gt;
&lt;br /&gt;
I feel is slows down the process.&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Wed, 03 Apr 2013 13:26:05 GMT</pubDate><guid isPermaLink="false">New Post: Double hit on Sync 20130403012605P</guid></item><item><title>New Post: Lookup Column - System.FormatException: String was not recognized as a valid DateTime.   </title><link>http://slam.codeplex.com/discussions/395491</link><description>&lt;div style="line-height: normal;"&gt;I had this same issue yesterday.&lt;br /&gt;
&lt;br /&gt;
Regarding the second solution, it appears that the 'LastUpdated' SLAM property value is in US date format but the 'Modified' field in my list is in UK format due to the site being set to use UK regional settings.&lt;br /&gt;
&lt;br /&gt;
I've updated the above VerifyItemRequiresSlamUpdate method to use SPUtility.ParseDate on the 'Modified' field only:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;public static bool VerifyItemRequiresSlamUpdate(this SPListItem listItem)
{
        bool result;
        string updatedDateString = listItem.GetSlamPropertyValue(&amp;quot;LastUpdated&amp;quot;);
        string modifiedDateString = listItem[&amp;quot;Modified&amp;quot;].ToString();
        SPWeb web = listItem.Web;

        try
        {
            result = !(!String.IsNullOrEmpty(updatedDateString)
                &amp;amp;&amp;amp; (DateTime.Parse(updatedDateString, DateTimeFormatInfo.InvariantInfo)
                    .CompareTo(SPUtility.ParseDate(web, modifiedDateString, SPDateFormat.DateTime, false)) &amp;gt;= 0));
        }
        catch (Exception ex)
        {
            try
            {
                result = !(!String.IsNullOrEmpty(updatedDateString)
                    &amp;amp;&amp;amp; (DateTime.Parse(updatedDateString)
                        .CompareTo(SPUtility.ParseDate(web, modifiedDateString, SPDateFormat.DateTime, false)) &amp;gt;= 0));
            }
            catch (Exception)
            {
                ILogger logger = ComponentService.GetInstance&amp;lt;ILogger&amp;gt;();
                logger.LogMessage(&amp;quot;Exception&amp;quot;, &amp;quot;Unable to compare dates: updated = &amp;quot; + updatedDateString + &amp;quot;, modified = &amp;quot; + modifiedDateString + &amp;quot;, &amp;quot; + ex.StackTrace);
                result = true;
            }
        }

        return result;
}
&lt;/code&gt;&lt;/pre&gt;

I also noticed that in the 'LastUpdated' datetime is being set using the InvariantInfo, hence the first check. At the end of the sync, I was receiving an exception on the updatedDateString masked as System.Data.SqlClient.SqlException: There is already an object named 'SLAM' in the database, hence the second check.&lt;br /&gt;
&lt;br /&gt;
It seems to work for me - exception free - and hopefully prevents a lot of unnecessary updating?&lt;br /&gt;
&lt;br /&gt;
Hope this helps.&lt;br /&gt;
&lt;/div&gt;</description><author>thirdrock</author><pubDate>Fri, 22 Mar 2013 12:28:04 GMT</pubDate><guid isPermaLink="false">New Post: Lookup Column - System.FormatException: String was not recognized as a valid DateTime.    20130322122804P</guid></item><item><title>New Post: Sharepoint 2013 support</title><link>http://slam.codeplex.com/discussions/436983</link><description>&lt;div style="line-height: normal;"&gt;Yes.  We are still working out some details, but hopefully we will start working on it soon.&lt;br /&gt;
&lt;/div&gt;</description><author>brjenkins</author><pubDate>Mon, 18 Mar 2013 02:13:29 GMT</pubDate><guid isPermaLink="false">New Post: Sharepoint 2013 support 20130318021329A</guid></item><item><title>New Post: Sharepoint 2013 support</title><link>http://slam.codeplex.com/discussions/436983</link><description>&lt;div style="line-height: normal;"&gt;Hi there&lt;br /&gt;
&lt;br /&gt;
Any plans to support SharePoint 2013 edition?&lt;br /&gt;
&lt;/div&gt;</description><author>wdtlhelpdesk</author><pubDate>Mon, 18 Mar 2013 01:21:12 GMT</pubDate><guid isPermaLink="false">New Post: Sharepoint 2013 support 20130318012112A</guid></item><item><title>New Post: SLAM v2.1 Update Question</title><link>http://slam.codeplex.com/discussions/435790</link><description>&lt;div style="line-height: normal;"&gt;Is there a switch in the XML to exclude folders?  They are going to make a lot of inaccurate records for me.&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Mon, 11 Mar 2013 17:09:45 GMT</pubDate><guid isPermaLink="false">New Post: SLAM v2.1 Update Question 20130311050945P</guid></item><item><title>New Post: SLAM v2.1 Update Question</title><link>http://slam.codeplex.com/discussions/435790</link><description>&lt;div style="line-height: normal;"&gt;Humm... I never thought about folders, since records don't care about folders.&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Fri, 08 Mar 2013 17:09:56 GMT</pubDate><guid isPermaLink="false">New Post: SLAM v2.1 Update Question 20130308050956P</guid></item><item><title>New Post: SLAM v2.1 Update Question</title><link>http://slam.codeplex.com/discussions/435790</link><description>&lt;div style="line-height: normal;"&gt;A modified form of this change is included in the release now.  The change is that scope is RecursiveAll so that folders are included, and paging also will apply to lists being synchronized by content type.&lt;br /&gt;
&lt;/div&gt;</description><author>brjenkins</author><pubDate>Fri, 08 Mar 2013 16:25:17 GMT</pubDate><guid isPermaLink="false">New Post: SLAM v2.1 Update Question 20130308042517P</guid></item><item><title>New Post: SLAM v2.1 Update Question</title><link>http://slam.codeplex.com/discussions/435790</link><description>&lt;div style="line-height: normal;"&gt;I posted it under &amp;quot;The BIG Perforance Test lots of records&amp;quot;&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Fri, 08 Mar 2013 13:51:32 GMT</pubDate><guid isPermaLink="false">New Post: SLAM v2.1 Update Question 20130308015132P</guid></item><item><title>New Post: The BIG Perforance Test lots of records</title><link>http://slam.codeplex.com/discussions/432093</link><description>&lt;div style="line-height: normal;"&gt;OK,&lt;br /&gt;
Please let em know if you see any issues and maybe when you could have this in the final version?&lt;br /&gt;
Rick&lt;br /&gt;
&lt;br /&gt;
Here is my code:&lt;br /&gt;
&lt;br /&gt;
This is the method I added under Core\Activation\SqlDataSynchronizeTypeProcessor.cs&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    /// &amp;lt;summary&amp;gt;
    /// Helper method pages the list items.
    /// &amp;lt;/summary&amp;gt;
    /// &amp;lt;param name=&amp;quot;currList&amp;quot;&amp;gt;This is the current List object&amp;lt;/param&amp;gt;      
    private void ProcessList(SPList currList)
    {
        SPQuery spQuery = new SPQuery();
        spQuery.RowLimit = 1000;
        spQuery.ViewAttributes = &amp;quot;Scope=\&amp;quot;Recursive\&amp;quot;&amp;quot;;

        do
        {
            SPListItemCollection collListItems = currList.GetItems(spQuery);

            foreach (SPListItem listItem in collListItems)
            {
                SynchronizeListItem(listItem);
            }
            spQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
        } while (spQuery.ListItemCollectionPosition != null);

    }
&lt;/code&gt;&lt;/pre&gt;

I replaced:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    //Call update for every item in the list
    //foreach (SPListItem listItem in list.Items)
    //{
    //    SynchronizeListItem(listItem);
    //}


    //foreach (SPListItem listItem in list.Folders)
    //{
    //    SynchronizeListItem(listItem);
    //}&lt;/code&gt;&lt;/pre&gt;

With:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    ProcessList(list);&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>rtonerii</author><pubDate>Thu, 07 Mar 2013 20:29:53 GMT</pubDate><guid isPermaLink="false">New Post: The BIG Perforance Test lots of records 20130307082953P</guid></item><item><title>New Post: SLAM v2.1 Update Question</title><link>http://slam.codeplex.com/discussions/435790</link><description>&lt;div style="line-height: normal;"&gt;That works.&lt;br /&gt;
&lt;/div&gt;</description><author>brjenkins</author><pubDate>Thu, 07 Mar 2013 18:00:37 GMT</pubDate><guid isPermaLink="false">New Post: SLAM v2.1 Update Question 20130307060037P</guid></item><item><title>New Post: SLAM v2.1 Update Question</title><link>http://slam.codeplex.com/discussions/435790</link><description>&lt;div style="line-height: normal;"&gt;I didn't, I have never updated code through CodePlex.  I would have to paste the code here and have someone else add it.&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Thu, 07 Mar 2013 17:59:47 GMT</pubDate><guid isPermaLink="false">New Post: SLAM v2.1 Update Question 20130307055947P</guid></item><item><title>New Post: SLAM v2.1 Update Question</title><link>http://slam.codeplex.com/discussions/435790</link><description>&lt;div style="line-height: normal;"&gt;Did you submit a patch with that code?   If you have it then we can add that as well.&lt;br /&gt;
&lt;/div&gt;</description><author>brjenkins</author><pubDate>Thu, 07 Mar 2013 17:51:36 GMT</pubDate><guid isPermaLink="false">New Post: SLAM v2.1 Update Question 20130307055136P</guid></item><item><title>New Post: SLAM v2.1 Update Question</title><link>http://slam.codeplex.com/discussions/435790</link><description>&lt;div style="line-height: normal;"&gt;Would this happen to include using the SPQuery object and paging?  If it doesn't, I have the code for that and it seems to be working great.&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Thu, 07 Mar 2013 17:48:32 GMT</pubDate><guid isPermaLink="false">New Post: SLAM v2.1 Update Question 20130307054832P</guid></item><item><title>New Post: The BIG Perforance Test lots of records</title><link>http://slam.codeplex.com/discussions/432093</link><description>&lt;div style="line-height: normal;"&gt;OK,&lt;br /&gt;
It is crunching on the live server!  I am not seeing any memory leaks anymore.  This might work.  I will let you know tomorrow.&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Tue, 05 Mar 2013 22:23:35 GMT</pubDate><guid isPermaLink="false">New Post: The BIG Perforance Test lots of records 20130305102335P</guid></item><item><title>New Post: The BIG Perforance Test lots of records</title><link>http://slam.codeplex.com/discussions/432093</link><description>&lt;div style="line-height: normal;"&gt;VS 2012&lt;br /&gt;
&lt;/div&gt;</description><author>brjenkins</author><pubDate>Tue, 05 Mar 2013 21:58:23 GMT</pubDate><guid isPermaLink="false">New Post: The BIG Perforance Test lots of records 20130305095823P</guid></item><item><title>New Post: The BIG Perforance Test lots of records</title><link>http://slam.codeplex.com/discussions/432093</link><description>&lt;div style="line-height: normal;"&gt;Are you using VS 2010 or 2012 for this?&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Tue, 05 Mar 2013 21:55:38 GMT</pubDate><guid isPermaLink="false">New Post: The BIG Perforance Test lots of records 20130305095538P</guid></item><item><title>New Post: The BIG Perforance Test lots of records</title><link>http://slam.codeplex.com/discussions/432093</link><description>&lt;div style="line-height: normal;"&gt;Use Main.&lt;br /&gt;
&lt;/div&gt;</description><author>brjenkins</author><pubDate>Tue, 05 Mar 2013 21:52:38 GMT</pubDate><guid isPermaLink="false">New Post: The BIG Perforance Test lots of records 20130305095238P</guid></item><item><title>New Post: The BIG Perforance Test lots of records</title><link>http://slam.codeplex.com/discussions/432093</link><description>&lt;div style="line-height: normal;"&gt;OK,&lt;br /&gt;
I am trying to update my code, what folder do I use?  2.0 or 3.0?&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Tue, 05 Mar 2013 21:45:12 GMT</pubDate><guid isPermaLink="false">New Post: The BIG Perforance Test lots of records 20130305094512P</guid></item><item><title>New Post: The BIG Perforance Test lots of records</title><link>http://slam.codeplex.com/discussions/432093</link><description>&lt;div style="line-height: normal;"&gt;Just to let you know, I am doing this on a webpart but it is taking 15 seconds to load the records.  But I am doing it with view fields and SPQuery.  I am just worried if I start digging into this that it might end up being a rewrite and then it would be better for me to start from scratch.&lt;br /&gt;
&lt;/div&gt;</description><author>rtonerii</author><pubDate>Mon, 18 Feb 2013 14:07:53 GMT</pubDate><guid isPermaLink="false">New Post: The BIG Perforance Test lots of records 20130218020753P</guid></item><item><title>New Post: Synchronization Failed. NullReferenceException</title><link>http://slam.codeplex.com/discussions/431163</link><description>&lt;div style="line-height: normal;"&gt;After correcting your xml did you activate again?&lt;br /&gt;
&lt;br /&gt;
If you do that, what happens if you add/update a single item?&lt;br /&gt;
&lt;/div&gt;</description><author>brjenkins</author><pubDate>Fri, 15 Feb 2013 19:55:35 GMT</pubDate><guid isPermaLink="false">New Post: Synchronization Failed. NullReferenceException 20130215075535P</guid></item></channel></rss>