<?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:blogger='http://schemas.google.com/blogger/2008' 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-2025011434250075468</id><updated>2024-10-06T22:37:07.999-07:00</updated><category term="Sharepoint 2010"/><category term="Infopath"/><category term="Sharepoint"/><category term="Copy Past"/><category term="Google Checkout"/><category term="Infopath Publish"/><category term="List Item Move"/><category term="MULTIVALUE PARAMETER"/><category term="ORACLE"/><category term="SPFile"/><category term="SPListItem"/><category term="SPLock Sharepoint File"/><category term="SSRS"/><category term="STORE PROCEDURE"/><category term="Updating site the site content type failed"/><category term="WP e-Commerce"/><category term="Wordpress"/><title type='text'>Think 4 Code</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-1775999334514862458</id><published>2012-07-07T09:30:00.005-07:00</published><updated>2012-07-07T11:07:48.144-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPFile"/><category scheme="http://www.blogger.com/atom/ns#" term="SPLock Sharepoint File"/><title type='text'>SPUnlock Tool &quot;The file is locked for exclusive use by&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong style=&quot;background-color: white; color: red; font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; text-align: -webkit-auto;&quot;&gt;The file &quot;&quot; &amp;nbsp;is locked for exclusive use by domain\user&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; text-align: -webkit-auto;&quot;&gt;
Normally&amp;nbsp;you will get this when file from&amp;nbsp;SharePoint&amp;nbsp;library is in use in by any user in client applications&amp;nbsp;that&#39;s as expected. But due to many&amp;nbsp;reasons&amp;nbsp; this lock never get released even &amp;nbsp;when you are not using this file.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;SharePoint Lock and Checkout&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small;&quot;&gt;&amp;nbsp;SharePoint&amp;nbsp;lock are not same as item checkout.&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: x-small;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Checkout&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;is when user &amp;nbsp;perform through&amp;nbsp;SharePoint&amp;nbsp;UI for via programatically to edit a file&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&lt;u&gt;&lt;b&gt;Checkout type&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: medium;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/i&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Online&lt;/span&gt;&lt;/b&gt;&lt;i style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: medium;&quot;&gt; :-&amp;nbsp;&lt;/i&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: left;&quot;&gt;The file is checked out for editing on the server.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-weight: bold; text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; text-align: left;&quot;&gt;&lt;b&gt;Offline&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-weight: bold; text-align: left;&quot;&gt; :-&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: left;&quot;&gt;The file is checked out for editing on the local computer.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: 13px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif;&quot;&gt;
&lt;b&gt;&lt;u&gt;Lock Type&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;When user open a document &amp;nbsp;in edit mode &amp;nbsp;in office client&amp;nbsp;SharePoint&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Creates a short term &amp;nbsp;lock &lt;b&gt;( 10 min) &lt;/b&gt;&amp;nbsp;on the file, preventing other users from modifying it. this lock get renew by office client after every 10 min.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Lock Type&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; font-size: 11px; font-weight: bold; text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; font-weight: bold; text-align: left;&quot;&gt;&amp;nbsp; Exclusive: -&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; font-size: 11px; font-weight: bold; text-align: left;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;The file is locked for editing by a single user. No other user can modify the file until the lock is released.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: 11px; font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-weight: bold;&quot;&gt;Shared:-&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;The file is locked for editing by a group who are using a collaborative application. Other users are prevented from modifying the file until the lock is released.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: 13px;&quot;&gt;
&lt;i style=&quot;color: #cccccc; font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;Note:- The checkout state of a file is independent of its locked state&lt;/i&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: 13px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;


&lt;span style=&quot;color: red; font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;&lt;b&gt;&lt;u&gt;Solutions for Sharepoint&amp;nbsp;Accidental&amp;nbsp;Lock&lt;/u&gt;&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;


















