<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-15200454</id><updated>2012-01-27T12:40:22.941-05:00</updated><category term='Google Maps'/><category term='Demote'/><category term='DCR'/><category term='SQL'/><category term='Outlook'/><category term='ECM'/><category term='SQL Server'/><category term='ItemAdded'/><category term='AJAX'/><category term='SPFile'/><category term='Delete'/><category term='ISO 9000'/><category term='Security'/><category term='Part 11'/><category term='FDA'/><category term='Tele Greenland'/><category term='case-sensitive'/><category term='arbejdsgangbank'/><category term='WebPartPage'/><category term='SPRequestStackTrace'/><category term='Web Part'/><category term='GANTT'/><category term='MOSS'/><category term='Property'/><category term='Office 2007'/><category term='Events'/><category term='Activitystream'/><category term='DOCX'/><category term='Android'/><category term='Processer'/><category term='Facebook'/><category term='Exformatics'/><category term='Promote'/><category term='Dynamic condition response'/><category term='lean'/><category term='jQuery'/><category term='Project Management'/><category term='OWA'/><category term='new SPSite'/><category term='Office'/><category term='SharePoint'/><category term='XML'/><category term='Workflow'/><category term='BPM'/><category term='Content type'/><category term='PowerPoint'/><category term='F#'/><category term='SharePoint 2010'/><category term='Search'/><category term='Word'/><category term='XPDL'/><category term='WSS'/><category term='Regulatory Document Management'/><category term='iPhone'/><category term='arbejdsgang'/><category term='Document Library'/><category term='NoEmail'/><category term='BPMN'/><category term='ESDH'/><category term='MOSS2007'/><category term='Audience'/><category term='iPad'/><category term='Wiki'/><category term='LocalSPRequestWarnCount'/><category term='InfoPath'/><category term='Excel'/><title type='text'>SharePoint</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default?start-index=101&amp;max-results=100'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>135</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-15200454.post-7006122927706006460</id><published>2012-01-25T09:30:00.000-05:00</published><updated>2012-01-25T09:30:28.163-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NoEmail'/><title type='text'>#Noemail – tag kontrol over indbakken</title><content type='html'>Read about our #NoEmail initiative on our &lt;a href="http://exformatics.dk/forside/noemail.aspx"&gt;web site&lt;/a&gt; or on &lt;a href="http://www.facebook.com/Exformatics"&gt;Facebook&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Comments appreciated&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-7006122927706006460?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://exformatics.dk/forside/noemail.aspx' title='#Noemail – tag kontrol over indbakken'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/7006122927706006460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=7006122927706006460' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7006122927706006460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7006122927706006460'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2012/01/noemail-tag-kontrol-over-indbakken.html' title='#Noemail – tag kontrol over indbakken'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-7764692724728952262</id><published>2012-01-17T01:36:00.000-05:00</published><updated>2012-01-17T01:36:30.756-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='ItemAdded'/><title type='text'>The importance of synchronous event handlers</title><content type='html'>Finally a good explanation on the issues we face with SharePoint 2010 compared with SharePoint 2007. We have a global unique document id which enables us to support quality requirements such as FDA 21 CFR Part 11 and ISO 9000. Everytime a document is added to SharePoint we give it a unique id and makes a MD5 hash of the metadata and document in order to &lt;em&gt;prove&lt;/em&gt; that the document was indeed created on the specific date. When making a major approval, publishing, we run a workflow which prompts various users for a electronic signature which is stored with the document.&lt;br /&gt;&lt;br /&gt;This works great in SharePoint 2007. We use ItemAdded to add the unique document id. However, we sometimes face some issues with SharePoint 2010. Obviously it is related to the timing om ItemAdded which is used. As it runs asynchronous we cannot be certain when the code is run - so sometimes we experience that the code is run and a unique document id is assigned to the document, but when we check the document afterwards the field is empty.&lt;br /&gt;&lt;br /&gt;Setting ItemAdded to run synchronous solves our issue. Thanks for the &lt;a href="http://www.sharepoint-tips.com/2012/01/importance-of-synchronous-event.html"&gt;hint&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-7764692724728952262?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.sharepoint-tips.com/2012/01/importance-of-synchronous-event.html' title='The importance of synchronous event handlers'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/7764692724728952262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=7764692724728952262' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7764692724728952262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7764692724728952262'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2012/01/importance-of-synchronous-event.html' title='The importance of synchronous event handlers'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6125742881424070610</id><published>2012-01-16T02:57:00.001-05:00</published><updated>2012-01-17T01:57:24.476-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Activitystream'/><category scheme='http://www.blogger.com/atom/ns#' term='NoEmail'/><title type='text'>#NoEmail - New Year promise - no more emails</title><content type='html'>Read this &lt;a href="http://www.version2.dk/artikel/dansk-esdh-firma-dropper-interne-e-mails-42869"&gt;acticle &lt;/a&gt;about our New Year promise - no more internal emails. In danish - but use Google Translate.&lt;br /&gt;&lt;br /&gt;Another article - also in danish - can be found &lt;a href="http://www.comon.dk/art/208702/dansk-firma-beloenner-ansatte-for-at-droppe-email"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6125742881424070610?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.version2.dk/artikel/dansk-esdh-firma-dropper-interne-e-mails-42869' title='#NoEmail - New Year promise - no more emails'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6125742881424070610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6125742881424070610' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6125742881424070610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6125742881424070610'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2012/01/noemail-new-year-promise-no-more-emails.html' title='#NoEmail - New Year promise - no more emails'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-3433514250649372840</id><published>2012-01-03T08:08:00.006-05:00</published><updated>2012-01-11T14:24:45.927-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='iPad'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='ECM'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>SharePoint content - Anywhere</title><content type='html'>&lt;a href="http://exformatics.com/Solutions/ExformaticsAnywhere.aspx"&gt;Exformatics Anywhere&lt;/a&gt; enables access to SharePoint content behind the firewall from your iPhone, iPad ogg Android device.&lt;br /&gt;&lt;br /&gt;Enterprise Content Management (ECM) solutions can now be accessed from &lt;a href="http://mobileenterprise.edgl.com/products/New-Solution-for-Anytime,-Anywhere-Enterprise-Content-Management77653.aspx"&gt;mobile devices&lt;/a&gt;. Several &lt;a href="http://openpr.com/news/205131/ECM-app-empowers-mobile-users.html"&gt;links&lt;/a&gt; refers to this.&lt;br /&gt;&lt;br /&gt;Find application on &lt;a href="https://market.android.com/details?id=org.exformatics"&gt;Android Market&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-3433514250649372840?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://mobileenterprise.edgl.com/products/New-Solution-for-Anytime,-Anywhere-Enterprise-Content-Management77653.aspx' title='SharePoint content - Anywhere'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/3433514250649372840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=3433514250649372840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3433514250649372840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3433514250649372840'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2012/01/sharepoint-content-anywhere.html' title='SharePoint content - Anywhere'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6166278951006702555</id><published>2011-06-11T18:09:00.000-04:00</published><updated>2012-01-11T18:12:08.066-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic condition response'/><category scheme='http://www.blogger.com/atom/ns#' term='Workflow'/><title type='text'>Designing a Cross-organizational Case Management System using Dynamic Condition Response Graphs</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6166278951006702555?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.mendeley.com/research/designing-crossorganizational-case-management-system-using-dynamic-condition-response-graphs/' title='Designing a Cross-organizational Case Management System using Dynamic Condition Response Graphs'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6166278951006702555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6166278951006702555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6166278951006702555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6166278951006702555'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2011/06/designing-cross-organizational-case.html' title='Designing a Cross-organizational Case Management System using Dynamic Condition Response Graphs'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1134244945701417784</id><published>2011-03-18T07:42:00.003-05:00</published><updated>2012-01-11T14:20:45.796-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='ESDH'/><title type='text'>Put lidt Facebook i dit ESDH</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Sikke vi er i vælten for nærværende&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1134244945701417784?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.version2.dk/artikel/18447-put-lidt-facebook-i-dit-esdh' title='Put lidt Facebook i dit ESDH'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1134244945701417784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1134244945701417784' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1134244945701417784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1134244945701417784'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2011/03/put-lidt-facebook-i-dit-esdh.html' title='Put lidt Facebook i dit ESDH'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6780305909724118261</id><published>2011-03-17T10:41:00.004-05:00</published><updated>2012-01-11T14:21:11.418-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NoEmail'/><title type='text'>Danske Exformatics vil udrydde interne e-mails</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Værd at læse. Vi har sådan set sagt dette siden 2003 men som altid tager det tid at få den slags budskaber ud.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6780305909724118261?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.comon.dk/nyheder/danske-exformatics-vil-udrydde-interne-e-mails-1.420102.html' title='Danske Exformatics vil udrydde interne e-mails'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6780305909724118261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6780305909724118261' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6780305909724118261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6780305909724118261'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2011/03/danske-exformatics-vil-udrydde-interne.html' title='Danske Exformatics vil udrydde interne e-mails'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-735831609215245595</id><published>2011-01-11T18:28:00.004-05:00</published><updated>2011-01-21T18:29:38.664-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='lean'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Lean med SharePoint</title><content type='html'>&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; color: black; font: small 'Times New Roman'; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: Verdana; font-size: 12px;"&gt;&lt;h1 style="color: #1d3d76; font-family: Arial; font-size: 18px; font-weight: bold; margin: 0px 0px 24px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-transform: uppercase;"&gt;ESDH OG LEAN SIKRER EFFEKTIVITETEN I TELE GREENLAND&lt;/h1&gt;&lt;/span&gt;&lt;/span&gt;Læs mere om Lean og ESDH hos&amp;nbsp; Tele Greenland &lt;a href="http://exformatics.com/Nyheder/ESDHogleaniTELEGreenland.aspx"&gt;her&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-735831609215245595?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://exformatics.com/Nyheder/ESDHogleaniTELEGreenland.aspx' title='Lean med SharePoint'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/735831609215245595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=735831609215245595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/735831609215245595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/735831609215245595'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2011/01/lean-med-sharepoint.html' title='Lean med SharePoint'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-2061480213533755212</id><published>2011-01-10T10:13:00.002-05:00</published><updated>2011-03-20T10:13:36.791-04:00</updated><title type='text'>Lean og procesoptimeringer kræver fleksible it-løsninger</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-2061480213533755212?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://exformatics.com/Nyheder/LeanprocesoptimeringESDH.aspx' title='Lean og procesoptimeringer kræver fleksible it-løsninger'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/2061480213533755212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=2061480213533755212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2061480213533755212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2061480213533755212'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2011/01/lean-og-procesoptimeringer-krver.html' title='Lean og procesoptimeringer kræver fleksible it-løsninger'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1122671594118308007</id><published>2011-01-09T18:34:00.004-05:00</published><updated>2011-03-09T18:35:46.992-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DCR'/><title type='text'>Design of a Distributed Case Management System using Dynamic Condition Response Graphs</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;We present a case study of a design of a distributed case management system using Dynamic Condition Response&amp;nbsp; (DCR) Graphs, a recently proposed declarative notation for distributed processes. The case study was carried out jointly with our industrial partner Exformatics, a danish provider of knowledge and workflow management systems. We present an early prototype design and simulation tool and outline the proposal for the continued work of the two last authors towards the PhD degree, developing the model, technologies and tools further to make it applicable to component and model based design of distributed systems.&lt;br /&gt;&lt;br /&gt;Highly recommended if you wish to understand the 21st century business workflow.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1122671594118308007?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.itu.dk/~rao/pubs_submitted/fescapaper.pdf' title='Design of a Distributed Case Management System using Dynamic Condition Response Graphs'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1122671594118308007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1122671594118308007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1122671594118308007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1122671594118308007'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2011/01/design-of-distributed-case-management.html' title='Design of a Distributed Case Management System using Dynamic Condition Response Graphs'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-528162678522036673</id><published>2010-10-13T03:26:00.001-04:00</published><updated>2010-10-18T03:38:50.076-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='case-sensitive'/><title type='text'>SharePoint is case-sensitive - documents upload into root-folder</title><content type='html'>It took us quite a while to figure out this issue. It turns out that SharePoint sitenames og document libraries are case-sensitive. If you try to navigate to a folder using it's URL and type the site og document library in the wrong case it seems to work. However, when trying to upload documents it fails. Documents are then placed in the root-folder of the document library as outlined below.&lt;br /&gt;&lt;br /&gt;Given&amp;nbsp;a standard document library "Documents" you create a new folder "Folder1".&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_HyyhE3KTcMI/TLv3SV2yxBI/AAAAAAAADto/YAt_ppjlyFA/s1600/folder2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="224" src="http://1.bp.blogspot.com/_HyyhE3KTcMI/TLv3SV2yxBI/AAAAAAAADto/YAt_ppjlyFA/s320/folder2.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;Navigate to the folder&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_HyyhE3KTcMI/TLv3Va_Z5II/AAAAAAAADts/y1Qy5kKds_0/s1600/folder1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="224" src="http://1.bp.blogspot.com/_HyyhE3KTcMI/TLv3Va_Z5II/AAAAAAAADts/y1Qy5kKds_0/s320/folder1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;and then click Upload to upload a document, "My New Document.docx", and everything works as it should:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_HyyhE3KTcMI/TLv34L-GSuI/AAAAAAAADtw/MQeLvZS4Dfw/s1600/folder3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="224" src="http://1.bp.blogspot.com/_HyyhE3KTcMI/TLv34L-GSuI/AAAAAAAADtw/MQeLvZS4Dfw/s320/folder3.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Now, try to enter the URL of the folder directly in your browser in this case enter&lt;br /&gt;&lt;div align="center"&gt;&lt;a href="http://intranet/TV2/documents/folder1"&gt;http://intranet/TV2/documents/folder1&lt;/a&gt;﻿&lt;/div&gt;where "Documents" is modified to "documents" (little d).&lt;br /&gt;&lt;br /&gt;As you can see everything seems to work as they should:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_HyyhE3KTcMI/TLv4Nvs2KFI/AAAAAAAADt0/xkwXt3EfBhQ/s1600/folder4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="224" src="http://4.bp.blogspot.com/_HyyhE3KTcMI/TLv4Nvs2KFI/AAAAAAAADt0/xkwXt3EfBhQ/s320/folder4.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;However, when you try to click Upload&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_HyyhE3KTcMI/TLv4aNAQ_sI/AAAAAAAADt4/Uwb8QVktBBU/s1600/folder5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="224" src="http://2.bp.blogspot.com/_HyyhE3KTcMI/TLv4aNAQ_sI/AAAAAAAADt4/Uwb8QVktBBU/s320/folder5.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;the document is not uploaded into the folder&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_HyyhE3KTcMI/TLv4nGVPP1I/AAAAAAAADt8/IOzNP3MFH_w/s1600/folder6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="224" src="http://4.bp.blogspot.com/_HyyhE3KTcMI/TLv4nGVPP1I/AAAAAAAADt8/IOzNP3MFH_w/s320/folder6.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;﻿but instead the document ends up in the root-folder of the Document library:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_HyyhE3KTcMI/TLv4x_36kVI/AAAAAAAADuA/BDWjZJ_armU/s1600/folder7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="224" src="http://3.bp.blogspot.com/_HyyhE3KTcMI/TLv4x_36kVI/AAAAAAAADuA/BDWjZJ_armU/s320/folder7.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;Quite a scary error in a standard product used by so many people in the world. When I presented the problem to a Microsoft representative claiming SharePoint to be case-sensitive they didn't believe me until I presented the above example.&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left"&gt;Therefore. Remember that site-names and Document Libraries in SharePoint are case-sensitive.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-528162678522036673?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/528162678522036673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=528162678522036673' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/528162678522036673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/528162678522036673'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2010/10/sharepoint-is-case-sensitive.html' title='SharePoint is case-sensitive - documents upload into root-folder'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_HyyhE3KTcMI/TLv3SV2yxBI/AAAAAAAADto/YAt_ppjlyFA/s72-c/folder2.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6313496882201039666</id><published>2010-04-20T04:50:00.004-04:00</published><updated>2010-10-14T11:38:33.494-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='XPDL'/><category scheme='http://www.blogger.com/atom/ns#' term='arbejdsgangbank'/><category scheme='http://www.blogger.com/atom/ns#' term='arbejdsgang'/><category scheme='http://www.blogger.com/atom/ns#' term='BPMN'/><title type='text'>Sæt strøm til processerne - fra arbejdsgang analyse over BPMN til digitale arbejdsgange</title><content type='html'>Exformatics har i foråret 2010 sammen med Kommunernes Landsforening arbejdet med at digitalisere arbejdsgange. Med udgangspunkt i en arbejdsganganalyse og efterfølgende modellering i BPMN&amp;nbsp;er arbejdsgangen placeret i KL's arbejdsgangbank.&lt;br /&gt;&lt;br /&gt;Exformatics har på baggrund af fremsendt BPMN diagram (i XPDL) mappet&amp;nbsp;dette til vores arbejdsgang motor (Exformatics Process) således at arbejdsgangen efterfølgende er faciliteret digitalt.&lt;br /&gt;&lt;br /&gt;Læs om projektet på KL's &lt;a href="http://www.kl.dk/Artikler/71041/2010/05/Fra-arbejdsgangsdiagram-til-digital-losning/"&gt;hjemmeside&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Exformatics detaljerede besvarelse af KL's opgave kan findes på dette &lt;a href="http://www.exformatics.com/Nyheder/Exformaticstagerscenenveddigitaliser2010.aspx"&gt;link&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6313496882201039666?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6313496882201039666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6313496882201039666' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6313496882201039666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6313496882201039666'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2010/04/st-strm-til-processerne-fra-arbejdsgang.html' title='Sæt strøm til processerne - fra arbejdsgang analyse over BPMN til digitale arbejdsgange'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-3360794148188203277</id><published>2010-03-22T19:36:00.000-04:00</published><updated>2010-03-29T19:37:48.069-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='lean'/><category scheme='http://www.blogger.com/atom/ns#' term='ESDH'/><category scheme='http://www.blogger.com/atom/ns#' term='Processer'/><title type='text'>Processer og IT</title><content type='html'>Exformatics taler på seminaret arrangeret af Alexandra Instituttet. Læs mere &lt;a href="http://www.infinit.dk/dk/nyheder_og_arrangementer/arrangementer/20100309_01.htm"&gt;her&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-3360794148188203277?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.infinit.dk/dk/nyheder_og_arrangementer/arrangementer/20100309_01.htm' title='Processer og IT'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/3360794148188203277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=3360794148188203277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3360794148188203277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3360794148188203277'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2010/03/processer-og-it.html' title='Processer og IT'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-5433259412766170586</id><published>2010-03-17T12:40:00.000-04:00</published><updated>2010-03-30T12:40:58.716-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>Exformatics ESDH klar til SharePoint 2010</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-5433259412766170586?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.exformatics.com/Nyheder/nyheder.html' title='Exformatics ESDH klar til SharePoint 2010'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/5433259412766170586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=5433259412766170586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5433259412766170586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5433259412766170586'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2010/03/exformatics-esdh-klar-til-sharepoint.html' title='Exformatics ESDH klar til SharePoint 2010'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6103019434893030169</id><published>2010-02-10T13:05:00.003-05:00</published><updated>2010-11-07T13:11:47.188-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Office 2007'/><title type='text'>Office 2007 and MOSS - custom document properties</title><content type='html'>When adding Office 2003 documents to MOSS custom document properties in Office 2003 are added as SharePoint properties in a content class. Setting custom documents properties in Office 2003 is easy and well known.&lt;br /&gt;&lt;br /&gt;When uploading Office 2007 documents to MOSS with custom documents properties set in the same manner as in Office 2003 documents, MOSS properties are not set.&lt;br /&gt;&lt;br /&gt;I found this &lt;a href="http://social.msdn.microsoft.com/forums/en-US/vsto/thread/11f1fd8b-0ee0-4f3b-8a7e-f5dc92cf48d5"&gt;blog &lt;/a&gt;which points out a solution and it works fine if you're working with Office 2007 templates. However, if your template is a Office 2003 DOT-file and saves the document as an Office 2007 it doesn't work anyway.&lt;br /&gt;&lt;br /&gt;Update: I found the following &lt;a href="http://msdn.microsoft.com/en-us/library/bb447589.aspx"&gt;msdn blog &lt;/a&gt;which is worth reading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6103019434893030169?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6103019434893030169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6103019434893030169'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2010/02/office-2007-and-moss-custom-document.html' title='Office 2007 and MOSS - custom document properties'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1121313828146704903</id><published>2010-01-22T18:02:00.005-05:00</published><updated>2010-01-29T06:05:10.279-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exformatics'/><category scheme='http://www.blogger.com/atom/ns#' term='ESDH'/><title type='text'>Professionshøjskolen Metropol får ESDH fra Exformatics</title><content type='html'>Professionshøjskolen Metropol får nu ESDH fra Exformatics. Uddannelsesinstitutionen skal fremover bruge Exformatics ESDH til sagsstyring i administrationen, der sørger for den daglige drift af uddannelser på flere forskellige adresser i København.&lt;br /&gt;&lt;br /&gt;Læs mere på &lt;a href="http://www.version2.dk/artikel/13677-nyt-marked-for-esdh-uddannelsesinstitutioner"&gt;Version2 &lt;/a&gt;eller &lt;a href="http://www.exformatics.com/Nyheder/nyheder.html"&gt;Exformatics&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1121313828146704903?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1121313828146704903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1121313828146704903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1121313828146704903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1121313828146704903'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2010/01/professionshjskolen-metropol-far-esdh.html' title='Professionshøjskolen Metropol får ESDH fra Exformatics'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-5464574520533385547</id><published>2010-01-05T17:16:00.003-05:00</published><updated>2010-01-21T17:24:00.603-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS2007'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Identify Publish a Major Version</title><content type='html'>For some strange reason SharePoint doesn't raise an ItemCheckingIn or ItemCheckedIn event when documents are published in new major versions, unless you do a Checkin and select major version in the same operation.&lt;br /&gt;&lt;br /&gt;How can you identify a "Publish a Major Version" with other events? I did some googling and experiments and found out that using BeforeProperties and AfterProperties in the ItemUpdating handler might do the job. Similar posts can be found &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/1c036e6e-2d6a-4e7b-97b5-d0d2545d7197"&gt;here&lt;/a&gt;, but I didn't get the same result.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_HyyhE3KTcMI/S1jT88LRsHI/AAAAAAAADhA/EoC9SYN6jek/s1600-h/PublishAMajorVersion.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ps="true" src="http://3.bp.blogspot.com/_HyyhE3KTcMI/S1jT88LRsHI/AAAAAAAADhA/EoC9SYN6jek/s320/PublishAMajorVersion.PNG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;int iBefore, iAfter;&lt;br /&gt;iBefore = int.Parse(properties.BeforePropeties["vti_level"]);&lt;br /&gt;iAfter = int.Parse(properties.AfterPropeties["vti_level"]);&lt;br /&gt;&lt;br /&gt;Using the value of iBefore and iAfter I was able to identify the following events:&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Event&lt;br /&gt;&lt;/td&gt;&lt;td&gt;iBefore&lt;br /&gt;&lt;/td&gt;&lt;td&gt;iAfter&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;CheckIn Minor Version&lt;br /&gt;&lt;/td&gt;&lt;td&gt;255&lt;br /&gt;&lt;/td&gt;&lt;td&gt;255&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;CheckIn Major Version&lt;br /&gt;&lt;/td&gt;&lt;td&gt;255&lt;br /&gt;&lt;/td&gt;&lt;td&gt;1&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Publish a Major Version&lt;br /&gt;&lt;/td&gt;&lt;td&gt;2&lt;br /&gt;&lt;/td&gt;&lt;td&gt;2&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;So if (iBefore == iAfter) you a facing a "Publish a Major Version" event.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-5464574520533385547?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/5464574520533385547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=5464574520533385547' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5464574520533385547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5464574520533385547'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2010/01/identify-publish-major-version.html' title='Identify Publish a Major Version'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_HyyhE3KTcMI/S1jT88LRsHI/AAAAAAAADhA/EoC9SYN6jek/s72-c/PublishAMajorVersion.PNG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8300024883640428280</id><published>2009-12-02T11:58:00.004-05:00</published><updated>2009-12-22T12:13:58.747-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>Images in a dropdown list - SELECT</title><content type='html'>Rumours says &lt;a href="http://www.endusersharepoint.com/2009/11/09/so-whats-up-with-jquery-in-sharepoint-2010/"&gt;that Microsoft &lt;/a&gt;will announce support for jQuery in SharePoint 2010, so better get started. We have used AJAX and more recently jQuery for the last 3 years in combination with SharePoint and it has proved very useful. And even if Microsoft don't support jQuery I believe it will be a major development platform for advanced end-user interfaces in the future - also for SharePoint.&lt;br /&gt;&lt;br /&gt;Check out &lt;a href="http://www.marghoobsuleman.com/blogs/jquery-image-dropdown"&gt;this example &lt;/a&gt;for how to enhance your existing drop down lists to include images - yes, it looks so much nicer - and navigation is like&amp;nbsp;a dream.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.marghoobsuleman.com/mywork/jcomponents/image-dropdown/jquery-image-dropdown-2.1/icons/preview.gif" /&gt;&lt;/img&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8300024883640428280?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8300024883640428280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8300024883640428280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8300024883640428280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8300024883640428280'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/12/images-in-dropdown-list-select.html' title='Images in a dropdown list - SELECT'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4861652849010596368</id><published>2009-11-30T19:33:00.003-05:00</published><updated>2009-12-08T19:52:46.045-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Excel'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Panel for dokumentoplysninger kunne ikke indlæses</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;When opening an Excel dokument based on a standard Excel XLT template stored in SharePoint I get the error outlined below. Ideas appreciated.&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_HyyhE3KTcMI/Sx7wYUWvdUI/AAAAAAAADek/xBOKklCPZHQ/s1600-h/panel+excel.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" er="true" src="http://1.bp.blogspot.com/_HyyhE3KTcMI/Sx7wYUWvdUI/AAAAAAAADek/xBOKklCPZHQ/s640/panel+excel.PNG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;An English example can be found in this &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/435dcaf7-887e-4ebe-ab99-973730f8ebc7"&gt;blog&lt;/a&gt;. The error Outlined is:&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;The form contains schema validation errors.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;Content for element '{http://schemas.microsoft.com/office/2006/metadata/propertiesRoot}properties' is incomplete according to the DTD/Schema.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: x-small;"&gt;Expecting: {http://schemas.microsoft.com/office/2006/metadata/properties}properties.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;How can this happen?&lt;br /&gt;&lt;br /&gt;The schema is outlined at &lt;a href="http://msdn.microsoft.com/en-us/library/bb447539.aspx"&gt;MSDN&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Errors have been reported by many &lt;a href="http://www.eggheadcafe.com/software/aspnet/29612873/form-contains-schema-vali.aspx"&gt;here&lt;/a&gt; and &lt;a href="http://social.msdn.microsoft.com/Forums/en/sharepointinfopath/thread/243b4852-3f17-4a3a-b6d7-187d65a5f088"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4861652849010596368?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4861652849010596368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4861652849010596368' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4861652849010596368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4861652849010596368'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/11/panel-for-dokumentoplysninger-kunne.html' title='Panel for dokumentoplysninger kunne ikke indlæses'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_HyyhE3KTcMI/Sx7wYUWvdUI/AAAAAAAADek/xBOKklCPZHQ/s72-c/panel+excel.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8455250265604790959</id><published>2009-11-27T12:17:00.001-05:00</published><updated>2010-02-27T12:22:11.928-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>SharePoint 2010 wiki's</title><content type='html'>Using Wiki's in SharePoint 2007 can be done, but it is a first version type of product. Luckily Microsoft has announced better wiki support in SharePoint 2010 with Managed Keywords which can be used to create tag clouds and home pages can be edites as wiki's - a huge step forward for WYSIWIG editing. I found this &lt;a href="http://cglessner.blogspot.com/2009/10/preview-wikis-in-sharepoint-2010.html"&gt;blog &lt;/a&gt;interesting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8455250265604790959?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8455250265604790959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8455250265604790959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8455250265604790959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8455250265604790959'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/11/sharepoint-2010-wikis.html' title='SharePoint 2010 wiki&apos;s'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1168506331058029881</id><published>2009-11-26T16:59:00.001-05:00</published><updated>2009-12-08T19:56:53.629-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Workflow'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='arbejdsgang'/><title type='text'>Få forretningen til at håndtere arbejdsprocesserne</title><content type='html'>En af de centrale udfordringen at sætte strøm til arbejdsprocesser er at få forretningsbrugerne til at formulere processen og efterfølgende få denne designet og implementeret af IT folk. Der tales forskellige sprog og der er langt fra tanke til handling.&lt;br /&gt;&lt;br /&gt;Tænk hvis det var muligt at forretningsbrugeren på en og samme tid udtrykker arbejdsgangene og dermed samtidig designer og implementerer processen i et IT system. Dermed vill man sikre at forretningsbrugeren kunne tage ansvaret for arbejdsgangene da de ikke som udgangspunkt skal have IT folk involveret i processen.&lt;br /&gt;&lt;br /&gt;Exformatics taler på &lt;a href="http://www.itu.dk/research/TrustCare/pmwiki/pmwiki.php?n=Main.SeminarOnProcessOrientedIT"&gt;ITU seminar &lt;/a&gt;mandag den 7. december 2009 om udfordringerne ved at realisere en sådan tankegang.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1168506331058029881?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.exformatics.com/Nyheder/Arrangementer.html' title='Få forretningen til at håndtere arbejdsprocesserne'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1168506331058029881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1168506331058029881' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1168506331058029881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1168506331058029881'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/11/fa-forretningen-til-at-handtere.html' title='Få forretningen til at håndtere arbejdsprocesserne'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-5869355837982611719</id><published>2009-11-20T16:49:00.002-05:00</published><updated>2009-11-23T04:50:09.807-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tele Greenland'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Grønlandsk ESDH-system pensionerer fax og postfly</title><content type='html'>&lt;a href="http://www.version2.dk/artikel/12947-groenlandsk-esdh-system-pensionerer-fax-og-postfly"&gt;Read about Exformatics ESDH on MOSS 2007 deployed at Tele Greenland - in Danish.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-5869355837982611719?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.version2.dk/artikel/12947-groenlandsk-esdh-system-pensionerer-fax-og-postfly' title='Grønlandsk ESDH-system pensionerer fax og postfly'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/5869355837982611719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=5869355837982611719' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5869355837982611719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5869355837982611719'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/11/grnlandsk-esdh-system-pensionerer-fax.html' title='Grønlandsk ESDH-system pensionerer fax og postfly'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8125519486846154538</id><published>2009-10-26T04:42:00.004-05:00</published><updated>2009-11-26T19:03:44.312-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Linking iPhone with SharePoint</title><content type='html'>Exformatics now links SharePoint with Apple&amp;nbsp;iPhone in order to facilitate mobile connectivity to corporate knowledge bases. Read more &lt;a href="http://www.exformatics.com/Solutions/iPhone.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.mobil.nu/ArticlePages/200910/28/20091028044617_MDK826/20091028044617_MDK826.dbp.asp"&gt;Here&lt;/a&gt; too or &lt;a href="http://mediamac.comon.dk/index.php/news/show/id=22009"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Eller &lt;a href="http://www.business.dk/tech-mobil/sagsbehandling-paa-mobiltelefonen"&gt;her&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.banedanmark.dk/publ/2009/baneavis2009.pdf"&gt;Scan-Jour lukkes og Exformatics overtager&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8125519486846154538?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.exformatics.com/Solutions/iPhone.html' title='Linking iPhone with SharePoint'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8125519486846154538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8125519486846154538' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8125519486846154538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8125519486846154538'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/10/linking-iphone-with-sharepoint.html' title='Linking iPhone with SharePoint'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1924108643568036509</id><published>2009-10-24T18:28:00.001-04:00</published><updated>2009-10-29T18:32:11.701-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='WebPartPage'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Creating a Web Part Page programmatically</title><content type='html'>Using Microsoft.SharePoint API is often not the most easy thing in the world. As an example adding a web part page programmatically is not an easy job - unless you're lucky and hit the right page on MSDN.&lt;br /&gt;&lt;br /&gt;I have been trying to add a pages using the SPFolder.Files.Add(&lt;url&gt;, SPTemplateFileType.StandardPage) - but the page was not added as a WebPartPage so I couldn't add web parts to the page in a proper manner.&lt;br /&gt;&lt;br /&gt;It was not until I came across the &lt;a href="http://msdn.microsoft.com/en-us/library/ms450826.aspx"&gt;NewWebPage &lt;/a&gt;method on MSDN that I managed to get the job done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1924108643568036509?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1924108643568036509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1924108643568036509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1924108643568036509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1924108643568036509'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/10/creating-web-part-page-programmatically.html' title='Creating a Web Part Page programmatically'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-2626795871205655528</id><published>2009-10-20T08:38:00.001-04:00</published><updated>2010-02-20T08:40:01.378-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Explore SharePoint from F#</title><content type='html'>Check out this &lt;a href="http://jyliao.blogspot.com/2008/09/exploring-sharepoint-2007-object-model.html"&gt;blog&lt;/a&gt; on how to explore SharePoint's object model from F#.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-2626795871205655528?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/2626795871205655528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=2626795871205655528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2626795871205655528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2626795871205655528'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/10/explore-sharepoint-from-f.html' title='Explore SharePoint from F#'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8137852710079037008</id><published>2009-10-19T12:08:00.003-04:00</published><updated>2009-12-22T12:09:27.877-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='jQuery'/><title type='text'>jQuery library for SharePoint services</title><content type='html'>Using AJAX and jQuery to retrieve data from SharePoint and present it to end-users in advanced end-user interfaces is certainly the way forward.Check out &lt;a href="http://spservices.codeplex.com/"&gt;this library &lt;/a&gt;for more information. Looks quite promising and have done some tests.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8137852710079037008?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8137852710079037008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8137852710079037008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8137852710079037008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8137852710079037008'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/10/jquery-library-for-sharepoint-services.html' title='jQuery library for SharePoint services'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-2764786133721937526</id><published>2009-10-12T16:55:00.000-04:00</published><updated>2009-10-29T16:57:22.111-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wiki'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Create a Wiki page programmatically</title><content type='html'>If you have ever tried to figure out how to create a web part page or&amp;nbsp; wiki page programmatically you'll find it very hard to find any information.&lt;br /&gt;&lt;br /&gt;Microsoft MSDN doesn't have a lot of information.&lt;br /&gt;&lt;br /&gt;Recently I came across this &lt;a href="http://blogs.tamtam.nl/lucy/2009/10/06/CreateTheWelcomePageForAWikiLibraryFromCode.aspx"&gt;blog&lt;/a&gt;. So some information is out there - not much though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-2764786133721937526?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/2764786133721937526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=2764786133721937526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2764786133721937526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2764786133721937526'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/10/create-wiki-page-programmatically.html' title='Create a Wiki page programmatically'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1642477206793046747</id><published>2009-09-25T20:03:00.004-04:00</published><updated>2009-11-26T17:07:06.347-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exformatics'/><title type='text'>Exformatics new logo</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.exformatics.com/" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_HyyhE3KTcMI/Sw3T7_7lmrI/AAAAAAAADeQ/7X3D13A-5W0/s320/exformatics.jpg" yr="true" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_HyyhE3KTcMI/Sw778JS3AuI/AAAAAAAADeY/3VuvWnOcCrQ/s1600/Exformatics+Enthusiasm.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_HyyhE3KTcMI/Sw778JS3AuI/AAAAAAAADeY/3VuvWnOcCrQ/s200/Exformatics+Enthusiasm.PNG" yr="true" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1642477206793046747?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1642477206793046747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1642477206793046747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1642477206793046747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1642477206793046747'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/09/exformatics-new-logo.html' title='Exformatics new logo'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_HyyhE3KTcMI/Sw3T7_7lmrI/AAAAAAAADeQ/7X3D13A-5W0/s72-c/exformatics.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-3366440669307775915</id><published>2009-09-19T06:22:00.001-04:00</published><updated>2009-11-29T06:24:03.501-05:00</updated><title type='text'>Working with beforeproperties and afterproperties</title><content type='html'>Great overview found in this&amp;nbsp;&lt;a href="http://www.synergyonline.com/blog/blog-moss/Lists/Posts/Post.aspx?ID=25"&gt;blog&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-3366440669307775915?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/3366440669307775915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=3366440669307775915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3366440669307775915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3366440669307775915'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/09/working-with-beforeproperties-and.html' title='Working with beforeproperties and afterproperties'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6241337857035517720</id><published>2009-09-15T06:37:00.007-04:00</published><updated>2009-11-29T07:56:00.551-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Updating document field value in SPItemEventReceiver.ItemCheckingIn() event handler</title><content type='html'>I need to update a property on ItemCheckingIn and came across this &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/b83730b4-67f8-4fd6-96a7-3f2657f282ef"&gt;blog&lt;/a&gt;. Lucky me.&lt;br /&gt;&lt;br /&gt;I have tried method 6&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; properties.AfterProperties.ChangedProperties["Field Internal Name"] = "New Value";&lt;br /&gt;&lt;br /&gt;but I couldn't get it working.&lt;br /&gt;&lt;br /&gt;"Field Internal Name" should be "&lt;strong&gt;vti_&lt;/strong&gt;Field Internal Name". Microsoft purchased SharePoint from a company called something with VTI. Unfortunately this didn't work either.&lt;br /&gt;&lt;br /&gt;This &lt;a href="http://www.sharethispoint.com/archive/2007/12/06/SharePoint-2007--EventHandling-on-Lists.aspx"&gt;blog &lt;/a&gt;is also worth reading as it explains the sequence of events.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6241337857035517720?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6241337857035517720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6241337857035517720' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6241337857035517720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6241337857035517720'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/09/updating-document-field-value-in.html' title='Updating document field value in SPItemEventReceiver.ItemCheckingIn() event handler'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6426089249982503072</id><published>2009-08-15T13:05:00.000-04:00</published><updated>2009-11-25T20:06:10.952-05:00</updated><title type='text'>Exformatics og Post Danmark Datascanning er partnere</title><content type='html'>Læs mere &lt;a href="http://www.datascanning.dk/_da-DK(5132)/Forside/Velkommen/Postscanning"&gt;her&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6426089249982503072?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6426089249982503072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6426089249982503072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6426089249982503072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6426089249982503072'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/08/exformatics-og-post-danmark.html' title='Exformatics og Post Danmark Datascanning er partnere'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-2910385783619068394</id><published>2009-08-07T05:46:00.000-04:00</published><updated>2009-11-13T05:49:58.884-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Writing to SharePoint Unified Log</title><content type='html'>Writing to Windows EventLog sometimes causes issues in SharePoint, especially if using NTLM security. In this situation you might have to allow anonymous write access to the Event log by adding information to a specific registry key (Google if you wish more info on the matter).&lt;br /&gt;&lt;br /&gt;As an alternative you can write to SharePoint own log, Unified Log, as described here on &lt;a href="http://msdn.microsoft.com/en-us/library/aa979522.aspx"&gt;msdn&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Btw - I wonder why people in other blogs copy the content from MSDN and place it on their own blogs. What's the idea? It doesn't add any value - it only created confusion as I tend to ask myself. What is the difference?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-2910385783619068394?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn.microsoft.com/en-us/library/aa979522.aspx' title='Writing to SharePoint Unified Log'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/2910385783619068394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=2910385783619068394' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2910385783619068394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2910385783619068394'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/08/writing-to-sharepoint-unified-log.html' title='Writing to SharePoint Unified Log'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-615805519837723184</id><published>2009-07-30T06:26:00.003-04:00</published><updated>2009-11-29T06:36:27.760-05:00</updated><title type='text'>ItemCheckingIn and version number - MOSS SP2 behavior</title><content type='html'>Came across this &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/1c036e6e-2d6a-4e7b-97b5-d0d2545d7197"&gt;blog &lt;/a&gt;when studying version numbering in MOSS. It's great not to be alone out here.&lt;br /&gt;&lt;br /&gt;And in the &lt;a href="http://chrissyblanco.blogspot.com/2009/07/update-itemcheckingin-event-and.html"&gt;blog &lt;/a&gt;it gets even better.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-615805519837723184?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/615805519837723184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=615805519837723184' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/615805519837723184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/615805519837723184'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/07/itemcheckingin-and-version-number-moss.html' title='ItemCheckingIn and version number - MOSS SP2 behavior'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-3443660253523149835</id><published>2009-07-23T04:16:00.000-04:00</published><updated>2009-08-24T04:17:20.118-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS2007'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Creating a site-collection programmatically</title><content type='html'>How do you create a new root site programmatically in C# or VB.Net. Check out this &lt;a href="http://www.sharepointdevwiki.com/display/public/Creating+a+Site+Collection+programmatically+using+the+object+model"&gt;blog &lt;/a&gt;for more information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-3443660253523149835?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/3443660253523149835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=3443660253523149835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3443660253523149835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3443660253523149835'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/07/creating-site-collection.html' title='Creating a site-collection programmatically'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8117830897427754962</id><published>2009-07-04T09:52:00.001-04:00</published><updated>2009-08-11T09:57:20.247-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS2007'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>Office - There has been a network or file permission error</title><content type='html'>Some of our clients are occationally experiencing the following error in Office "There has been a network or file permission error".&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_HyyhE3KTcMI/SoF4D9gOJUI/AAAAAAAADXQ/6ixGOmqWvGE/s1600-h/error.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5368704240246990146" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 90px" alt="" src="http://1.bp.blogspot.com/_HyyhE3KTcMI/SoF4D9gOJUI/AAAAAAAADXQ/6ixGOmqWvGE/s400/error.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's hard to find an explanation for the issue but I found this &lt;a href="http://www.robgolding.com/index.php/2009/01/08/office-2007-there-has-been-a-network-or-file-permission-error/"&gt;blog &lt;/a&gt;quite interesting. Indexing services on Windows Vista could cause the problem.&lt;br /&gt;&lt;br /&gt;Another great &lt;a href="http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/5a55812d-04af-4d96-996c-c3e7f3559714"&gt;blog &lt;/a&gt;describes ways to solve it for Windows XP SP2 and Office 2007.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8117830897427754962?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8117830897427754962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8117830897427754962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8117830897427754962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8117830897427754962'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/07/office-there-has-been-network-or-file.html' title='Office - There has been a network or file permission error'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_HyyhE3KTcMI/SoF4D9gOJUI/AAAAAAAADXQ/6ixGOmqWvGE/s72-c/error.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6201283023815594795</id><published>2009-06-19T11:13:00.000-04:00</published><updated>2009-06-25T11:13:49.698-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><title type='text'>More on SharePoint 2010</title><content type='html'>Came across this &lt;a href="http://chriswoodill.blogspot.com/2009/06/what-we-know-about-sharepoint-2010.html"&gt;blog &lt;/a&gt;on SharePoint 2010.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6201283023815594795?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6201283023815594795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6201283023815594795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6201283023815594795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6201283023815594795'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/06/more-on-sharepoint-2010.html' title='More on SharePoint 2010'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-9056834750779525791</id><published>2009-06-04T09:56:00.000-04:00</published><updated>2009-06-22T09:57:33.088-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ItemAdded'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>ItemAdded - setting values - Microsoft recommendation</title><content type='html'>If you wish to set property values in an ItemAdded event in SharePoint - you need to create a separate thread that sleeps 10 seconds and then set the value. SharePoint is obviously not a transactional system. Read more in this &lt;a href="http://stackoverflow.com/questions/705920/cannot-update-document-property-on-itemadded-event-when-using-vista"&gt;blog&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-9056834750779525791?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/9056834750779525791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=9056834750779525791' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/9056834750779525791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/9056834750779525791'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/06/itemadded-setting-values-microsoft.html' title='ItemAdded - setting values - Microsoft recommendation'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-7143664274555510370</id><published>2009-05-28T09:49:00.002-04:00</published><updated>2009-06-22T09:52:39.720-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Property'/><category scheme='http://www.blogger.com/atom/ns#' term='Demote'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Promote'/><title type='text'>Disable property promotion/demotion</title><content type='html'>I've been looking for ways to enable/disable property promotion/demotion without luck. Finally &lt;a href="http://blogs.msdn.com/josrod/archive/2009/05/11/how-to-disable-property-promotion-in-wss.aspx"&gt;I found someone who had worked with this - it works&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-7143664274555510370?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/7143664274555510370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=7143664274555510370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7143664274555510370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7143664274555510370'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/05/disable-property-promotiondemotion.html' title='Disable property promotion/demotion'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6720083066185372243</id><published>2009-05-25T08:36:00.006-04:00</published><updated>2010-02-20T08:38:36.515-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='F#'/><title type='text'>Creating a web service in F#</title><content type='html'>Check out this &lt;a href="http://nholmes.wordpress.com/2008/02/06/an-f-wcf-web-service/"&gt;blog&lt;/a&gt; on how to create a web service leveraging Microsoft's functional programming language F#.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6720083066185372243?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6720083066185372243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6720083066185372243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6720083066185372243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6720083066185372243'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/05/creating-web-service-in-f.html' title='Creating a web service in F#'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1794641458269110300</id><published>2009-05-18T04:32:00.001-04:00</published><updated>2009-06-21T04:33:08.145-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>More on SharePoint 2010</title><content type='html'>Doing research on Microsoft SharePoint 2010 I came across various articles and I found &lt;a href="http://blog.sharepointproducts.com/archive/2009/05/12/microsoft-sharepoint-2010-news-from-teched-us-2009.aspx"&gt;this &lt;/a&gt;from Lars Fastrup quite useful. Brief and to the point.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1794641458269110300?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1794641458269110300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1794641458269110300' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1794641458269110300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1794641458269110300'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/05/more-on-sharepoint-2010.html' title='More on SharePoint 2010'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1804016384393564768</id><published>2009-04-21T02:48:00.000-04:00</published><updated>2009-06-15T02:50:23.279-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>SharePoint 2010</title><content type='html'>The MOSS acronym is going away as Office will be referred to as the client product only. Not certain I buy the reason for this. In fact I view Office as the whole lot - editing as well as storing and managing. But obviously Microsoft don't have the same view - or their customers don't.&lt;br /&gt;&lt;br /&gt;Read the blog &lt;a href="http://blogs.msdn.com/sharepoint/archive/2009/04/14/microsoft-sharepoint-14-is-now-microsoft-sharepoint-2010.aspx"&gt;http://blogs.msdn.com/sharepoint/archive/2009/04/14/microsoft-sharepoint-14-is-now-microsoft-sharepoint-2010.aspx&lt;/a&gt; here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1804016384393564768?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1804016384393564768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1804016384393564768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1804016384393564768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1804016384393564768'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/04/sharepoint-2010.html' title='SharePoint 2010'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1645462650001671674</id><published>2009-04-03T07:48:00.001-04:00</published><updated>2009-06-16T02:01:27.916-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS2007'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>MOSS Performance considerations</title><content type='html'>I just read this &lt;a href="http://www.thesug.org/Blogs/ermurray/Lists/Posts/ViewPost.aspx?ID=8"&gt;blog &lt;/a&gt;about performance considerations in MOSS 2007. Especially the section about SPList object is worth reading in detail.&lt;br /&gt;&lt;br /&gt;Using the List.Items.Count should be &lt;strong&gt;avoided&lt;/strong&gt; at any costs. It basically send a very complex and expensive SQL query, especially on large lists. If you need statistics use the List.ItemCount instead which uses the statistics information from SQL Server about the list to provide data. No absolutely correct though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1645462650001671674?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1645462650001671674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1645462650001671674' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1645462650001671674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1645462650001671674'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/04/moss-performance-considerations.html' title='MOSS Performance considerations'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8442693349349150742</id><published>2009-03-04T18:23:00.000-05:00</published><updated>2009-03-17T18:24:26.121-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SharePoint Dispose Checker Tool</title><content type='html'>This &lt;a href="http://code.msdn.microsoft.com/SPDisposeCheck"&gt;tool &lt;/a&gt;is awesome - check it out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8442693349349150742?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8442693349349150742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8442693349349150742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8442693349349150742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8442693349349150742'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/03/sharepoint-dispose-checker-tool.html' title='SharePoint Dispose Checker Tool'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8581146410467083415</id><published>2009-02-11T20:47:00.004-05:00</published><updated>2009-03-17T18:10:09.810-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS2007'/><title type='text'>Very large document libraries - very strange SQL</title><content type='html'>If you ever come across the following SQL statement you need to take a critical look at various web parts other SharePoint related code recently deployed at your site.&lt;br /&gt;&lt;br /&gt;SELECT TOP 2147483648 t2.[tp_Created] AS c3c8,t1.[Type] AS c0,t3.[tp_ID] AS c10c5,UserData.[nvarchar10],t1.[Id] AS c15,t4.[tp_Created] AS c17c8,UserData.[tp_ItemOrder],UserData.[tp_ModerationStatus],UserData.[nvarchar1],UserData.[nvarchar6],UserData.[bit2],UserData.[tp_Created],t1.[CheckinComment] AS c23,UserData.[tp_WorkflowInstanceID],t2.[nvarchar4] AS c3c6,t3.[tp_Created] AS c10c8,UserData.[ntext1],t4.[nvarchar4] AS c17c6,t1.[DirName] AS c18,UserData.[tp_ID],t1.[ProgId] AS c13,UserData.[nvarchar5],UserData.[bit1],t1.[Size] AS c21,UserData.[tp_GUID],t1.[TimeCreated] AS c1,UserData.[tp_Editor],UserData.[tp_Author],t2.[nvarchar1] AS c3c4,t3.[nvarchar4] AS c10c6,UserData.[nvarchar2],UserData.[nvarchar7],UserData.[nvarchar13],UserData.[tp_ContentType],t1.[LTCheckoutUserId] AS c20,t1.[TimeLastModified] AS c9,CASE WHEN DATALENGTH(t1.DirName) = 0 THEN t1.LeafName WHEN DATALENGTH(t1.LeafName) = 0 THEN t1.DirName ELSE t1.DirName + N'/' + t1.LeafName END AS c11,t1.[ScopeId] AS c16,UserData.[tp_ContentTypeId],UserData.[sql_variant1],t4.[nvarchar1] AS c17c4,UserData.[tp_WorkflowVersion],t1.[ParentVersionString] AS c24,UserData.[nvarchar4],UserData.[tp_CheckoutUserId],UserData.[tp_Version],UserData.[nvarchar9],t5.[nvarchar1] AS c4,UserData.[tp_IsCurrentVersion],t2.[nvarchar5] AS c3c7,t3.[nvarchar1] AS c10c4,UserData.[tp_HasCopyDestinations],UserData.[tp_Level],UserData.[nvarchar12],t1.[MetaInfo] AS c14,t4.[nvarchar5] AS c17c7,t1.[Size] AS c19,t1.[LeafName] AS c2,UserData.[tp_Modified],UserData.[nvarchar3],UserData.[nvarchar8],UserData.[tp_UIVersion],t2.[tp_ID] AS c3c5,t3.[nvarchar5] AS c10c7,UserData.[tp_CopySource],UserData.[nvarchar11],UserData.[tp_InstanceID],t1.[IsCheckoutToLocal] AS c12,t4.[tp_ID] AS c17c5,UserData.[tp_UIVersionString],t1.[ParentLeafName] AS c25 FROM UserData INNER MERGE JOIN Docs AS t1 WITH(NOLOCK) ON ( 1 = 1 AND UserData.[tp_RowOrdinal] = 0 AND t1.SiteId = UserData.tp_SiteId AND t1.SiteId = @L2 AND t1.DirName = UserData.tp_DirName AND t1.LeafName = UserData.tp_LeafName AND t1.Level = UserData.tp_Level AND (UserData.tp_Level = 255 AND t1.LTCheckoutUserId &lt;a href="mailto:=@IU"&gt;=@IU&lt;/a&gt; OR (UserData.tp_Level = 1 AND (UserData.tp_DraftOwnerId IS NULL OR (UserData.tp_DraftOwnerId &lt;&gt;@IU AND 1=0 )) OR UserData.tp_Level = 2 AND (UserData.tp_DraftOwnerId = @IU OR 1=1 )) AND (t1.LTCheckoutUserId IS NULL OR t1.LTCheckoutUserId &lt;&gt; @IU )) AND (1 = 1)) LEFT OUTER JOIN AllUserData AS t2 WITH(NOLOCK, INDEX=AllUserData_PK) ON (UserData.[tp_Editor]=t2.[tp_ID] AND UserData.[tp_RowOrdinal] = 0 AND t2.[tp_RowOrdinal] = 0 AND ( (t2.tp_IsCurrent = 1) ) AND t2.[tp_CalculatedVersion] = 0 AND t2.[tp_DeleteTransactionId] = 0x AND t2.tp_ListId = @L3 AND UserData.tp_ListId = @L4) LEFT OUTER JOIN AllUserData AS t3 WITH(NOLOCK, INDEX=AllUserData_PK) ON (UserData.[tp_CheckoutUserId]=t3.[tp_ID] AND UserData.[tp_RowOrdinal] = 0 AND t3.[tp_RowOrdinal] = 0 AND ( (t3.tp_IsCurrent = 1) ) AND t3.[tp_CalculatedVersion] = 0 AND t3.[tp_DeleteTransactionId] = 0x AND t3.tp_ListId = @L3 AND UserData.tp_ListId = @L4) LEFT OUTER JOIN AllUserData AS t4 WITH(NOLOCK, INDEX=AllUserData_PK) ON (UserData.[tp_Author]=t4.[tp_ID] AND UserData.[tp_RowOrdinal] = 0 AND t4.[tp_RowOrdinal] = 0 AND ( (t4.tp_IsCurrent = 1) ) AND t4.[tp_CalculatedVersion] = 0 AND t4.[tp_DeleteTransactionId] = 0x AND t4.tp_ListId = @L3 AND UserData.tp_ListId = @L4) LEFT OUTER JOIN AllUserData AS t5 WITH(NOLOCK, INDEX=AllUserData_PK) ON (t1.[LTCheckoutUserId]=t5.[tp_ID] AND t5.[tp_RowOrdinal] = 0 AND ( (t5.tp_IsCurrent = 1) ) AND t5.[tp_CalculatedVersion] = 0 AND t5.[tp_DeleteTransactionId] = 0x AND t5.tp_ListId = @L3) WHERE (UserData.tp_Level= 255 AND UserData.tp_CheckoutUserId = @IU OR ( UserData.tp_Level = 2 AND UserData.tp_DraftOwnerId IS NOT NULL OR UserData.tp_Level = 1 AND UserData.tp_DraftOwnerId IS NULL ) AND ( UserData.tp_CheckoutUserId IS NULL OR UserData.tp_CheckoutUserId &lt;&gt; @IU)) AND &lt;a href="mailto:UserData.tp_SiteId=@L2"&gt;UserData.tp_SiteId=@L2&lt;/a&gt; AND (&lt;a href="mailto:UserData.tp_DirName=@DN"&gt;UserData.tp_DirName=@DN&lt;/a&gt; OR UserData.tp_DirName LIKE @DNEL+N'/%') AND UserData.tp_RowOrdinal=0 AND (&lt;a href="mailto:t1.SiteId=@L2"&gt;t1.SiteId=@L2&lt;/a&gt; AND (&lt;a href="mailto:t1.DirName=@DN"&gt;t1.DirName=@DN&lt;/a&gt; OR t1.DirName LIKE @DNEL+N'/%') AND t1.Type=0) ORDER BY t1.[Type] Desc,UserData.[tp_ID] Asc OPTION (FORCE ORDER)&lt;br /&gt;&lt;br /&gt;This &lt;a href="http://blog.njpenterprises.com/archive/2009/01/25/accessing-folders-and-files-in-a-large-document-library.aspx"&gt;blog &lt;/a&gt;describes a similar issue, as well as this &lt;a href="http://mosswell.blogspot.com/2008_11_01_archive.html"&gt;blog&lt;/a&gt;. Using&lt;br /&gt;targetList.Items[...]&lt;br /&gt;can cause this issue. Use&lt;br /&gt;targetList.GetItemByUniqueId(...) or&lt;br /&gt;targetList.GetItemById(...)&lt;br /&gt;instead.&lt;br /&gt;&lt;br /&gt;Also - might be related to this &lt;a href="http://support.microsoft.com/kb/949008/"&gt;issue &lt;/a&gt;reported by Microsoft. A hotfix exists!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8581146410467083415?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8581146410467083415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8581146410467083415' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8581146410467083415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8581146410467083415'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/02/very-large-document-libraries-very.html' title='Very large document libraries - very strange SQL'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-880519367142792035</id><published>2009-02-05T09:58:00.001-05:00</published><updated>2009-02-25T10:01:29.337-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='new SPSite'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>RunWithElevatedPrivileges</title><content type='html'>We have developed a series of business web services leveraging SharePoint. However, some of our users sometimes ran into security issues when their security level was Contributor.&lt;br /&gt;&lt;br /&gt;Luckily I read this &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx"&gt;article &lt;/a&gt;from MSDN which describe that the&lt;br /&gt;    new SPSite(&lt;url&gt;)&lt;br /&gt;requires privileges above Contributor to work. Running the code in the context of RunWithElevatedPrivileges sovles the problem. Fantastic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-880519367142792035?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/880519367142792035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=880519367142792035' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/880519367142792035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/880519367142792035'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/02/runwithelevatedprivileges.html' title='RunWithElevatedPrivileges'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4783128602095204881</id><published>2009-01-15T08:20:00.006-05:00</published><updated>2009-03-02T07:21:21.722-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Content Type is still in use</title><content type='html'>Despite the fact that &lt;strong&gt;no files&lt;/strong&gt; has the a specified content type I still get the error &lt;em&gt;content type is still in use &lt;/em&gt;when I try to delete the content type.&lt;br /&gt;&lt;br /&gt;I came across this &lt;a href="http://hristopavlov.wordpress.com/2008/06/24/content-type-is-still-in-use/"&gt;blog &lt;/a&gt;that stated that you also needed to look into previous versions of the files as well as files hidden.&lt;br /&gt;&lt;br /&gt;Despite the fact that I have done this I cannot delete the ContentType.&lt;br /&gt;&lt;br /&gt;I therefore looked into the SQL database in the AllUserData table in the Content database with the following SQL&lt;br /&gt;SELECT *&lt;br /&gt;FROM AllUserData&lt;br /&gt;WHERE (tp_DirName LIKE '&lt;folder&gt;%')&lt;br /&gt;AND ((tp_ContentType = '&lt;contenttype&gt;'))&lt;br /&gt;ORDER BY tp_DirName&lt;br /&gt;&lt;br /&gt;Then I got a list of files using the content type.&lt;br /&gt;&lt;br /&gt;The main issue now is that I cannot figure out how to get rid of the content type from these files. Ideas very much appreciated.&lt;br /&gt;&lt;br /&gt;I have&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Checked in documents&lt;/li&gt;&lt;li&gt;Published them all - i.e. major version&lt;/li&gt;&lt;li&gt;Previous versions has been deleted&lt;/li&gt;&lt;li&gt;Emptied recycle bin&lt;/li&gt;&lt;li&gt;Ensured the content type I wish to delete is not default content type (apart from the fact that SharePoint suggest it to be the new default when uploading documents - which is strange. Maybe this is the reason?)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;So what do I do?&lt;/p&gt;&lt;p&gt;Even if I DELETE the files and REMOVE them from recycle bin they still appear in the SQL search. No wonder I cannot get rid of the content type!&lt;/p&gt;&lt;p&gt;Even if I go through &lt;strong&gt;all&lt;/strong&gt; files in the Document Library and explicitly set &lt;/p&gt;&lt;p&gt;oFile.Item("ContentType") = &lt;...&gt;&lt;/p&gt;&lt;p&gt;I cannot DELETE the content type afterwards. Very strange.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4783128602095204881?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4783128602095204881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4783128602095204881' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4783128602095204881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4783128602095204881'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/01/content-type-is-still-in-use.html' title='Content Type is still in use'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4973730749316633579</id><published>2009-01-03T06:44:00.003-05:00</published><updated>2009-01-03T07:24:58.247-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS2007'/><title type='text'>Server Error - SPRequest.AddOrUpdateItem</title><content type='html'>When trying to upload a specific Excel document to SharePoint I get the following error:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_HyyhE3KTcMI/SV9P67cMDVI/AAAAAAAACVg/CDlkZnaTqA4/s1600-h/AddOrUpdateItem.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5287032361363180882" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 206px" alt="" src="http://1.bp.blogspot.com/_HyyhE3KTcMI/SV9P67cMDVI/AAAAAAAACVg/CDlkZnaTqA4/s400/AddOrUpdateItem.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Other documents works just fine but a few documents fails. Ideas very much appreciated. Googling find various ideas:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.eggheadcafe.com/software/aspnet/30576381/error-updating-columns-m.aspx"&gt;Open document in Excel, Press Save As, and re-upload&lt;/a&gt; - don't help&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.eggheadcafe.com/software/aspnet/30576381/error-updating-columns-m.aspx"&gt;MS XML 6.0 de-installed on SharePoint Server&lt;/a&gt; - MSXML 6.0 SP2 installed&lt;/li&gt;&lt;li&gt;Filesize - no relevant - file size is 54Kb&lt;/li&gt;&lt;li&gt;Save as Excel 2007, then Excel 2003 &lt;strong&gt;Fixes the problem - unbelievable&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Server Error in '/' Application.&lt;br /&gt;Oplysningerne i Microsoft Office-dokumentet 06Emails/06-1912/Attachment/ABC.xls kunne ikke opdateres. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Oplysningerne i Microsoft Office-dokumentet 06Emails/06-1912/Attachment/ABC.xls kunne ikke opdateres.Source Error:&lt;br /&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:&lt;br /&gt;[COMException (0x81071003): Oplysningerne i Microsoft Office-dokumentet 06Emails/06-1912/Attachment/ABC.xls kunne ikke opdateres.]&lt;br /&gt;Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32&amp;amp; plID, String&amp;amp; pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object&amp;amp; pvarAttachmentNames, Object&amp;amp; pvarAttachmentContents, Object&amp;amp; pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +0&lt;br /&gt;Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32&amp;amp; plID, String&amp;amp; pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object&amp;amp; pvarAttachmentNames, Object&amp;amp; pvarAttachmentContents, Object&amp;amp; pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +199&lt;br /&gt;[SPException: Oplysningerne i Microsoft Office-dokumentet 06Emails/06-1912/Attachment/ABC.xls kunne ikke opdateres.]&lt;br /&gt;Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bUpdateNoVersion, Int32&amp;amp; plID, String&amp;amp; pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object&amp;amp; pvarAttachmentNames, Object&amp;amp; pvarAttachmentContents, Object&amp;amp; pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bMigration, Boolean bPublish) +240&lt;br /&gt;Microsoft.SharePoint.SPListItem.AddOrUpdateItem(Boolean bAdd, Boolean bSystem, Boolean bPreserveItemVersion, Boolean bNoVersion, Boolean bMigration, Boolean bPublish, Boolean bCheckOut, Boolean bCheckin, Guid newGuidOnAdd, Int32&amp;amp; ulID, Object&amp;amp; objAttachmentNames, Object&amp;amp; objAttachmentContents, Boolean suppressAfterEvents) +934&lt;br /&gt;Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents) +182&lt;br /&gt;Microsoft.SharePoint.SPListItem.Update() +88&lt;br /&gt;Microsoft.SharePoint.WebControls.SaveButton.SaveItem(SPContext itemContext, Boolean uploadMode, String checkInComment) +725&lt;br /&gt;Microsoft.SharePoint.WebControls.SaveButton.SaveItem() +58&lt;br /&gt;Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e) +249&lt;br /&gt;System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35&lt;br /&gt;System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115&lt;br /&gt;System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163&lt;br /&gt;System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7&lt;br /&gt;System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11&lt;br /&gt;System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177&lt;br /&gt;System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746&lt;br /&gt;Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4973730749316633579?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4973730749316633579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4973730749316633579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4973730749316633579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4973730749316633579'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/01/server-error-sprequestaddorupdateitem.html' title='Server Error - SPRequest.AddOrUpdateItem'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_HyyhE3KTcMI/SV9P67cMDVI/AAAAAAAACVg/CDlkZnaTqA4/s72-c/AddOrUpdateItem.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-7851677903510105436</id><published>2008-12-07T06:51:00.001-05:00</published><updated>2009-01-03T06:58:04.705-05:00</updated><title type='text'>SPListItem - SystemUpdate, UpdateOverwriteVersion, Update</title><content type='html'>If you have ever tried to figure out the various SPListItem Update methods the table below, stolen from this &lt;a href="http://hristopavlov.wordpress.com/2008/05/14/uploading-a-file-event-receivers-the-file-has-been-modified-by/"&gt;blog&lt;/a&gt;, gives you an excellent overview:&lt;br /&gt;&lt;table cellspacing="2" border="0"&gt;&lt;tbody&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;&lt;strong&gt;Method&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;strong&gt;bSystem &lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;strong&gt;bPreserveItemVersion &lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;strong&gt;bNoVersion&lt;/strong&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;SystemUpdate()&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#008000;"&gt;true&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;SystemUpdate(&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;)&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#008000;"&gt;true&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#008000;"&gt;true&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;&lt;td&gt;UpdateOverwriteVersion()&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;&lt;td align="middle"&gt;&lt;span style="color:#008000;"&gt;true&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Update()&lt;/td&gt;&lt;td align="middle"&gt;&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;&lt;/td&gt;&lt;td align="middle"&gt;&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;&lt;/td&gt;&lt;td align="middle"&gt;&lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-7851677903510105436?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/7851677903510105436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=7851677903510105436' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7851677903510105436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7851677903510105436'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2009/01/blog-post.html' title='SPListItem - SystemUpdate, UpdateOverwriteVersion, Update'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1415450239981407426</id><published>2008-12-05T18:16:00.000-05:00</published><updated>2009-03-17T18:20:11.654-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LocalSPRequestWarnCount'/><category scheme='http://www.blogger.com/atom/ns#' term='SPRequestStackTrace'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SPRequest object was not disposed before the end of this thread</title><content type='html'>Analysing SharePoint logfiles you might find a lot of &lt;em&gt;Potentially excessive number of SPRequest objects &lt;/em&gt;warnings in the logfile.&lt;br /&gt;&lt;br /&gt;In order to figure out the reason behind this warning you can add a registry key thereby getting a full stack trace as outlined in this &lt;a href="http://blogs.technet.com/stefan_gossner/archive/2008/05/07/troubleshooting-spsite-spweb-leaks-in-wss-v3-and-moss-2007.aspx"&gt;blog&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1415450239981407426?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1415450239981407426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1415450239981407426' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1415450239981407426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1415450239981407426'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/12/sprequest-object-was-not-disposed.html' title='SPRequest object was not disposed before the end of this thread'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-9008590717223710497</id><published>2008-11-22T10:19:00.003-05:00</published><updated>2008-11-30T10:35:07.972-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='InfoPath'/><category scheme='http://www.blogger.com/atom/ns#' term='Delete'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Delete a file from SharePoint</title><content type='html'>Deleting a file from SharePoint should be fairly easy, i.e. invoking the&lt;br /&gt;SPFile.Delete()&lt;br /&gt;method.&lt;br /&gt;&lt;br /&gt;But when invoking this code from a custom web service I get "access denied" error.&lt;br /&gt;&lt;br /&gt;Rather than creating my own web service I investigated using standard SharePoint web services. Files can be deleted using web services - as described in the &lt;a href="http://www.infopathdev.com/blogs/agni/archive/2006/03/12/Delete-File-from-SharePoint.aspx"&gt;blog &lt;/a&gt;where files are deleted from InfoPath.&lt;br /&gt;&lt;br /&gt;This &lt;a href="http://msdn.microsoft.com/en-us/library/ms953758.aspx"&gt;MSDN article &lt;/a&gt;also describes how to delete files.&lt;br /&gt;&lt;br /&gt;Web services are just so much easier to use :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-9008590717223710497?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/9008590717223710497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=9008590717223710497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/9008590717223710497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/9008590717223710497'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/11/delete-file-from-sharepoint.html' title='Delete a file from SharePoint'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-3948519183728309230</id><published>2008-10-28T11:00:00.000-05:00</published><updated>2008-11-30T09:04:33.237-05:00</updated><title type='text'>Working with SharePoint web services - GetList and GetListAndView</title><content type='html'>Working with SharePoint web services is a challenge. Especially as it is not as well documented as you could have expected. So I often end up spending lots of time with small details which is mainly due to bad design. Let me give an example. Consider the GetList web service outlined below:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_HyyhE3KTcMI/STETqdUxBiI/AAAAAAAACVY/4slcgeZifxQ/s1600-h/GetList.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5274018258774722082" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 66px" alt="" src="http://2.bp.blogspot.com/_HyyhE3KTcMI/STETqdUxBiI/AAAAAAAACVY/4slcgeZifxQ/s400/GetList.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The web service contain one parameter:&lt;br /&gt;listName&lt;br /&gt;Whenever I use this web-service I always forget the it doesn't mean the name of the list, but the &lt;strong&gt;title&lt;/strong&gt; of the list. Such a minor detail leads to waste of time - lot of time. And I'm probably not alone out here.&lt;br /&gt;&lt;br /&gt;If you use the listName rather than listTitle you get the brilliant error message:&lt;br /&gt;&lt;errorstring&gt;Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).&lt;/errorstring&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Does anyone know&lt;/strong&gt; how to retrieve information about a list from it's listName rather than listTitle? As end users can rename lists easily the URL for the list is probably better to use than the name.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-3948519183728309230?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/3948519183728309230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=3948519183728309230' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3948519183728309230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3948519183728309230'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/10/working-with-sharepoint-web-services.html' title='Working with SharePoint web services - GetList and GetListAndView'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_HyyhE3KTcMI/STETqdUxBiI/AAAAAAAACVY/4slcgeZifxQ/s72-c/GetList.bmp' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6120134756864927797</id><published>2008-10-26T09:02:00.000-05:00</published><updated>2008-11-30T09:04:02.091-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>The security validation for this page is invalid</title><content type='html'>Wonder how to avoid the "The security validation for this page is invalid" error when using the SharePoint API. At least I do.&lt;br /&gt;&lt;br /&gt;Fortunately I came across this &lt;a href="http://techolyvia.wordpress.com/2008/10/24/the-security-validation-for-this-page-is-invalid-click-back-in-your-web-browser-refresh-the-page-and-try-your-operation-again/"&gt;blog &lt;/a&gt;yesterday. Not sure it solves all my problems - but I tried it out and some of the exceptions disappeared. I'll make more research.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6120134756864927797?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6120134756864927797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6120134756864927797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6120134756864927797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6120134756864927797'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/10/security-validation-for-this-page-is.html' title='The security validation for this page is invalid'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8167924567334874516</id><published>2008-10-04T09:00:00.000-04:00</published><updated>2008-11-30T09:01:59.424-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Copying documents between doclibs - including metadata and versions</title><content type='html'>Moving or copying documents from one area in SharePoint to another is, unfortunately, not as easy as copying documents between folders in Windows Explorer.&lt;br /&gt;&lt;br /&gt;Basically - you'll need to write a program to do so.&lt;br /&gt;&lt;br /&gt;Luckily this &lt;a href="http://www.sharepointblogs.com/dez/archive/2007/11/30/moving-copying-documents-between-libraries-with-metadata-including-version-history.aspx"&gt;blog &lt;/a&gt;descibres how.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8167924567334874516?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8167924567334874516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8167924567334874516' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8167924567334874516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8167924567334874516'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/10/copying-documents-between-doclibs.html' title='Copying documents between doclibs - including metadata and versions'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-9027255550433005024</id><published>2008-09-16T21:38:00.004-04:00</published><updated>2008-12-09T02:53:10.821-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerPoint'/><title type='text'>The document could not be created.</title><content type='html'>&lt;p&gt;The document could not be craeted. The required application may not be installed properly, or the template for this document library cannot be opened.&lt;/p&gt;&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/_HyyhE3KTcMI/SNBgKq2TAVI/AAAAAAAABpY/jaOikM9w1zI/s1600-h/pot.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5246799302303613266" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_HyyhE3KTcMI/SNBgKq2TAVI/AAAAAAAABpY/jaOikM9w1zI/s400/pot.bmp" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;The error happens when I try to use a PowerPoint template file from SharePoint, POT.&lt;/p&gt;&lt;p&gt;Ideas very much appreciated.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-9027255550433005024?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/9027255550433005024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=9027255550433005024' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/9027255550433005024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/9027255550433005024'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/09/document-could-not-be-craeted.html' title='The document could not be created.'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_HyyhE3KTcMI/SNBgKq2TAVI/AAAAAAAABpY/jaOikM9w1zI/s72-c/pot.bmp' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4410727578529144452</id><published>2008-09-14T14:25:00.003-04:00</published><updated>2008-09-14T14:29:18.406-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>Office doesn't behave properly with SharePoint - components missing</title><content type='html'>Sometimes SharePoint is frustrating as different PC's behave differently, especially when dealing with Office documents. This is due to the fact that Office needs some specific ActiveX components that should normally be installed - but for some strange reason sometimes seems to be missing.&lt;br /&gt;&lt;br /&gt;This &lt;a href="http://www.sharepointblogs.com/johnwpowell/archive/2007/07/10/browser-crash-when-opening-office-documents-from-sharepoint.aspx"&gt;blog &lt;/a&gt;refers to a possible solution.&lt;br /&gt;&lt;br /&gt;Check out Microsoft KB &lt;a href="http://support.microsoft.com/kb/938888"&gt;938888&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4410727578529144452?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4410727578529144452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4410727578529144452' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4410727578529144452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4410727578529144452'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/09/office-doesnt-behave-properly-with.html' title='Office doesn&apos;t behave properly with SharePoint - components missing'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8963954251642493150</id><published>2008-09-08T08:55:00.006-04:00</published><updated>2008-09-14T14:33:41.869-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><category scheme='http://www.blogger.com/atom/ns#' term='DOCX'/><title type='text'>Office 2007 document upload - files corrupt</title><content type='html'>Adding a file to SharePoint can be implemented through a web service as described in the &lt;a href="http://msdn.microsoft.com/en-us/library/ms916810.aspx"&gt;note &lt;/a&gt;from Microsoft. It works fine - for all types of documents except for Office 2007 documents!&lt;br /&gt;&lt;br /&gt;Upload goes fine - but when you try to open the file using Office you get the following errors:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_HyyhE3KTcMI/SMUhd32fjHI/AAAAAAAABlw/Aj2MDOBMs1k/s1600-h/Office1.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5243634138235243634" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_HyyhE3KTcMI/SMUhd32fjHI/AAAAAAAABlw/Aj2MDOBMs1k/s400/Office1.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_HyyhE3KTcMI/SMUheBKCS7I/AAAAAAAABl4/DKsKWVOeePY/s1600-h/Office2.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5243634140733131698" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_HyyhE3KTcMI/SMUheBKCS7I/AAAAAAAABl4/DKsKWVOeePY/s400/Office2.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The Office Open XML file &lt;filename&gt;cannot be opened because there are problems with the content.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://support.microsoft.com/kb/928282/en-us"&gt;Microsoft KB 928282&lt;/a&gt; - Excel and Word related - not relevant&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.alternativesoho.com/reviews/word-xml-error.html"&gt;Depressing news&lt;/a&gt; ... &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:webdings;"&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;SharePoint seems to have an error when adding documents to the filecollecting using the&lt;/p&gt;&lt;p&gt;SPFolder.Files.Add&lt;/p&gt;&lt;p&gt;function. If you add from a byte-array it simply fails with Office 2007 documents. But if you convert the byte-array into a stream, e.g. by saving the byte-array into a file and loading it into a stream, then it works. It's unclear to me why this error occurs - but Microsoft probably drops a single byte in the byte-scenario - which is critical for Office 2007 documents, but other documents seems to survive.&lt;/p&gt;&lt;p&gt;Input and comments very much appreciated.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8963954251642493150?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8963954251642493150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8963954251642493150' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8963954251642493150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8963954251642493150'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/09/office-2007-document-upload-files.html' title='Office 2007 document upload - files corrupt'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_HyyhE3KTcMI/SMUhd32fjHI/AAAAAAAABlw/Aj2MDOBMs1k/s72-c/Office1.bmp' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-2059860426504626349</id><published>2008-08-29T05:45:00.005-04:00</published><updated>2008-08-29T06:20:59.796-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Word'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Some files can harm your computer. If the file information looks suspicious or you do not fully trust the source, do not open the file.</title><content type='html'>&lt;div&gt;Creating new document based on SharePoint templates you often get the error:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Some files can harm your computer. If the file information looks suspicious or you do not fully trust the source, do not open the file.&lt;/em&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_HyyhE3KTcMI/SLfF3MzzgZI/AAAAAAAABlg/Nqz-aEI9PlQ/s1600-h/FileDownload.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5239874243590848914" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_HyyhE3KTcMI/SLfF3MzzgZI/AAAAAAAABlg/Nqz-aEI9PlQ/s400/FileDownload.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SharePoint uses the ActiveXObject from the browser, SharePoint.OpenDocuments, and invokes the function CreateNewDocument (or CreateNewDocument2 in MOSS 2007) with the location of the template (http://...) and the default save location (set to the current folder).&lt;br /&gt;&lt;br /&gt;This &lt;a href="http://dotnetjunkies.com/WebLog/jritmeijer/archive/2006/08/19/144065.aspx"&gt;blog &lt;/a&gt;describes how to fix the issue.&lt;br /&gt;&lt;br /&gt;However, this didn't change anything for me. Instead I checked out the htmltransinfo.xml file found in "c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML". Notice HandlerUrl - and also notice that when opening Word documents directly from SharePoint these errors doesn't occur. Didn't change anything either.&lt;br /&gt;&lt;br /&gt;Some claims running Office Diagnostics solves the issue - haven't got time to try out this model - yet!&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_HyyhE3KTcMI/SLfNaso6jDI/AAAAAAAABlo/S3z46SLWqXQ/s1600-h/OfficeDiagnostics.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5239882550011923506" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_HyyhE3KTcMI/SLfNaso6jDI/AAAAAAAABlo/S3z46SLWqXQ/s400/OfficeDiagnostics.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Tried it - no luck :-(&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-2059860426504626349?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/2059860426504626349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=2059860426504626349' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2059860426504626349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2059860426504626349'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/08/some-files-can-harm-your-computer-if.html' title='Some files can harm your computer. If the file information looks suspicious or you do not fully trust the source, do not open the file.'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_HyyhE3KTcMI/SLfF3MzzgZI/AAAAAAAABlg/Nqz-aEI9PlQ/s72-c/FileDownload.bmp' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8728587924581639611</id><published>2008-08-28T18:40:00.004-04:00</published><updated>2008-08-28T18:46:28.631-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Application Event Log: Unable to connect publishing custom string handler for output caching.</title><content type='html'>We often get the following error in the eventlog on the SharePoint IIS Server:&lt;br /&gt;&lt;em&gt;Unable to connect publishing custom string handler for output caching. &lt;/em&gt;&lt;br /&gt;It would be excellent to learn how to avoid this issue.&lt;br /&gt;&lt;br /&gt;Googling the issue many refers to modifying web.config and either add or remove entries to the httpModule section.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://blog.ray1.net/2008/05/application-event-log-unable-to-connect.html"&gt;remove name="PublishingHttpModul"&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://jack.whyyoung.com/blog/www-sharepointblogs-com-MainFeed-aspx-GroupID-3/SharePoint-2007-Unable-to-connect-.htm"&gt;add name="OutputCache" type="System.Web.Caching.OutputCacheModule"&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;But what works? You tell me.&lt;/p&gt;&lt;p&gt;This &lt;a href="http://blogs.msdn.com/sgoodyear/archive/2007/05/07/custom-web-applications-coexisting-with-sharepoint-2007.aspx"&gt;blog&lt;/a&gt; most likely gives a great explanation of the issue. In SharePoint 2003 you had the concept of managed paths - so if you had other web applications on the server you needed to specify these explicit. In MOSS 2007 this feature is removed from the administration tool - and the above blog indicates that it should be added directly in web.config.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8728587924581639611?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8728587924581639611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8728587924581639611' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8728587924581639611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8728587924581639611'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/08/application-event-log-unable-to-connect.html' title='Application Event Log: Unable to connect publishing custom string handler for output caching.'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-5092484025351487154</id><published>2008-08-16T07:58:00.000-04:00</published><updated>2008-09-08T08:00:10.284-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><category scheme='http://www.blogger.com/atom/ns#' term='DOCX'/><title type='text'>Create a DOCX programmatically</title><content type='html'>This &lt;a href="http://blogs.msdn.com/dmahugh/archive/2006/06/27/649007.aspx"&gt;blog &lt;/a&gt;provides a simple example on how to create an Office 2007 docx document.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-5092484025351487154?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/5092484025351487154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=5092484025351487154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5092484025351487154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5092484025351487154'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/08/create-docx-programmatically.html' title='Create a DOCX programmatically'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-300270268641072208</id><published>2008-08-11T08:29:00.001-04:00</published><updated>2008-08-15T08:32:54.938-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Part'/><title type='text'>Web part import - zoneIndex doesn't work</title><content type='html'>If you have ever tried to import web parts using SPLimitedWebPartManager AddWebPart you'll notice the zoneIndex parameter.&lt;br /&gt;&lt;br /&gt;Unfortunately it turns out that zoneIndex only works if web parts are imported in sequence - so you'll need to make certain import is done in the proper sequence order.&lt;br /&gt;&lt;br /&gt;After import zoneIndex cannot be modified programmatically - at least I've not found a way to do this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-300270268641072208?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/300270268641072208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=300270268641072208' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/300270268641072208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/300270268641072208'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/08/web-part-import-zoneindex-doesnt-work.html' title='Web part import - zoneIndex doesn&apos;t work'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-428198000514210800</id><published>2008-08-02T09:49:00.002-04:00</published><updated>2008-08-12T09:55:16.146-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Word'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>Adding a contenttype to a list using Office</title><content type='html'>Today I learned that it's possible to add a content type to a list using Word. Facinating feature! It's even possible for users not allowed to administer the list to add a content type.&lt;br /&gt;&lt;br /&gt;How is this done.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Open a Word dokument from another list with the content type you wish to use&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Save the Word dokument to the new list&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;p&gt;Voila - missing accomplished.&lt;/p&gt;&lt;p&gt;The way Office and SharePoint support this feature is through the ContentTypeId property found in Word as outlined below.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_HyyhE3KTcMI/SKGV2uFZXgI/AAAAAAAABXY/XClUs_DwzN4/s1600-h/Doc+property+ContentTypeId.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5233629009297366530" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_HyyhE3KTcMI/SKGV2uFZXgI/AAAAAAAABXY/XClUs_DwzN4/s400/Doc+property+ContentTypeId.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;The contenttypeid is a guid: 0x01010E00B369AA1A2937544FB28BC321A473DF5A00BCFEABD7F057124C9046012A9BA89F62.&lt;br /&gt;&lt;br /&gt;As SharePoint runs promote/demote document properties the content type id is added to the list. I wonder what happens when documents are sent between organisations - will probably be quite messy!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-428198000514210800?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/428198000514210800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=428198000514210800' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/428198000514210800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/428198000514210800'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/08/adding-contenttype-to-list-using-office.html' title='Adding a contenttype to a list using Office'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_HyyhE3KTcMI/SKGV2uFZXgI/AAAAAAAABXY/XClUs_DwzN4/s72-c/Doc+property+ContentTypeId.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4245208527428999619</id><published>2008-07-30T17:09:00.000-04:00</published><updated>2008-07-30T18:10:56.462-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>?contents=1 - broken web part</title><content type='html'>Web Parts are smart - but sometimes SharePoint makes it a little too difficult. You cannot edit the page as it's broken. Simply add ?contents=1 to the URL of the page will help you out. Check out this &lt;a href="http://www.pings.dk/blog/archive/2007/10/15/remove-broken-web-part-from-page.aspx"&gt;blog&lt;/a&gt;. I'm graceful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4245208527428999619?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4245208527428999619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4245208527428999619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4245208527428999619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4245208527428999619'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/07/contents1-broken-web-part.html' title='?contents=1 - broken web part'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4929048272620402183</id><published>2008-07-25T05:39:00.002-04:00</published><updated>2008-11-12T12:27:44.895-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Word'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Word did not save the document</title><content type='html'>Suddenly we consistently got the error "Word did not save the document" trying to create or update document in SharePoint.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_HyyhE3KTcMI/SImfj21fxdI/AAAAAAAAA_I/mwy_a-x8KAo/s1600-h/Word+did+not+save+the+document.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5226884280904304082" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_HyyhE3KTcMI/SImfj21fxdI/AAAAAAAAA_I/mwy_a-x8KAo/s400/Word+did+not+save+the+document.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We tried to research the problem using Google but didn't really find an answer - something we found quite strange. Then we checked the SharePoint log-files found in&lt;br /&gt;    C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Logs&lt;br /&gt;and voila, we could locate the issue in the log-file, outlined below:&lt;br /&gt;07/25/2008 11:20:13.31 w3wp.exe (0x1054)                       0x1364  Windows SharePoint Services   General                                       72ng      Medium               RPC method = put document      07/25/2008 11:20:13.31 w3wp.exe (0x1054)                       0x1364  Windows SharePoint Services   General                                       72n3      Medium               put file doc URL = 07Docs/07-1521/New document.docx                07/25/2008 11:20:13.40 w3wp.exe (0x1054)                       0x1364  Windows SharePoint Services   Database                             6f8g                Unexpected       Unexpected query execution failure, error code 9002. Additional error information from SQL Server is included below. "&lt;strong&gt;The transaction log for database 'INTRANET_Content' is full&lt;/strong&gt;. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases" Query text (if available): "DECLARE @@S uniqueidentifier; DECLARE @@DocId uniqueidentifier; DECLARE @@Level tinyint; DECLARE @@DocUIVersion int; DECLARE @@DoclibRowId int; DECLARE @@iRet int;DECLARE @DN nvarchar(256); DECLARE @LN nvarchar(128); DECLARE @FU nvarchar(260); SET @@Level=255 SET @@DocUIVersion =1 SET @@DocId='331203E1-CF23-4BE5-A306-B53A7F289DDF' SET @@S='9E4A9A77-CF3E-4881-9E6A-AADF9B17AB86'; EXEC @@DoclibRowId = proc_GenerateNextId 'D44ED427-5B4E-4AE0-AC38-BDDB2E54142E','2E51B790-B64E-43...          07/25/2008 11:20:13.40*               w3wp.exe (0x1054)                       0x1364  Windows SharePoint Services   Database                                      6f8g       Unexpected       ...5F-A1F2-253C7ADCD4C4'; SET @DN=N'Sager/07Docs/07-1521'; SET @LN=N'New document.docx';BEGIN TRAN; EXEC @@iRet = proc_AddDocument '9E4A9A77-CF3E-4881-9E6A-AADF9B17AB86','D44ED427-5B4E-4AE0-AC38-BDDB2E54142E',1,NULL,@DN, @LN OUTPUT, @@Level, @@DocUIVersion, @@DocId,'2E51B790-B64E-435F-A1F2-253C7ADCD4C4',@@DoclibRowId,?,?,54317,1274,1,0,332,NULL,NULL,0,2097153,0,0,0,-2,NULL,0,NULL,NULL,NULL,NULL,NULL,? OUTPUT,0,?,? OUTPUT; SET @FU = dbo.fn_GetFullUrl(@DN, @LN); IF @@iRet &lt;&gt; 0 GOTO done;  EXEC proc_DirtyDependents @@S,1,@FU;IF @DN IS NULL SET @DN=N'Sager/07Docs/07-1521'; IF @LN IS NULL SET @LN=N'New document.docx'; EXEC @@iRet =proc_AddListItem @WebId='D44ED427-5B4E-4AE0-AC38-BDDB2E54142E',@SiteId='9E4A9A77-CF3E-4881-9E6A-AADF9B17AB86',@ListID='2E51B790-B64E-435F-A1F2-253C7ADCD4C4',@ItemId=@@Do...            07/25/2008 11:20:13.40*               w3wp.exe (0x1054)                        0x1364  Windows SharePoint Services   Database                                      6f8g       Unexpected       ...clibRowId,@UIVersion=@@DocUIVersion,@RowOrdinal=0,@DocIdAdded='331203E1-CF23-4BE5-A306-B53A7F289DDF',@Size=0,@ItemName=N'New document.docx',@ItemDirName=@DN OUTPUT,@ItemLeafName=@LN OUTPUT,@ItemDocType=0,@UserId=1,@Level=@@Level, @TimeNow='20080725 09:20:12', @tp_ContentTypeId = ?,@nvarchar1=?,@nvarchar2=?,@nvarchar3=?,@nvarchar7=?,@nvarchar14=?,@nvarchar15=?,@sql_variant1 = 0, @error_sql_variant1 = 3,@tp_ContentType=?,@tp_ModerationStatus=?,@acl=NULL; IF @@iRet&lt;&gt; 0 GOTO done; SELECT @@iRet, @@DoclibRowId; done: IF @@iRet=0 BEGIN COMMIT; EXEC proc_GetLinkInfoSingleDoc @@S,@DN,@LN,@@Level;  END  ELSE ROLLBACK;  SET &lt;a href="mailto:?=@@iRet"&gt;?=@@iRet&lt;/a&gt;;"               &lt;br /&gt;&lt;br /&gt;Quite simple really - the log file was full and no disk space available.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4929048272620402183?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4929048272620402183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4929048272620402183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4929048272620402183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4929048272620402183'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/07/word-did-not-save-document.html' title='Word did not save the document'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_HyyhE3KTcMI/SImfj21fxdI/AAAAAAAAA_I/mwy_a-x8KAo/s72-c/Word+did+not+save+the+document.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1507309539479440084</id><published>2008-07-10T18:40:00.002-04:00</published><updated>2008-07-20T18:43:22.656-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Part'/><title type='text'>Add a Web Part to SharePoint Page Programmatically</title><content type='html'>Adding web parts to a page programmatically can be done through the SPLimitedWebPartManager object.&lt;br /&gt;&lt;br /&gt;However, if you plan to store you web part's in galleries you need to retrieve them. Web Part Galleries are just traditional SharePoint lists, so you'll need to search through the list, and retrieve the content of the item in order to retrieve the web part xml. SharePoint doesn't offer any special Web Part lists.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://neganov.blogspot.com/2007/11/add-web-part-to-sharepoint-page.html"&gt;blog &lt;/a&gt;describes the model fairly detailled.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1507309539479440084?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1507309539479440084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1507309539479440084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1507309539479440084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1507309539479440084'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/07/add-web-part-to-sharepoint-page.html' title='Add a Web Part to SharePoint Page Programmatically'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-7866983744054954697</id><published>2008-06-02T17:39:00.003-04:00</published><updated>2008-06-10T17:45:23.938-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Property'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Demote'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Promote'/><title type='text'>Document parsers in SharePoint - Office 2003 and 2007 promote-demote differently</title><content type='html'>Understanding document property promote-demote logic is quite a challenge - at least to me. I still haven't found &lt;strong&gt;the great description&lt;/strong&gt; of how to do it. Input appreciated.&lt;br /&gt;&lt;br /&gt;However, this &lt;a href="http://blogs.msdn.com/andrew_may/archive/2006/07/21/SharePointBeta2DocumentParserOverview4.aspx"&gt;blog &lt;/a&gt;describe the concept of setting up property promote-demote. The DocParse.xml file is quite interesting - as Office 2003 and Office 2007 doesn't behave equally for property promotion-demotion. The reason could be this file - as the "doc" extension is not included, and SharePoint maybe for that reason uses another algoritm, thus leading to another result!&lt;br /&gt;&lt;br /&gt;From this &lt;a href="http://blogs.msdn.com/andrew_may/archive/2006/07/14/SharePointBeta2DocumentParserOverview1.aspx"&gt;blog&lt;/a&gt;:&lt;br /&gt;&lt;p&gt;&lt;em&gt;WSS includes built-in document parsers for the following file types:&lt;/em&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;OLE: includes DOC, XLS, PPT, MSG, and PUB file formats&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;Office 2007 XML formats: includes DOCX, DOCM, PPTX, PPTM, XLSX an &lt;/em&gt;&lt;em&gt;XLSM file formats&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;XML&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;HTM: includes HTM, HTML, MHT, MHTM, and ASPX file formats&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;em&gt;You cannot create a custom document parser for these file types. With the XML parser, you can use content types to specify which document properties you want to map to which content type columns, and where the document properties reside in your XML documents. &lt;/em&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-7866983744054954697?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/7866983744054954697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=7866983744054954697' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7866983744054954697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7866983744054954697'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/06/document-parsers-in-sharepoint-office.html' title='Document parsers in SharePoint - Office 2003 and 2007 promote-demote differently'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6430681420858348951</id><published>2008-05-07T02:57:00.003-04:00</published><updated>2008-11-12T12:27:45.399-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outlook'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='OWA'/><title type='text'>Connect to Outlook - scripting</title><content type='html'>Connecting a SharePoint folder can easily be scripted as described in this &lt;a href="http://www.sharepointblogs.com/echef/archive/2008/04/15/scripting-the-quot-connect-to-outlook-quot-function.aspx"&gt;blog&lt;/a&gt;. SharePoint uses its own javascript function, ExportHailStorm, to accomplish this.&lt;br /&gt;&lt;br /&gt;The stssync protocol, outlined at &lt;a href="http://msdn.microsoft.com/en-us/library/ms868667.aspx"&gt;msdn&lt;/a&gt;, is used to enable the synchronization to happen.&lt;br /&gt;&lt;br /&gt;If you click &lt;em&gt;Connect to Outlook &lt;/em&gt;as outlined below&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_HyyhE3KTcMI/SDuyBqYrtDI/AAAAAAAAAps/cfbO78i1uC8/s1600-h/ConnectToOutlook.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204949535984170034" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_HyyhE3KTcMI/SDuyBqYrtDI/AAAAAAAAAps/cfbO78i1uC8/s320/ConnectToOutlook.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Outlook will then display the following menu&lt;a href="http://3.bp.blogspot.com/_HyyhE3KTcMI/SDuyBqYrtEI/AAAAAAAAAp0/DxuZTgsuxVw/s1600-h/Outlook+Connect+To+Outlook.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204949535984170050" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_HyyhE3KTcMI/SDuyBqYrtEI/AAAAAAAAAp0/DxuZTgsuxVw/s320/Outlook+Connect+To+Outlook.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Clicking advanced will bring up this menu&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_HyyhE3KTcMI/SDuyB6YrtFI/AAAAAAAAAp8/6MBK333IKpo/s1600-h/Outlook+Connect+To+Outlook+Options.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5204949540279137362" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_HyyhE3KTcMI/SDuyB6YrtFI/AAAAAAAAAp8/6MBK333IKpo/s320/Outlook+Connect+To+Outlook+Options.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Various tools exists to enabel two-way synchronization between SharePoint and your desktop, of which Microsoft provide Groove as a part of Office while Colligo Contributor seems a far better solution as outlined in this &lt;a href="http://blogs.officezealot.com/legault/archive/2008/05/26/21052.aspx"&gt;blog&lt;/a&gt;. Also refer to this &lt;a href="http://www.msexchange.org/tutorials/Drilldown-OWA-Direct-File-Access-Exchange-Server-2007-Part2.html"&gt;blog &lt;/a&gt;for relevant information about how to access information in SharePoint from OWA.&lt;br /&gt;&lt;br /&gt;function ExportHailStorm(type,weburl,guid,webname,listname,viewurl,passport,listrooturl,folderurl,folderid)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6430681420858348951?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6430681420858348951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6430681420858348951' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6430681420858348951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6430681420858348951'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/05/connect-to-outlook-scripting.html' title='Connect to Outlook - scripting'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_HyyhE3KTcMI/SDuyBqYrtDI/AAAAAAAAAps/cfbO78i1uC8/s72-c/ConnectToOutlook.bmp' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-9168970562307592102</id><published>2008-04-10T20:01:00.001-04:00</published><updated>2009-12-22T12:18:02.847-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Google Maps in SQL Server - 2005 and 2008</title><content type='html'>SQL Server 2008 provides support for storing geographical information in the database with the new database &lt;em&gt;geography&lt;/em&gt;. For SQL Server 2005 you can read this &lt;a href="http://www.reimers.dk/blogs/jacob_reimers_weblog/archive/2007/01/26/sql-server-2005-integration.aspx"&gt;blog &lt;/a&gt;for more information.&lt;br /&gt;&lt;br /&gt;Leveraging Google Maps enable you to build a simple web part which can map the address of a contact to a map in Google. Awesome. AJAX today - maybe jQuery in the near future.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-9168970562307592102?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/9168970562307592102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=9168970562307592102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/9168970562307592102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/9168970562307592102'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/04/google-maps-in-sql-server-2005-and-2008.html' title='Google Maps in SQL Server - 2005 and 2008'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8320458669461894062</id><published>2008-04-02T02:21:00.001-04:00</published><updated>2008-04-28T02:34:43.817-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='ItemAdded'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>ItemAdded - listItem is null</title><content type='html'>I have reported this issue before but haven't found a solution - yet. However, today I came across this &lt;a href="http://sp2k7.blogspot.com/2008/04/modify-splistitem-fields-with-vars-from.html"&gt;blog &lt;/a&gt;describing the same problem in the ItemAdding event - which is expected behavior. Apparently &lt;a href="http://www.developermania.com/newsgroups/item/140515/RE_How_to_move_a_document_from_one_library_to_another_MOSS2007.aspx"&gt;others &lt;/a&gt;have had this issue too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8320458669461894062?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8320458669461894062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8320458669461894062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8320458669461894062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8320458669461894062'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/04/itemadded-listitem-is-null.html' title='ItemAdded - listItem is null'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6954714846690005106</id><published>2008-03-30T09:44:00.003-04:00</published><updated>2008-11-12T12:27:45.550-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Change approval status without changing ModifiedBy property on a document</title><content type='html'>We have created a copy-paste utility for SharePoint 2007 which enables documents to be moved from one place within SharePoint to another.&lt;br /&gt;&lt;br /&gt;When we move or copy the file we include properties as well as versions with Createdy, ModifiedBy, TimeCreated and TimeLastModified. Everything works fine except for one issue.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;When we publish a document using SPFile.Publish() the ModifiedBy and TimeLastModified are changed - therefore we lose the version history.&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;Instead we try to fix the issue using the comment field - somehow it solves part of the issue but we would appreciate a better solution.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_HyyhE3KTcMI/R_I9KzsMpoI/AAAAAAAAApk/GTeXOHN3188/s1600-h/versions.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5184273376940435074" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_HyyhE3KTcMI/R_I9KzsMpoI/AAAAAAAAApk/GTeXOHN3188/s320/versions.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;We have tried changing&lt;/p&gt;&lt;p&gt;oFile.Publish([comment])&lt;/p&gt;&lt;p&gt;to&lt;/p&gt;&lt;p&gt;oFile.Item.ModerationInformation.Status = SPModerationInformation.Approved&lt;/p&gt;&lt;p&gt;oFile.Item.ModerationInformation.Comment = [comment]&lt;/p&gt;&lt;p&gt;oFile.Item.SystemUpdate(false)&lt;/p&gt;&lt;p&gt;but unfortunately ModerationInformation is not available on the SPFile object.&lt;/p&gt;This &lt;a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2323678&amp;amp;SiteID=1"&gt;blog &lt;/a&gt;mention the same issue - without a solution. Ideas appreciated.&lt;br /&gt;&lt;br /&gt;As our last resort we're currently investigating creating a stored procedure which modified the SharePoint SQL database behind the scene. We would prefer not using this solution (albeit it works).&lt;br /&gt;&lt;/comment&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6954714846690005106?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6954714846690005106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6954714846690005106' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6954714846690005106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6954714846690005106'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/03/change-approval-status-without-changing.html' title='Change approval status without changing ModifiedBy property on a document'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_HyyhE3KTcMI/R_I9KzsMpoI/AAAAAAAAApk/GTeXOHN3188/s72-c/versions.bmp' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-88738751608826184</id><published>2008-03-24T23:46:00.001-04:00</published><updated>2008-03-27T04:38:05.512-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>One of more field types are not installed properly</title><content type='html'>If you have ever come across the error &lt;em&gt;One of more field types are not installed properly &lt;/em&gt;then you know it isn't easy to fix. If it happens in a query download the U2U CAML Builder as described in the &lt;a href="http://www.sharepoint-tips.com/2007/04/one-of-more-field-types-are-not.html"&gt;blog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Unfortunately I get the error when I try to delete the field from SharePoint using oDocLib.Fields.Delete(&lt;name&gt;). Any ideas why this happens would be appreciated.&lt;br /&gt;&lt;br /&gt;Fortunately this &lt;a href="http://stsadm.blogspot.com/2007/09/delete-list-field.html"&gt;blog &lt;/a&gt;gave me some hints.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-88738751608826184?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/88738751608826184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=88738751608826184' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/88738751608826184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/88738751608826184'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/03/one-of-more-field-types-are-not.html' title='One of more field types are not installed properly'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-3228691691389496584</id><published>2008-02-03T10:54:00.000-05:00</published><updated>2008-02-11T11:02:38.243-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Audience'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Programmatically adding web parts to pages - audience targeting</title><content type='html'>For easy deployment of web part pages we have build a tool to add web parts to pages, using the SPLimitedWebPartManager feature.&lt;br /&gt;&lt;br /&gt;For some web parts we wish to control audience, and to my luck I came across this &lt;a href="http://blogs.tamtam.nl/mart/SetAudienceTargetingOnAWebPartProgrammatically.aspx"&gt;page &lt;/a&gt;describing how to do this. However, understanding the AuthorizationFilter is a challenge.&lt;br /&gt;&lt;br /&gt;Reverse engineering is probably the answer ... will update once I have figured this out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-3228691691389496584?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/3228691691389496584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=3228691691389496584' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3228691691389496584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3228691691389496584'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/02/programmatically-adding-web-parts-to.html' title='Programmatically adding web parts to pages - audience targeting'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-2576427800108611948</id><published>2008-01-18T10:30:00.000-05:00</published><updated>2008-11-12T12:27:45.655-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Document Library'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Avoid checkin when uploading files</title><content type='html'>When uploading files to SharePoint they sometimes are left in checked out status. If the users don't checkin files after upload, other users cannot see the files.&lt;br /&gt;&lt;br /&gt;This can happen even for Document Libraries without versioning - and changing it to avoid checkin is not simple.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You need to ensure at least that:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Require documents to be checked out before they can be edited = false&lt;/li&gt;&lt;li&gt;No versioning af Document library - probably not required&lt;/li&gt;&lt;li&gt;Ensure no mandatory columns exists - or ensure they have default values&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Check out this &lt;a href="http://sharemypoint.wordpress.com/2007/12/20/automatically-checkin-files-after-uploading/"&gt;blog &lt;/a&gt;for information.&lt;br /&gt;&lt;img src="http://4.bp.blogspot.com/_HyyhE3KTcMI/R6x2r4MWvfI/AAAAAAAAApU/Bx4Ogb8xWUw/s1600-h/sharepoint+requires+checkin.bmp" border="0" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-2576427800108611948?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/2576427800108611948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=2576427800108611948' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2576427800108611948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2576427800108611948'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/01/avoid-checkin-when-uploading-files.html' title='Avoid checkin when uploading files'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_HyyhE3KTcMI/R6x2r4MWvfI/AAAAAAAAApU/Bx4Ogb8xWUw/s72-c/sharepoint+requires+checkin.bmp' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-7772782488089322751</id><published>2008-01-05T08:58:00.001-05:00</published><updated>2008-12-06T06:24:41.839-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='SPFile'/><title type='text'>Copy files between document libraries</title><content type='html'>If you wish to copy files between SharePoint sites or document libraries you cannot use the built-in function, &lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spfile.copyto.aspx"&gt;CopyTo&lt;/a&gt;, found in the SPFile object, as this only works within the same document library :-(&lt;br /&gt;&lt;br /&gt;Instead, you need to traverse all versions of a document, which raises a critical issue. How to ensure the created, createdby, modified and modifiedby properties to be the same in the new document as in the old.&lt;br /&gt;&lt;br /&gt;SPFileCollection contains an &lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spfilecollection.add.aspx"&gt;Add &lt;/a&gt;method to add new files. Unfortunately it doesn't exists with all the parameters needed, i.e. properties as well as created, createdby, modified and modifiedby. This method is missing:&lt;br /&gt;&lt;a id="ctl00_rs1_mainContentContainer_ctl27" onclick="javascript:Track('ctl00_rs1_mainContentContainer_cpe629453_cctl00_rs1_mainContentContainer_ctl27',this);" href="http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spfilecollection.add.aspx"&gt;SPFileCollection.Add (String, Byte[], Hashtable, Boolean, SPUser, SPUser, DateTime, DateTime) &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As this method doesn't exists you have two options.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Copy document with properties - and fix dates and users manually afterwards&lt;/li&gt;&lt;li&gt;Copy document with dates and users - and fix properties manually afterwards&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Both methods raises some issues - as you need to manipulate the SPFile and SPListItem object directly.&lt;/p&gt;&lt;p&gt;Manually manipulating createdby can be done as sketched below:&lt;/p&gt;&lt;p&gt;listitem["Created"] = new DateTime(2006, 11,1);&lt;br /&gt;listitem["Modified"] = new DateTime(2006, 12,1);&lt;br /&gt;listitem.UpdateOverwriteVersion();&lt;/p&gt;&lt;p&gt;as outlined on &lt;a href="http://msdn2.microsoft.com/en-us/library/ms439259.aspx"&gt;MSDN&lt;/a&gt;. Unfortunately this code doesn't work :-(&lt;/p&gt;&lt;p&gt;Other ideas very much appreciated.&lt;/p&gt;&lt;p&gt;Check out other blogs, such as &lt;a href="http://www.bloggix.com/blogs/microsoft/archive/2007/07/16/copying-files-and-versions-without-losing-created-and-modified-user-and-datetime.aspx"&gt;this&lt;/a&gt;. Unfortunately it doesn't addess all the issues.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Hint to a solution?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Various investigations led me to analyzing the properties of the listitem after having added the item. It turns out that:&lt;/p&gt;&lt;p&gt;listitem[SPBuiltInFieldId.Created]&lt;/p&gt;&lt;p&gt;listitem[SPBuiltInFieldId.Created_x0020_Date]&lt;/p&gt;&lt;p&gt;are not equal! Created_x0020_Date contains the value of li["Created"] whereas SPBuiltInField.Created &lt;strong&gt;was&lt;/strong&gt; the time the document was added to SharePoint.&lt;/p&gt;&lt;p&gt;This is &lt;strong&gt;even&lt;/strong&gt; the case in situations where you use the&lt;/p&gt;&lt;p&gt;&lt;a id="ctl00_rs1_mainContentContainer_ctl27" onclick="javascript:Track('ctl00_rs1_mainContentContainer_cpe629453_cctl00_rs1_mainContentContainer_ctl27',this);" href="http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spfilecollection.add.aspx"&gt;SPFileCollection.Add (String, Byte[], SPUser, SPUser, DateTime, DateTime)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;which was a surpise to me !&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-7772782488089322751?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/7772782488089322751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=7772782488089322751' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7772782488089322751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7772782488089322751'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2008/01/copy-files-between-document-libraries.html' title='Copy files between document libraries'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-791310501329264148</id><published>2007-12-22T05:21:00.001-05:00</published><updated>2008-11-12T12:27:45.862-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Google Maps'/><title type='text'>Google Maps and SharePoint</title><content type='html'>&lt;a href="http://www.exformatics.com/"&gt;Exformatics Activity Management&lt;/a&gt; facilities geocoded data such as &lt;a href="http://maps.google.com/"&gt;Google Maps&lt;/a&gt;. Various type of cases, e.g. equipment issues a Telecom operator, projects at a large building constructor and can all be associated with their longitude and latitude. Thereby you can seach for activities nearly of various types and get them displayed in a Google Map, as outlined below:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_HyyhE3KTcMI/R9kkRr1w_RI/AAAAAAAAApc/o4Wp52KpWvM/s1600-h/Exformatics+Google+Map+Support.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5177209132883705106" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_HyyhE3KTcMI/R9kkRr1w_RI/AAAAAAAAApc/o4Wp52KpWvM/s320/Exformatics+Google+Map+Support.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This &lt;a href="http://svengillis.blogspot.com/2007/12/google-maps-and-moss-integration.html"&gt;blog &lt;/a&gt;describe how to inline a simple Google Map in SharePoint. Check out this &lt;a href="http://code.google.com/apis/maps/"&gt;link &lt;/a&gt;for documentation.&lt;br /&gt;&lt;br /&gt;If you wish to learn more don't hesitate to contact me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-791310501329264148?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/791310501329264148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=791310501329264148' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/791310501329264148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/791310501329264148'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/12/google-maps-and-sharepoint.html' title='Google Maps and SharePoint'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_HyyhE3KTcMI/R9kkRr1w_RI/AAAAAAAAApc/o4Wp52KpWvM/s72-c/Exformatics+Google+Map+Support.bmp' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-448025893504300733</id><published>2007-12-01T03:40:00.000-05:00</published><updated>2007-12-04T09:42:34.660-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Part'/><title type='text'>Content By Type Web Part</title><content type='html'>Ton Stegeman has done it again - a great new web part. Check out this blog for &lt;a href="http://www.tonstegeman.com/Blog/Lists/Posts/Post.aspx?ID=41"&gt;more &lt;/a&gt;information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-448025893504300733?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/448025893504300733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=448025893504300733' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/448025893504300733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/448025893504300733'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/12/content-by-type-web-part.html' title='Content By Type Web Part'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1626348849915655083</id><published>2007-11-18T01:28:00.000-05:00</published><updated>2007-12-04T09:47:57.505-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Large content databases - added indexes for performance improvements</title><content type='html'>Everyone that has inspected SharePoint's content database will notice that all lists and documents are stored in two tables only, AllUserData and AllDocs.&lt;br /&gt;&lt;br /&gt;As only a few properties are contained in indexes searches will most likely lead to table-scans. Having a few 1.000 documents in SharePoint might not lead to slow performance but if you're looking at 100.000+ documents the situation is obviously different as outlined in this excellent &lt;a href="http://blogs.msdn.com/jjameson/archive/2007/10/31/dumping-moss-2007-variations-part-2.aspx"&gt;article&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1626348849915655083?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1626348849915655083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1626348849915655083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1626348849915655083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1626348849915655083'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/11/large-content-databases-added-indexes.html' title='Large content databases - added indexes for performance improvements'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8239518107092286701</id><published>2007-11-08T13:05:00.000-05:00</published><updated>2007-11-26T17:33:45.620-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Potentially excessive number of SPRequest objects currently unreleased on thread</title><content type='html'>Hopefully you'll never come across the error "Potentially excessive number of SPRequest objects (35) currently unreleased on thread 5". It seems it can occur in several situations due to issues in your code as well as due to issues within Microsoft Office SharePoint Server 2007.&lt;br /&gt;&lt;br /&gt;In order to avoid the problem in your code ensure to properly dispose the SPWeb object as outlined in this Microsoft &lt;a href="http://msdn2.microsoft.com/en-gb/library/aa973248.aspx"&gt;article &lt;/a&gt;as well as in this &lt;a href="http://www.sharepointblogs.com/aaronrh/archive/2007/11.aspx"&gt;blog&lt;/a&gt;. &lt;strong&gt;One important thing missing is the SPWeb.Webs() object - if using this object you also need to dispose all webs within the collection.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Potential reasons include:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.tech-archive.net/Archive/SharePoint/microsoft.public.sharepoint.windowsservices/2007-02/msg00073.html"&gt;Invalid XSL stylesheet&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Drop down lists - simple C# example&lt;/li&gt;&lt;li&gt;&lt;a href="http://blogs.technet.com/corybu/archive/2007/05/31/sharepoint-orphans-explained.aspx"&gt;Orphans&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8239518107092286701?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8239518107092286701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8239518107092286701' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8239518107092286701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8239518107092286701'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/11/potentially-excessive-number-of.html' title='Potentially excessive number of SPRequest objects currently unreleased on thread'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-7878195882372311523</id><published>2007-11-02T13:05:00.000-05:00</published><updated>2007-11-22T19:07:14.503-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>SharePoint Content Database</title><content type='html'>In case you wish to modify the SharePoint Content Database through SQL rather than using Microsoft SharePoint API you might wish to start reading this &lt;a href="http://www.sharepointblogs.com/ethan/archive/2007/09/16/inspecting-the-sharepoint-content-database.aspx"&gt;blog&lt;/a&gt;.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;img src="http://www.idevfactory.com/blogimages/SharePointContentDatabaseModel.jpg" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-7878195882372311523?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/7878195882372311523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=7878195882372311523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7878195882372311523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7878195882372311523'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/11/sharepoint-content-database.html' title='SharePoint Content Database'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-2161609808435398829</id><published>2007-11-02T08:03:00.000-05:00</published><updated>2007-12-05T08:05:36.698-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Document Library'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Content type'/><title type='text'>Where is my content type used</title><content type='html'>If you have worked extensively with MOSS content types you have been in situations where you couldn't locate where the content type was used. Thanks for this &lt;a href="http://www.codeprof.com/dev-archive/182/328-1201-1824435.shtm"&gt;blog &lt;/a&gt;you can now use the SQL below to retrieve that information.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;DECLARE @ContentTypeName nvarchar(128)&lt;br /&gt;SET @ContentTypeName='Document'&lt;br /&gt;SELECT w.Title AS [Web Site], w.FullUrl AS [Web Url], al.tp_Title AS [List Title], ct2.* FROM ContentTypes ct1 JOIN ContentTypes ct2 ON LEFT(ct2.ContentTypeId, Len(ct1.ContentTypeId))=ct1.ContentTypeId LEFT OUTER JOIN dbo.ContentTypeUsage ctu ON LEFT(ctu.ContentTypeId, Len(ct2.ContentTypeId)) = ct2.ContentTypeId LEFT OUTER JOIN dbo.AllLists al ON ctu.ListId = al.tp_Id AND ctu.WebId=al.tp_WebId LEFT OUTER JOIN dbo.Webs w ON al.tp_WebId = w.Id WHERE ct1.ResourceDir=@ContentTypeName&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-2161609808435398829?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/2161609808435398829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=2161609808435398829' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2161609808435398829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2161609808435398829'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/10/where-is-my-content-type-used.html' title='Where is my content type used'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1699860209804454553</id><published>2007-10-22T09:46:00.001-04:00</published><updated>2009-12-22T12:19:20.308-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SharePoint AJAX Toolkit</title><content type='html'>If you haven't yet noticed it you need to check out &lt;a href="http://www.codeplex.com/sharepointajax"&gt;SharePoint AJAX Toolkit&lt;/a&gt;. Or even better - start looking for jQuery support for SharePoint. I wonder if Microsoft will support jQuery in a future version of SharePoint. Woud be great.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1699860209804454553?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1699860209804454553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1699860209804454553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1699860209804454553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1699860209804454553'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/10/sharepoint-ajax-toolkit.html' title='SharePoint AJAX Toolkit'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-5859467915414132585</id><published>2007-10-21T09:10:00.000-04:00</published><updated>2007-11-21T09:12:18.188-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>AJAX on SharePoint - how to get started</title><content type='html'>This &lt;a href="http://sharepointbergen.blogspot.com/2007/09/ajax-for-sharepoint-2007-how-to-get.html"&gt;blog &lt;/a&gt;described how to get started with AJAX on SharePoint&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-5859467915414132585?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/5859467915414132585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=5859467915414132585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5859467915414132585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5859467915414132585'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/10/ajax-on-sharepoint-how-to-get-started.html' title='AJAX on SharePoint - how to get started'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-5863438830786044033</id><published>2007-09-28T07:20:00.000-04:00</published><updated>2007-09-28T07:21:29.415-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Web Content Management Content Type IDs</title><content type='html'>Check out this &lt;a href="http://thorprojects.com/blog/archive/2007/07/10/672.aspx"&gt;blog &lt;/a&gt;for a great overview of SharePoint content types.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-5863438830786044033?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/5863438830786044033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=5863438830786044033' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5863438830786044033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5863438830786044033'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/09/web-content-management-content-type-ids.html' title='Web Content Management Content Type IDs'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4751059102925796222</id><published>2007-09-08T02:23:00.000-04:00</published><updated>2007-09-28T07:24:49.101-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>ASP.NET or SharePoint --&gt; and SharePoint</title><content type='html'>Check out this &lt;a href="http://www.intranetjournal.com/articles/200708/pij_08_24_07a.html"&gt;article&lt;/a&gt; describing the relationship between ASP.net and SharePoint.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4751059102925796222?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4751059102925796222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4751059102925796222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4751059102925796222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4751059102925796222'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/09/aspnet-or-sharepoint-and-sharepoint.html' title='ASP.NET or SharePoint --&gt; and SharePoint'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4536199650036501004</id><published>2007-08-21T19:05:00.000-04:00</published><updated>2007-08-29T19:11:52.373-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SPFileCollection.Add ignores title property on upload</title><content type='html'>Using SPFileCollection.Add (String, Byte[], Hashtable) as described on &lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spfilecollection.add.aspx"&gt;MSDN&lt;/a&gt; I found that it's simply isn't working properly :-(&lt;br /&gt;&lt;br /&gt;Adding system properties doesn't work:&lt;br /&gt;&lt;br /&gt;dim oHash as new hashtable&lt;br /&gt;oHash.add("DocumentType","Contract")&lt;br /&gt;oHash.add("Title","Leasing agreement with Smart Leasing Inc.")&lt;br /&gt;oFile = oFolder.Files.Add(&lt;url&gt;,&lt;byte&gt;,oHash)&lt;br /&gt;&lt;br /&gt;oFile.Item("Title") is not equal to "Leasing agreement...".&lt;br /&gt;&lt;br /&gt;The only way is to modify it manually after having added the file, e.g.&lt;br /&gt;dim li as SPListItem&lt;br /&gt;li = oFile.Item&lt;br /&gt;li("Title")="Leasing agreement..."&lt;br /&gt;li.UpdateOverwriteVersion(); ' In order to avoid creating a new version&lt;br /&gt;&lt;br /&gt;Any explanations why "Title" property cannot be set in oHash would be appreciated.&lt;br /&gt;&lt;br /&gt;Other problems with Add has been reported various places. This &lt;a href="http://www.developerfood.com/spfilecollection-add-ignores-the-date-arguments/microsoft-public-sharepoint-portalserver-development/4fe9f2c5-e8da-4469-9756-e56b74315761/article.aspx"&gt;blog &lt;/a&gt;is worth reading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4536199650036501004?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4536199650036501004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4536199650036501004' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4536199650036501004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4536199650036501004'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/08/spfilecollectionadd-ignores.html' title='SPFileCollection.Add ignores title property on upload'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-7839504876682986033</id><published>2007-08-08T01:11:00.000-04:00</published><updated>2007-08-17T05:15:31.589-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SharePoint explorer view - cut-paste issues</title><content type='html'>Using SharePoint "explorer view" provides end-users with the &lt;em&gt;old &lt;/em&gt;Windows Explorer view to files which is great.&lt;br /&gt;&lt;br /&gt;However, in a few situations the "explorer view" behaves quite strange.&lt;br /&gt;&lt;br /&gt;If you try using Cut-Paste the file is moved from one place to another - including all the history, old versions etc. This is great. However - the Cut-Paste does not respect event handlers that are operational.&lt;br /&gt;&lt;br /&gt;I have an ItemDeleting events that blocks deleting documents from certain document libraries. It works fine from all interfaces (Word, SharePoint, Web Dav) - except from cut-paste. Obviously Microsoft had to implement custom code to handle the clipboard  in this situation - and it seems that they &lt;strong&gt;&lt;em&gt;forgot&lt;/em&gt;&lt;/strong&gt; to respect the event handlers. Just too bad.&lt;br /&gt;&lt;br /&gt;Any experience with similar issues much appreciated - as well as workarounds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-7839504876682986033?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/7839504876682986033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=7839504876682986033' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7839504876682986033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/7839504876682986033'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/08/sharepoint-explorer-view-cut-paste.html' title='SharePoint explorer view - cut-paste issues'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-5609662211803112518</id><published>2007-07-28T05:19:00.000-04:00</published><updated>2007-08-17T05:19:45.880-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>MOSS 2007 ActiveX contols</title><content type='html'>Check out this &lt;a href="http://blogs.technet.com/josebda/archive/2007/03/26/searching-the-visible-moss-2007-code-for-activex-references.aspx"&gt;blog &lt;/a&gt;for details.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-5609662211803112518?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/5609662211803112518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=5609662211803112518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5609662211803112518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/5609662211803112518'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/07/moss-2007-activex-contols.html' title='MOSS 2007 ActiveX contols'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-8222644567948124837</id><published>2007-07-25T18:25:00.000-04:00</published><updated>2007-10-02T18:26:37.057-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Workflow'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Great workflow tutorial - expense reporting</title><content type='html'>Creating a custom SharePoint workflow isn't as easy as you might expect. However, a great tutorial can be found &lt;a href="http://sergeluca.spaces.live.com/blog/cns!E8A06D5F2F585013!986.entry"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-8222644567948124837?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/8222644567948124837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=8222644567948124837' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8222644567948124837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/8222644567948124837'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/10/great-workflow-tutorial-expense.html' title='Great workflow tutorial - expense reporting'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-3599447127712718762</id><published>2007-07-18T06:04:00.000-04:00</published><updated>2007-07-26T06:06:06.812-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSS'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Windows SharePoint Services 3.0: Software Development Kit (SDK)</title><content type='html'>Finally released - check it out&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-3599447127712718762?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/downloads/details.aspx?FamilyID=05e0dd12-8394-402b-8936-a07fe8afaffd&amp;DisplayLang=en' title='Windows SharePoint Services 3.0: Software Development Kit (SDK)'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/3599447127712718762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=3599447127712718762' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3599447127712718762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3599447127712718762'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/07/windows-sharepoint-services-30-software.html' title='Windows SharePoint Services 3.0: Software Development Kit (SDK)'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1721503436090836038</id><published>2007-07-13T18:59:00.004-04:00</published><updated>2012-01-11T14:23:48.444-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NoEmail'/><title type='text'>Mail – effektiv kommunikationskanal eller tidsrøver?</title><content type='html'>Read &lt;a href="http://www.how2know.dk/fileadmin/artikler/BorsenITH.pdf"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1721503436090836038?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.how2know.dk/fileadmin/artikler/BorsenITH.pdf' title='Mail – effektiv kommunikationskanal eller tidsrøver?'/><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1721503436090836038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1721503436090836038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1721503436090836038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1721503436090836038'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/07/mail-effektiv-kommunikationskanal-eller.html' title='Mail – effektiv kommunikationskanal eller tidsrøver?'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-2093792257448849138</id><published>2007-07-09T06:13:00.000-04:00</published><updated>2007-09-29T06:16:44.539-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Managing Active Directory - SharePoint</title><content type='html'>Managing Active Directory is a challenge especially as only a few applications can act as a true LDAP client.&lt;br /&gt;&lt;br /&gt;Extending Active Directory with custom schemas is an excellent model for applications that can act as an LDAP client (e.q. Exformatics ESDH). This allows custom application attributes to be stored in Active Directory, thus maintaining one single point of administration for Users and Computers in organisations.&lt;br /&gt;&lt;br /&gt;One of the challenges is that the standard Windows Users, Groups and Computers view doesn't allow for management of custom attributes. ADSI Edit is the answer. Read more &lt;a href="http://www.computerperformance.co.uk/w2k3/utilities/adsi_edit.htm"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-2093792257448849138?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/2093792257448849138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=2093792257448849138' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2093792257448849138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/2093792257448849138'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/07/managing-active-directory-sharepoint.html' title='Managing Active Directory - SharePoint'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-1799359625334247264</id><published>2007-06-29T05:55:00.001-04:00</published><updated>2007-07-26T06:01:59.548-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Exception (0x81071003): Unable to update the information in the Microsoft Office document</title><content type='html'>When adding a document (Excel) to SharePoint I get the exception: "(0x81071003): Unable to update the information in the Microsoft Office document".&lt;br /&gt;&lt;br /&gt;The exception occur in a ItemAdded event handler where I add a global unique human-readable document id to the document.&lt;br /&gt;&lt;br /&gt;This most likely due to an error in the property promotion/demotion part of SharePoint.&lt;br /&gt;&lt;br /&gt;If I try to open up the Excel sheet myself I get an error as inline VBA code cannot be executed. So if SharePoint tries the same no wonder it doesn't work. But how can you block promotion/demotion in such situations.&lt;br /&gt;&lt;br /&gt;Ideas very much appreciated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-1799359625334247264?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/1799359625334247264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=1799359625334247264' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1799359625334247264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/1799359625334247264'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/06/exception-0x81071003-unable-to-update.html' title='Exception (0x81071003): Unable to update the information in the Microsoft Office document'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6787524316738097935</id><published>2007-06-11T16:54:00.000-04:00</published><updated>2007-10-11T16:55:38.762-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Search'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Search Query Web Service Test Tool for Microsoft Office SharePoint Server (MOSS) 2007</title><content type='html'>If you need to work with MOSS search engine &lt;a href="http://www.mosssearch.com/searchwebservice.html"&gt;this &lt;/a&gt;is a must have tool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6787524316738097935?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6787524316738097935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6787524316738097935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6787524316738097935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6787524316738097935'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/06/search-query-web-service-test-tool-for.html' title='Search Query Web Service Test Tool for Microsoft Office SharePoint Server (MOSS) 2007'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6657496794875258461</id><published>2007-06-05T15:46:00.001-04:00</published><updated>2009-06-22T07:26:47.351-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Office property promotion/demotion in SharePoint</title><content type='html'>I came across &lt;a href="http://blogs.msdn.com/joerg_sinemus/archive/2007/05/25/migrate-office-2003-documents-to-office-2007-documents-and-what-is-happen-with-the-old-doc-properties.aspx"&gt;this &lt;/a&gt;posting today about Office property promotion/demotion. Figuring out why and when properties are synchronized from SharePoint into Office and vice versa is quite a challenge. I'm still figuring out the details. Documentation and details needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6657496794875258461?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6657496794875258461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6657496794875258461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6657496794875258461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6657496794875258461'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/06/office-property-promotiondemotion-in.html' title='Office property promotion/demotion in SharePoint'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-885936436848747726</id><published>2007-05-09T18:25:00.000-04:00</published><updated>2007-05-25T18:27:14.638-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SharePoint fine grained permission control</title><content type='html'>Just located this &lt;a href="http://blah.winsmarts.com/2007-4-SharePoint_2007__Fine_grained_permission_control.aspx"&gt;blog &lt;/a&gt;- an excellent description of how to extend SharePoint permissions to avoid approvers having delete rights.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-885936436848747726?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/885936436848747726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=885936436848747726' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/885936436848747726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/885936436848747726'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/05/sharepoint-fine-grained-permission.html' title='SharePoint fine grained permission control'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4632881164936016331</id><published>2007-05-02T14:23:00.000-04:00</published><updated>2007-05-22T03:20:14.838-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Approve a SPFolder programmatically</title><content type='html'>If you are creating folders programmatically in SharePoint you'll notice that they turn of with "Approval Status" Pending.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;: And it's just sooo simple --&gt; check out &lt;a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1518721&amp;SiteID=1"&gt;this&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Luckily it seems that you can programmatically change the _ModerationStatus of a folder item using the ProcessBatchData operation of the SPWeb object as outlined in this &lt;a href="http://dotnetjunkies.com/WebLog/wicwil/archive/2005/08/04/131732.aspx"&gt;blog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Unfortunately for me I can't get it working - yet. My code for ProcessBatchData looks like this:&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;ows:Batch OnError="Continue" &amp;gt;&lt;br /&gt;&amp;lt;SetList Scope="Request"&amp;gt;{5234ebfe-58c5-4af3-8879-cde8ade42315}&amp;lt;/SetList&amp;gt;&lt;br /&gt;&amp;lt;SetVar Name="DatesInGregorian"&amp;gt;TRUE&amp;lt;/SetVar&amp;gt;&lt;br /&gt;&amp;lt;Method ID="1,Update"&amp;gt;&lt;br /&gt;&amp;lt;SetVar Name="Cmd"&amp;gt;Save&amp;lt;/SetVar&amp;gt;&lt;br /&gt;&amp;lt;SetVar Name="ID"&amp;gt;14&amp;lt;/SetVar&amp;gt;&lt;br /&gt;&amp;lt;SetVar Name="owshiddenversion"&amp;gt;1&amp;lt;/SetVar&amp;gt;&lt;br /&gt;&amp;lt;SetVar Name="owsfileref"&amp;gt;http://intranet/Projects/Labbooks/ABC&amp;lt;/SetVar&amp;gt;&lt;br /&gt;&amp;lt;SetVar Name="urn:schemas-microsoft-com:office:office#_ModerationStatus"&amp;gt;0&amp;lt;/SetVar&amp;gt;&lt;br /&gt;&amp;lt;SetVar Name="urn:schemas-microsoft-com:office:office#_ModerationComments"&amp;gt;Exformatics Approved Folder&amp;lt;/SetVar&amp;gt;&lt;br /&gt;&amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/ows:Batch&amp;gt;&lt;br /&gt;&lt;br /&gt;I get a proper reply back - but the folder is not yet approved. Maybe it only works in SharePoint 2003 and not in MOSS 2007. However, according to &lt;a href="http://jopx.blogspot.com/2007/03/creating-webpartpages-in-sharepoint_14.html"&gt;Joris Poelmans &lt;/a&gt;ProcessBatchData also works for MOSS 2007 - at least for creating new pages.&lt;br /&gt;&lt;br /&gt;A good description with &lt;em&gt;similar&lt;/em&gt; syntax can be found &lt;a href="http://www.codecomments.com/message408326.html"&gt;here &lt;/a&gt;- but not working either :-(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4632881164936016331?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4632881164936016331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4632881164936016331' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4632881164936016331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4632881164936016331'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/05/approve-spfolder-programmatically.html' title='Approve a SPFolder programmatically'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-984934801381882672</id><published>2007-04-25T14:16:00.000-04:00</published><updated>2008-11-12T12:27:46.881-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Workflow'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Strange workflow error - visual studio - Error 319 (0x13F)</title><content type='html'>Using Visual Studio.NET 2005 we're trying to create a new workflow. However, we get a strange error in VS.Net 2005 as outlined below:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Error 4 Property 'WorkflowProperties' has invalid value. Field type 'Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties' does not match with the expected type 'Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties'.&lt;/em&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_HyyhE3KTcMI/R5o2I4MWvbI/AAAAAAAAAnk/vNR-WSIpyDw/s1600-h/workflow.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5159495849257385394" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_HyyhE3KTcMI/R5o2I4MWvbI/AAAAAAAAAnk/vNR-WSIpyDw/s320/workflow.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Any hints, ideas etc?&lt;br /&gt;&lt;br /&gt;Workflow error codes can be found on &lt;a href="http://msdn2.microsoft.com/en-us/library/ms732205(VS.85).aspx"&gt;MSDN&lt;/a&gt;, but little information about how to fix them.&lt;br /&gt;&lt;br /&gt;I also get the error as outlined below:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_HyyhE3KTcMI/R5pyiIMWvdI/AAAAAAAAAn0/Ohdkh8uIqO0/s1600-h/wf2.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5159562253746748882" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_HyyhE3KTcMI/R5pyiIMWvdI/AAAAAAAAAn0/Ohdkh8uIqO0/s400/wf2.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Could not bind property 'WorkflowProperties'&lt;br /&gt;Could not load file or assembly 'Microsoft.SharePoint.Library, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.&lt;br /&gt;&lt;br /&gt;I'm also trying to update VS.Net 2005 with "Windows Workflow Foundation Extensions for Visual Studio 2005" as outlined in various guidelines. However, it seems that Microsoft has renamed the tool - at least I cannot find the latest released on MSDN. I often wonder why it has to be soooooooo difficult.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-984934801381882672?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/984934801381882672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=984934801381882672' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/984934801381882672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/984934801381882672'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/04/strange-workflow-error-visual-studio.html' title='Strange workflow error - visual studio - Error 319 (0x13F)'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_HyyhE3KTcMI/R5o2I4MWvbI/AAAAAAAAAnk/vNR-WSIpyDw/s72-c/workflow.bmp' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6231762404779432959</id><published>2007-04-21T19:30:00.000-04:00</published><updated>2007-05-21T19:31:42.969-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Reorder properties in Document Libraries</title><content type='html'>I have tried to modify the sequence of properties in a document library and luckily I found the following excellent &lt;a href="http://www.ekegren.dk/blog/AddBlogComment.aspx?id=4"&gt;blog &lt;/a&gt;describing how to accomplish the result using the ProcessBatchData.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6231762404779432959?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6231762404779432959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6231762404779432959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6231762404779432959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6231762404779432959'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/04/reorder-properties-in-document.html' title='Reorder properties in Document Libraries'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-3835233749786298314</id><published>2007-04-15T07:48:00.000-04:00</published><updated>2007-05-22T07:49:42.471-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>Controlling MOSS Document templates</title><content type='html'>It's a pleasure to leverage others work - rather than having to re-invent the wheel myself all the time.&lt;br /&gt;&lt;br /&gt;Ton Stegeman has written an excellent &lt;a href="http://www.sharepointblogs.com/tonstegeman/archive/2007/03/27/document-templates-and-sharepoint-2007-content-types.aspx"&gt;blot &lt;/a&gt;about how to control MOSS document templates programmatically. Thanks you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-3835233749786298314?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/3835233749786298314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=3835233749786298314' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3835233749786298314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/3835233749786298314'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/04/controlling-moss-document-templates.html' title='Controlling MOSS Document templates'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-6841393766821954965</id><published>2007-04-02T03:31:00.000-04:00</published><updated>2007-04-12T03:33:16.219-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SPFieldUser with default value</title><content type='html'>Ton Stegeman provides a lot of valuable information on his &lt;a href="http://www.sharepointblogs.com/tonstegeman"&gt;blog&lt;/a&gt;. Refer to this &lt;a href="http://www.sharepointblogs.com/tonstegeman/archive/2006/10/10/13718.aspx"&gt;note &lt;/a&gt;on how to create a custom SPFieldUser that defaults to the current active user.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-6841393766821954965?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/6841393766821954965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=6841393766821954965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6841393766821954965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/6841393766821954965'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/04/spfielduser-with-default-value.html' title='SPFieldUser with default value'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15200454.post-4631128357760697120</id><published>2007-03-26T07:35:00.000-04:00</published><updated>2007-03-29T04:04:23.619-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='MOSS'/><title type='text'>SPItemEventReceiver - ItemAdded and ItemUpdated runs simultaneous</title><content type='html'>I have created a lot of event handlers over the last months, but sometimes I cannot get them working properly. From time to time it seems that item-events are running in sequence, i.e. ItemAdded &lt;strong&gt;then&lt;/strong&gt; ItemUpdated. However, in other situations ItemAdded starts - but &lt;strong&gt;before&lt;/strong&gt; ItemAdded finish ItemUpdated starts. I would like to ensure that one event is completed before the next is kicked off. Any hints.&lt;br /&gt;&lt;br /&gt;It appears that is it critical to use SystemUpdate(...) rather than Update() as outlined &lt;a href="http://www.sharepointblogs.com/mykiep/archive/2007/02/14/19452.aspx"&gt;here&lt;/a&gt;. But a note claims this was only an issue for beta versions?&lt;br /&gt;&lt;br /&gt;I have tried using SystemUpdate rather than Update as sketched below, read this &lt;a href="http://www.sharepoint-tips.com/2006/10/preventing-event-handler-recursion.html"&gt;blog&lt;/a&gt;.&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;this.DisableEventFiring();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;anItem.SystemUpdate(false);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;this.EnableEventFiring();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The sequence of events is also quite strange as outlined in many blogs, try reading this.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution:&lt;/strong&gt; It seems that if you ensure using SystemUpdate and Disable/Enable EventFiring as sketched above &lt;strong&gt;consistently&lt;/strong&gt; in your eventhandler you don't have any issues. But I'm not yet convinced.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/15200454-4631128357760697120?l=mqsharepoint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mqsharepoint.blogspot.com/feeds/4631128357760697120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=15200454&amp;postID=4631128357760697120' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4631128357760697120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15200454/posts/default/4631128357760697120'/><link rel='alternate' type='text/html' href='http://mqsharepoint.blogspot.com/2007/03/spitemeventreceiver-itemadded-and.html' title='SPItemEventReceiver - ItemAdded and ItemUpdated runs simultaneous'/><author><name>Morten Marquard</name><uri>http://www.blogger.com/profile/07373568346464812598</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp1.blogger.com/_HyyhE3KTcMI/SGudkfHbUuI/AAAAAAAAAwU/dRho-B7Ixqk/s1600-R/mmq.jpg'/></author><thr:total>10</thr:total></entry></feed>