&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Wait for 10 min for lock to expire (this is true in 80 % of cases)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Quick solution is to &amp;nbsp;reset &amp;nbsp;share point&amp;nbsp;server &lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;( not always&amp;nbsp;feasible&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Use a codeplex tool to unlock these file&lt;span style=&quot;color: red;&quot;&gt; &lt;a href=&quot;https://spunlockfiles.codeplex.com/&quot;&gt;SPUnlock&lt;/a&gt;&lt;/span&gt;&amp;nbsp; (&lt;/b&gt;
&lt;a href=&quot;https://spunlockfiles.codeplex.com/&quot;&gt;https://spunlockfiles.codeplex.com/&lt;/a&gt;)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/h4&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;SPUnlock Tool&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Its a Sandbox based solution&amp;nbsp;developed&amp;nbsp;by me as an additional nice to have tool while working/ supporting &amp;nbsp;project issues where files get locked by user for some reason .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, &#39;Microsoft Sans Serif&#39;, Arial, Geneva, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;SPUnlock Tool Setup&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Download&amp;nbsp;&lt;b&gt;&lt;u&gt;SPUnlockSandbox.wsp&lt;/u&gt;&lt;/b&gt;&amp;nbsp;from&amp;nbsp;&lt;/span&gt;
&lt;a href=&quot;https://spunlockfiles.codeplex.com/&quot;&gt;https://spunlockfiles.codeplex.com/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Upload &amp;nbsp;SPUnlockSandbox.wsp to SP Site&amp;nbsp;Collection&amp;nbsp;Solution&amp;nbsp;Gallery&lt;span style=&quot;color: #999999;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;u&gt;http://&lt;server&gt;/sites/&lt;sitecollection&gt;/&lt;/sitecollection&gt;&lt;/server&gt;&lt;/u&gt;&lt;/span&gt;&lt;u&gt;_catalogs/solutions/Forms/AllItems.aspx&lt;/u&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Activate solution from solution gallery&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Confirm above step activate a &amp;nbsp;sitecollection feature &quot;SPUnlockSandbox_Feature1&quot; .&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Navigate to you site or any subsite &amp;nbsp;w&lt;span style=&quot;color: #999999;&quot;&gt;here and add webpart &quot;&lt;b&gt;&lt;u&gt;SPFile Unlock&lt;/u&gt;&lt;/b&gt;&quot; &amp;nbsp;to any page.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;and there you go with this simple but&amp;nbsp;useful&amp;nbsp;tool&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-GdAUvSvHRCipClQXWZPV3Njh3S4GnsbcCZVhp-yKWCtQjnUuZhyphenhyphenQZWZ8w3s8Unu2Xc7uNL7VXKk5KO1tdT1pMFgeWDPDIX_GY0XGp-KscBP8Jq82hmQNI2D7nzs3jk2JUodBckcYco/s1600/SPUnlockWEBPartUI.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-GdAUvSvHRCipClQXWZPV3Njh3S4GnsbcCZVhp-yKWCtQjnUuZhyphenhyphenQZWZ8w3s8Unu2Xc7uNL7VXKk5KO1tdT1pMFgeWDPDIX_GY0XGp-KscBP8Jq82hmQNI2D7nzs3jk2JUodBckcYco/s400/SPUnlockWEBPartUI.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-GdAUvSvHRCipClQXWZPV3Njh3S4GnsbcCZVhp-yKWCtQjnUuZhyphenhyphenQZWZ8w3s8Unu2Xc7uNL7VXKk5KO1tdT1pMFgeWDPDIX_GY0XGp-KscBP8Jq82hmQNI2D7nzs3jk2JUodBckcYco/s1600/SPUnlockWEBPartUI.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/1775999334514862458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/1775999334514862458' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/1775999334514862458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/1775999334514862458'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2012/07/sharepoint-2010-file-is-locked-for.html' title='SPUnlock Tool &quot;The file is locked for exclusive use by&quot;'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-GdAUvSvHRCipClQXWZPV3Njh3S4GnsbcCZVhp-yKWCtQjnUuZhyphenhyphenQZWZ8w3s8Unu2Xc7uNL7VXKk5KO1tdT1pMFgeWDPDIX_GY0XGp-KscBP8Jq82hmQNI2D7nzs3jk2JUodBckcYco/s72-c/SPUnlockWEBPartUI.JPG" height="72" width="72"/><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-2328053759451882946</id><published>2012-04-14T05:57:00.004-07:00</published><updated>2012-07-05T09:17:24.939-07:00</updated><title type='text'>Info path 2010 on Ipad</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
From today I will be &amp;nbsp;working on rare combination of products&amp;nbsp;Microsoft&amp;nbsp;and Apple. to starts with&amp;nbsp;Info path&amp;nbsp;2010 forms on&amp;nbsp;I PAD&amp;nbsp;browser . thanks to&amp;nbsp;share point&amp;nbsp;2010 for having better html output to support multiple browser&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Day 1&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
1. Basic browser &amp;nbsp;infopath&amp;nbsp;form works good in IPAD&lt;b&gt;&amp;nbsp;.&lt;/b&gt; thanks to SP 2010&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Day 2&lt;/b&gt;&lt;br /&gt;
1. Will target application in two&amp;nbsp;phase 1st create infopath application for client in windows system for offline&amp;nbsp;capability&amp;nbsp; and online version (browser) for IPAD.&lt;br /&gt;
2. Phase 2 will add offline&amp;nbsp;capability in IPAD. this going to be interesting&amp;nbsp;&amp;nbsp;options here are&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a. Create or buy any&amp;nbsp;infopath&amp;nbsp;Ipad App like&amp;nbsp;&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: sans-serif; font: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;SharePlus&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: sans-serif; font: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b. Create a ipad app for application mean not a infopath but a ui application which will read and write infopath xml to sharepoint library . but downside of this is it will be specific to Application.&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: sans-serif; font: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: sans-serif; font: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;&lt;b&gt;Day 3&lt;/b&gt;.&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;border-width: 0px; font: inherit; margin: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;Notices a issue in&amp;nbsp;info path&amp;nbsp;browser forms in safari (IPAD) &amp;nbsp;not sure&amp;nbsp;whom&amp;nbsp;to blame MS or Apple.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;border-width: 0px; font: inherit; margin: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvn3mwRwFTTaDp50ZxXO4MbQgBzZ-EQqFKYKA58iyQGcp7Oc6vO7kBuUSWQKLyB5J4gSO57WHNMVHRxnqmq1-hj4GR07uD7-Gy923IwGkEVbwEsv3sbPHVKu5A-fxkprcDyQNB6E4lan8/s1600/infopath+Rich+ribbon.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvn3mwRwFTTaDp50ZxXO4MbQgBzZ-EQqFKYKA58iyQGcp7Oc6vO7kBuUSWQKLyB5J4gSO57WHNMVHRxnqmq1-hj4GR07uD7-Gy923IwGkEVbwEsv3sbPHVKu5A-fxkprcDyQNB6E4lan8/s320/infopath+Rich+ribbon.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
You&amp;nbsp;can&#39;t&amp;nbsp;change&amp;nbsp;text color or&amp;nbsp;hi light&amp;nbsp;a test with given ribbon controls. very&amp;nbsp;minor&amp;nbsp;issue .&lt;br /&gt;
&lt;br /&gt;
I&amp;nbsp;will&amp;nbsp;skip some around 10 days it went smooth without any issue&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Day 13&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;Notices one more &amp;nbsp;issue in&amp;nbsp;infopath&amp;nbsp;browser form in Safari both &amp;nbsp;desktop and iPAD&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Description : My&amp;nbsp;info path&amp;nbsp;form have Submit button . when you hit submit button with some validation &amp;nbsp;error in form ( required field &amp;nbsp;validation) infopath will prompt a error popup . which is normal but once you are back to form &amp;nbsp;from error popup &lt;b&gt;&amp;nbsp;last Rich text box field &amp;nbsp;which i was filling just before hitting submit button &amp;nbsp;will be blank.&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;agian&amp;nbsp;&lt;span style=&quot;background-color: white; text-align: -webkit-auto;&quot;&gt;not sure&amp;nbsp;whom&amp;nbsp;to blame MS or Apple.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/2328053759451882946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/2328053759451882946' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/2328053759451882946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/2328053759451882946'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2012/04/info-path-2010-on-ipad.html' title='Info path 2010 on Ipad'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvn3mwRwFTTaDp50ZxXO4MbQgBzZ-EQqFKYKA58iyQGcp7Oc6vO7kBuUSWQKLyB5J4gSO57WHNMVHRxnqmq1-hj4GR07uD7-Gy923IwGkEVbwEsv3sbPHVKu5A-fxkprcDyQNB6E4lan8/s72-c/infopath+Rich+ribbon.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-2515955753580957661</id><published>2012-04-11T08:27:00.001-07:00</published><updated>2012-04-11T08:28:08.344-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Copy Past"/><category scheme="http://www.blogger.com/atom/ns#" term="Infopath"/><title type='text'>InfoPath Design Copy Past Issue</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Today while working with&amp;nbsp;infopath&amp;nbsp;forms i feel sometime when I try to&amp;nbsp;&lt;b&gt;copy &amp;nbsp;and past&lt;/b&gt;&amp;nbsp;some text or control&amp;nbsp;across&amp;nbsp;the view or to different location in a &amp;nbsp;same view it never past the content i have copyed. many people do system restart and it work but when i dig a bit its a strange dependency&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Solution&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;if you close all your open &amp;nbsp;IE window &amp;nbsp;copy past starts working normally .&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Don&#39;t know what this have to do with IE . but certainly there is some relation between &amp;nbsp;on IE and&amp;nbsp;info path&amp;nbsp;one more such example if if you make you your IE offline your&amp;nbsp;info path&amp;nbsp;will also get into offline mode .&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/2515955753580957661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/2515955753580957661' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/2515955753580957661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/2515955753580957661'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2012/04/infopath-design-copy-past-issue.html' title='InfoPath Design Copy Past Issue'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-2993376561481886331</id><published>2012-03-09T17:27:00.000-08:00</published><updated>2012-03-09T17:32:35.685-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="List Item Move"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPListItem"/><title type='text'>Move SharePoint  List Item (SPListItem)  To Sub Folder</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is a sample code to move SPlist item &amp;nbsp;from Root Location to sub folder. as every list item have unique url they can treated as File(SPFile). With SPFile Object we know how SPFile.Move() works.&lt;br /&gt;
&lt;br /&gt;
In this sample code will try to move  SharePoint  list item from root folder to subfolder during ItemAdded Event.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;


&lt;pre class=&quot;c-sharp&quot; name=&quot;code&quot;&gt;
/*
* /Move  List Item to folder ( not Document library folder )
* with sahrepoint 2010(not sure if poosible in MOSS 2007 )
* Key point sahrepont create unique URL for every list item also . it will look like 
* http://&lt;sahrepointserver&gt;/sites/&lt;site&gt;/Lists/&lt;ListName&gt;/1_.000    where 1 is SPitem ID
* 
*/
          
SPWeb web= properties.Web;
//Folder123 is Inside root location of List
string DestinationFolderName=&quot;Folder123&quot;;

// Source item outside folder Folder123 
SPListItem listitem = properties.ListItem;

SPFile listitemFile = web.GetFile(listitem.Url);

//Create New Destination  URL ../Lists/Folder123/1_.000
string NewDestinationUrl=listitemFile.Url.Replace(listitem.ID.ToString()+&quot;_.000&quot;,DestinationFolderName+&quot;/&quot;+listitem.ID.ToString()+&quot;_.000&quot;); 

//Move Item Insite Folder123
listitemFile.MoveTo(NewDestinationUrl);
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/2993376561481886331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/2993376561481886331' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/2993376561481886331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/2993376561481886331'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2012/03/move-list-item-splistitem-to-sub-folder.html' title='Move SharePoint  List Item (SPListItem)  To Sub Folder'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-4616960856190559937</id><published>2012-02-20T18:17:00.000-08:00</published><updated>2012-02-20T18:18:45.456-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint 2010"/><title type='text'>Sharepoint 2010 Date Column Validation  with [Today] Date</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
with new SP 2010 Column validation . 1st thought that came to my mind is date field validation with respect to today&#39;s date. then quickly create a date column TestDate and &amp;nbsp;and add the validation formula as below .&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;=[
TestDate&amp;nbsp;]&amp;gt;=[TODAY]&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Then it will give you a error.&lt;/span&gt;&lt;br /&gt;
after some hit and trial I found actual expression should be&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;=[
TestDate&amp;nbsp;]&amp;gt;=TODAY()&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;Yapee......&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/4616960856190559937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/4616960856190559937' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/4616960856190559937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/4616960856190559937'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2012/02/sharepoint-2010-date-column-validation.html' title='Sharepoint 2010 Date Column Validation  with [Today] Date'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-1601500062128444227</id><published>2012-02-14T10:31:00.000-08:00</published><updated>2012-02-14T10:34:33.904-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google Checkout"/><category scheme="http://www.blogger.com/atom/ns#" term="Wordpress"/><category scheme="http://www.blogger.com/atom/ns#" term="WP e-Commerce"/><title type='text'>WP e-Commerce digital product Download link on google checkout</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When you are working with WP e-Commerce plugin for&amp;nbsp;word press&amp;nbsp;linked with&amp;nbsp;Google&amp;nbsp;Checkout for payment .and your shop is for &amp;nbsp;Digital Product and you feel you need more from this plugin then you are in right place . I have many issues &amp;nbsp;while configuring this plugin for one of my shop&lt;br /&gt;
1. Unable to display download link for digital products &amp;nbsp;after checkout .&lt;br /&gt;
2. No links to download digital product after&amp;nbsp;Google&amp;nbsp;checkout .&lt;br /&gt;
3&amp;nbsp;
WP e-Commerce&amp;nbsp; add multiple &amp;nbsp;entries to &amp;nbsp;for single transaction&lt;br /&gt;
&amp;nbsp;4.Google checkout send&amp;nbsp;Pending&amp;nbsp;for shipping mail to user which in confusing .&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
the&amp;nbsp;problem&amp;nbsp;is plugin is not sending google information about the product . it just sends its pricing details. &amp;nbsp;to fix this go ahead and modify &amp;nbsp;phugins PHP files&lt;br /&gt;
&lt;br /&gt;
Step 1 Go to Location &quot;..\wp-e-commerce\wpsc-merchants&quot;&lt;br /&gt;
Step2 . Open &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;u&gt;GoogleCheckout-XML.php&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Step 3. Go to Line number &amp;nbsp;182 &amp;nbsp;( just above &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #b4a7d6;&quot;&gt;$cart-&amp;gt;AddItem($cart_item);&lt;/span&gt; )&lt;br /&gt;
Step 4.Add below code to it just before &amp;nbsp;line&amp;nbsp;$cart-&amp;gt;AddItem($cart_item);&lt;br /&gt;
&lt;pre class=&quot;php&quot; name=&quot;code&quot;&gt;  
//Extra code  send media download url to google checkout  
   $siteurl = get_option(&#39;siteurl&#39;);
   $previous_download_ids = array(0);
   $product_id = wpsc_cart_item_product_id();
   $link = &quot;&quot;;
   //$product_data = $wpdb-&amp;gt;get_row(&quot;SELECT * FROM `&quot;.WPSC_TABLE_PRODUCT_LIST.&quot;` WHERE `id`=&#39;{$product_id}&#39; LIMIT 1&quot;, ARRAY_A) ;
   $wpdb-&amp;gt;query(&quot;UPDATE `&quot;.WPSC_TABLE_DOWNLOAD_STATUS.&quot;` SET `active`=&#39;1&#39; WHERE `product_id` = &#39;$product_id&#39; AND `purchid` = &#39;{$purchase_log[0][&#39;id&#39;]}&#39;&quot;);
   
   $download_data = $wpdb-&amp;gt;get_results(&quot;SELECT * FROM `&quot;.WPSC_TABLE_DOWNLOAD_STATUS.&quot;`
       WHERE `&quot;.WPSC_TABLE_DOWNLOAD_STATUS.&quot;`.`active`=&#39;1&#39;
       AND `&quot;.WPSC_TABLE_DOWNLOAD_STATUS.&quot;`.`purchid`=&#39;&quot;.$purchase_log[0][&#39;id&#39;].&quot;&#39;
       AND `&quot;.WPSC_TABLE_DOWNLOAD_STATUS.&quot;`.`product_id` =&#39;&quot;.$product_id.&quot;&#39;
       AND `&quot;.WPSC_TABLE_DOWNLOAD_STATUS.&quot;`.`id` NOT IN (&#39;&quot;.implode(&quot;&#39;,&#39;&quot;,$previous_download_ids).&quot;&#39;)&quot;,ARRAY_A);
     
     $link=array();
     if(sizeof($download_data) != 0) {
      foreach($download_data as $single_download){
       if($single_download[&#39;uniqueid&#39;] == null){// if the uniqueid is not equal to null, its &quot;valid&quot;, regardless of what it is
        $link[] = array(&quot;url&quot;=&amp;gt;$siteurl.&quot;?downloadid=&quot;.$single_download[&#39;id&#39;], &quot;name&quot; =&amp;gt;$single_download[&quot;filename&quot;]); 
       } else {
        $link[] = array(&quot;url&quot;=&amp;gt;$siteurl.&quot;?downloadid=&quot;.$single_download[&#39;uniqueid&#39;], &quot;name&quot; =&amp;gt;$single_download[&quot;filename&quot;]);
       }
      }
     }
   foreach($link as $single_link)
   {
    // $product_list .= &quot;\n\r &quot;.$single_link[&quot;name&quot;].&quot;: &quot;.$single_link[&quot;url&quot;].&quot;\n\r&quot;;
    $cart_item-&amp;gt;SetURLDigitalContent($single_link[&quot;url&quot;], null, wpsc_cart_item_name());
    break;
   }
      //End of extra code  Vijay
&lt;/pre&gt;
Step 4. Now you are done .&lt;br /&gt;
&lt;br /&gt;
What the above line of code will do ?&lt;br /&gt;
1. Create entry in&amp;nbsp;WPSC_TABLE_DOWNLOAD_STATUS table&amp;nbsp;unique&amp;nbsp;id for&amp;nbsp;download&amp;nbsp;url .&lt;br /&gt;
2. Activate the URL&lt;br /&gt;
3. Send download&amp;nbsp;URL&amp;nbsp;information to&amp;nbsp;Google&amp;nbsp;to be displayed in&amp;nbsp;Google&amp;nbsp;checkout page after&amp;nbsp;transaction&amp;nbsp;complete. user really dont have to come back to your site to get the download link&lt;br /&gt;
4. Along with download URL&amp;nbsp;Google&amp;nbsp;will treat this product as digital digital product so no shipping issue &amp;nbsp;.&lt;br /&gt;
5. on top of all these this download &amp;nbsp;url information will be&amp;nbsp;there&amp;nbsp;in&amp;nbsp;Google&amp;nbsp;checkout mail send to buyer .&lt;br /&gt;
&lt;br /&gt;
I hope wp-ecommerce will add this oprion to there code .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/1601500062128444227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/1601500062128444227' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/1601500062128444227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/1601500062128444227'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2012/02/wp-e-commerce-digital-product-link-on.html' title='WP e-Commerce digital product Download link on google checkout'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-3585632484784722127</id><published>2010-03-05T20:27:00.000-08:00</published><updated>2012-02-12T17:31:27.558-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Infopath"/><category scheme="http://www.blogger.com/atom/ns#" term="Infopath Publish"/><category scheme="http://www.blogger.com/atom/ns#" term="Updating site the site content type failed"/><title type='text'>Updating site the site content type failed.  Infopath 2007</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Suddenly one day while publishing an InfoPath form with 40+ fields promoted as column to a SharePoint library I found it started throwing error msg “&lt;span style=&quot;font-weight: bold;&quot;&gt;Updating site the site content type failed”.  &lt;/span&gt;&lt;br /&gt;
After doing some research on it I found basically this issue is due to inc in number of column promoted to library .&lt;br /&gt;
&lt;br /&gt;
1. when we publish InfoPath forms with more than 30+ column some time it take more than 30 sec(time taken for  .xsn file to  get copied into sharepoint site not the entire publish wizard)   . and problem is here in infopath client process time out is hard-coded for 30 sec . this is why we get this error.&lt;br /&gt;
&lt;br /&gt;
Solution for this :&lt;br /&gt;
1. MS have fixed this 30 sec hardcoded issue in SP2 of MS Office clients (&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;(&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=B444BF18-79EA-46C6-8A81-9DB49B4AB6E5&amp;amp;displaylang=en&quot;&gt;MS Office SP2 Download&lt;/a&gt;)&lt;/span&gt;)&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
2. If By any chance you cannot upgrade to SP2 then only solution for Is remove few promoted column till it publish successfully. or check for network speed if it is slow enough to  increase the publish time more than 30 sec, switch to higher network speed.&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/3585632484784722127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/3585632484784722127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/3585632484784722127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/3585632484784722127'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2010/03/updating-site-site-content-type-failed.html' title='Updating site the site content type failed.  Infopath 2007'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-1930089784754720079</id><published>2009-01-13T09:25:00.000-08:00</published><updated>2009-01-13T11:12:43.317-08:00</updated><title type='text'>MOSS 2007   &#39;Hello world&#39;  WebPart</title><content type='html'>&lt;div&gt;In order to develop moss 2007 webpart you will need&lt;br /&gt;&lt;br /&gt;&lt;div&gt;1. Visual Studio 2005/2008 or later.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;2. You will also need network access to a Windows 2003/2008 server with SharePoint 2007 (WSS or MOSS) . One can also install Visual Studio 2005/8 on the development server. &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;3. Administration rights on your SharePoint server and also administration rights on SharePoint web application. &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Step 1: Create a Class Library project in vs 2005 &lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCVBO0NtKZH_FVdKffpsXv0KMLP-7g6coiMwvu7uQHopBstAGq4I6iqwOBZQdnAHGAJXwcOAEfYb5X0LwEWvfYrIJdFkHhnXTtynHOm_F6swtoKtds5Fbw0IYdAPVsZDL5pUyXY6wDqI/s1600-h/1.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5290857365821317186&quot; style=&quot;WIDTH: 320px; CURSOR: hand; HEIGHT: 230px&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCVBO0NtKZH_FVdKffpsXv0KMLP-7g6coiMwvu7uQHopBstAGq4I6iqwOBZQdnAHGAJXwcOAEfYb5X0LwEWvfYrIJdFkHhnXTtynHOm_F6swtoKtds5Fbw0IYdAPVsZDL5pUyXY6wDqI/s320/1.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;2. Add a reference to System.Web &lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoeqrkcqCALbP6LHkp3Ad_Yd4e_5nT0gKYaDG8h5XLBRhs6rEjioNYw5r463xK_FJna7WpIK64ZZSTcR5E5Shj9dlUKNeMCoPdwxgWkMpWonGKrNl-6Jy371rCcOoSRZu9LezsrvGavhY/s1600-h/2.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5290857636509087010&quot; style=&quot;WIDTH: 143px; CURSOR: hand; HEIGHT: 171px&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoeqrkcqCALbP6LHkp3Ad_Yd4e_5nT0gKYaDG8h5XLBRhs6rEjioNYw5r463xK_FJna7WpIK64ZZSTcR5E5Shj9dlUKNeMCoPdwxgWkMpWonGKrNl-6Jy371rCcOoSRZu9LezsrvGavhY/s320/2.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhyuDySy_xt-110tzuR1bXeDA5P3-oDFigupexIDvCnmcTYxRQHKYCGLweeOOA2Co__lWcU8YIGqi0RE035CCmmmzhQoBq877el-N-aV07LMaEbsqLWrtHa8R7QV3crGhtA6I5ydaKeEE/s1600-h/2.JPG&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;3. create a simple Web Part that will print &quot;Hello World!&quot; . bellow class will inherits from the WebPart class in System.Web.UI.WebControls.WebParts. In order to render the Web Part we need to overrides the Render method. A HtmlTextWriter instance is passed into the Render method and can then be used to write markup to the page output. &lt;/div&gt;&lt;br /&gt;&lt;div&gt;Code: &lt;/div&gt;&lt;div&gt;using System; &lt;/div&gt;&lt;div&gt;using System.Collections.Generic; &lt;/div&gt;&lt;div&gt;using System.Text; &lt;/div&gt;&lt;div&gt;using System.Web;&lt;br /&gt;using System.Web.UI;&lt;/div&gt;&lt;div&gt;using System.Web.UI.WebControls; &lt;/div&gt;&lt;div&gt;using System.Web.UI.WebControls.WebParts;&lt;/div&gt;&lt;div&gt;namespace HelloWorld_Webpart&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;public class HelloWorld :WebPart &lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;//test Hello world webpart &lt;/div&gt;&lt;div&gt;protected override void Render(HtmlTextWriter writer)&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;// base.Render(writer); &lt;/div&gt;&lt;div&gt;writer.Write(&quot;Hello World from Vijay&quot;);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;4. Attach ur class library with a strong name key &lt;/div&gt;&lt;div&gt;5. Add the statements &lt;/div&gt;&lt;div&gt;     using System.Security; &lt;/div&gt;&lt;div&gt;     and &lt;/div&gt;&lt;div&gt;   [assembly: AllowPartiallyTrustedCallers] to AssemblyInfo.cs file. &lt;/div&gt;&lt;br /&gt;&lt;div&gt;6. builds the project and copy the dll( HelloWorld Webpart.dll ) to C:\Inetpub\wwwroot\wss\VirtualDirectories\37459(Port no of web application)\bin&lt;br /&gt;7. Add the webpart detail as safe control entry in webconfig file as&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfxBdTGBpgB30_8VRzicvWUJVvl96KV78TIRXPCCX9jYEwM1sUBJfyXFAiIPu8tUIkDDxZ5Ry2MA6eOU9p3PkOFa74hv-AQy3XYFEQ8kAWAOqupWPC5c4mp-Wl3XPdjRk72tRVH-zS1R0/s1600-h/4.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5290856024599701266&quot; style=&quot;WIDTH: 320px; CURSOR: hand; HEIGHT: 194px&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfxBdTGBpgB30_8VRzicvWUJVvl96KV78TIRXPCCX9jYEwM1sUBJfyXFAiIPu8tUIkDDxZ5Ry2MA6eOU9p3PkOFa74hv-AQy3XYFEQ8kAWAOqupWPC5c4mp-Wl3XPdjRk72tRVH-zS1R0/s320/4.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Reflector tool(free download)&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgme8sVAWJurmf3H4Hon-8ciQTOypSUK9bw6r8I9uXdrsX49U72d55h3ptdU_xguhHIaOilHtLl7Nurmq4ITj6bFXEEqtU5mRBXm1FZ8yhHw5i4cBDUXeAAmTl_5oIIYaax_1z9m8La30U/s1600-h/3.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5290854698455605458&quot; style=&quot;WIDTH: 254px; CURSOR: hand; HEIGHT: 320px&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgme8sVAWJurmf3H4Hon-8ciQTOypSUK9bw6r8I9uXdrsX49U72d55h3ptdU_xguhHIaOilHtLl7Nurmq4ITj6bFXEEqtU5mRBXm1FZ8yhHw5i4cBDUXeAAmTl_5oIIYaax_1z9m8La30U/s320/3.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/1930089784754720079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/1930089784754720079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/1930089784754720079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/1930089784754720079'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2009/01/moss-2007-hello-world-webpart.html' title='MOSS 2007   &#39;Hello world&#39;  WebPart'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCVBO0NtKZH_FVdKffpsXv0KMLP-7g6coiMwvu7uQHopBstAGq4I6iqwOBZQdnAHGAJXwcOAEfYb5X0LwEWvfYrIJdFkHhnXTtynHOm_F6swtoKtds5Fbw0IYdAPVsZDL5pUyXY6wDqI/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2025011434250075468.post-8698041984621410117</id><published>2008-08-20T23:25:00.000-07:00</published><updated>2009-01-13T09:24:38.514-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MULTIVALUE PARAMETER"/><category scheme="http://www.blogger.com/atom/ns#" term="ORACLE"/><category scheme="http://www.blogger.com/atom/ns#" term="SSRS"/><category scheme="http://www.blogger.com/atom/ns#" term="STORE PROCEDURE"/><title type='text'>How to send multi value parameter to oracle store procedure</title><content type='html'>Hi all ,&lt;br /&gt;&lt;br /&gt;From past 1 week i am goggling how to send multi value parameter to oracle store procedure from SSRS 2005.&lt;br /&gt;&lt;br /&gt;As we can&#39;t send delimiter separated multiple values to oracle store procedure IN CLAUSE. We are left with two option&lt;br /&gt;&lt;br /&gt;1st option : use a user define split function which Take a comma delimited list of values in a single string and return it as a table of values to IN clause of ur store procedure&lt;br /&gt;&lt;br /&gt;step 1. define the result type to be a TABLE type of the largest possible string.&lt;br /&gt;&lt;br /&gt;create or replace type split_tbl as table of varchar2(32767);/show errors;&lt;br /&gt;step 2. Create a function split&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:times new roman;&quot;&gt;&lt;em&gt;create or replace function split( p_list varchar2, p_del varchar2 := &#39;,&#39;) return split_tbl pipelinedis l_idx pls_integer; l_list varchar2(32767) := p_list;AA l_value varchar2(32767);begin loop l_idx := instr(l_list,p_del); if l_idx &gt; 0 then pipe row(substr(l_list,1,l_idx-1)); l_list := substr(l_list,l_idx+length(p_del)); else pipe row(l_list); exit; end if; end loop; return;end split;/show errors;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;Step 3. use this split( ) in ur store procedure&lt;br /&gt;&lt;em&gt;&lt;span style=&quot;font-family:times new roman;&quot;&gt;CREATE OR REPLACE PROCEDURE PR_RANKING_SSRS( multivaluestring IN VARCHAR2,&lt;br /&gt;PO_RANKING OUT SYS_REFCURSOR) IS&lt;br /&gt;&lt;br /&gt;BEGIN&lt;br /&gt;OPEN PO_RANKING FOR&lt;br /&gt;SELECT col_namr FROM tbl_name&lt;br /&gt;WHERE (any_Col_name IN ( select * from table(split(( multivaluestring )) ));&lt;br /&gt;END PR_RANKING_SSRS;&lt;br /&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2nd option if u  don’t have to create table privilege on database then  use dynamic SQL query.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step1: create a store procedure as bellow . and send ur multi value parameter as comma separated string from SSRS 2005&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:times new roman;&quot;&gt;&lt;em&gt;CREATE OR REPLACE PROCEDURE PR_RANKING_SSRS( multivalue_parameter IN VARCHAR2,&lt;br /&gt;PO_RANKING OUT SYS_REFCURSOR) IS&lt;br /&gt;query_str VARCHAR2(1000);&lt;br /&gt;BEGIN&lt;br /&gt;query_str := &#39;SELECT Col_name&lt;br /&gt;FROM Table_name&lt;br /&gt;WHERE (BRAND_NM IN (&#39; multivalue_parameter &#39;))&lt;br /&gt;GROUP BY XYZ_col_Name&lt;br /&gt;ORDER BY XYZ_xyz_col_name;&lt;br /&gt;&lt;br /&gt;OPEN PO_RANKING FOR query_str;&lt;br /&gt;END PR_RANKING_SSRS;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note : ur parameter string should be like = &#39;abc’,’def’,’geh’,’ddd&#39;&lt;br /&gt;Not like abc,def,geh,ddd or like abc’,’def’,’geh’,’ddd</content><link rel='replies' type='application/atom+xml' href='http://think4code.blogspot.com/feeds/8698041984621410117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2025011434250075468/8698041984621410117' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/8698041984621410117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2025011434250075468/posts/default/8698041984621410117'/><link rel='alternate' type='text/html' href='http://think4code.blogspot.com/2008/08/how-to-send-multi-value-para-meter-to.html' title='How to send multi value parameter to oracle store procedure'/><author><name>VJ</name><uri>http://www.blogger.com/profile/15297632783860873931</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>