<?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-9103553962017344517</id><updated>2024-08-29T21:38:16.112-07:00</updated><category term="SharePoint Server 2010"/><category term="Workflow"/><category term="ClientContext"/><category term="Compliance details"/><category term="Content Hub"/><category term="Field Promote"/><category term="InfoPath"/><category term="Managed Metadata"/><category term="Microsoft.SharePoint.Client.File"/><category term="People picker"/><category term="Retention Workflow"/><category term="SharePoint Client Object Model"/><category term="SharePoint Designer"/><category term="sharepoin"/><title type='text'>Click SharePoint</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://click-sharepoint.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://click-sharepoint.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sudhir Rawat</name><uri>http://www.blogger.com/profile/18209200428651362473</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIZGzagWhLT5ks9M09U0hHFQdla_PvObjxb-V4Ge4cahxIViyPBQJJsSY9UKhTb4Ah1ai1rBeVvEBAltDoP2GQnYlAvZ7OWGkv0uVo5IlN8rhJGXc601eNinn4bwAfA/s220/HPIM0552.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9103553962017344517.post-512668050299324600</id><published>2011-10-05T13:48:00.000-07:00</published><updated>2011-10-05T13:48:05.131-07:00</updated><title type='text'>Microsoft SharePoint Online Code Analysis Framework (MSOCAF)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;SharePoint Online &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;SharePoint Online is a combination of SharePoint + cloud. Microsoft manages the SharePoint Online for your organization and helps you the leverage the power of SharePoint for your organization globally.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;MSOCAF&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;The MSOCAF tool is used for streamlining the custom solution review Process for SharePoint Online (SPO). MSOCAF solution is used by customers, ISVs and vendors to validate and submit custom solutions.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Before submitting the custom solutions to Microsoft, customers has to validate the custom solutions using MSOCAF tool, this tool detect the code issue and also provides resolution for fixing the issues.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;MSOCAF tool has four wizards:&lt;/span&gt;&lt;/div&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/AVvXsEg7K8PigUWdEpZAO6GlCf_gXxESQFOGwxs8yuraFiuZ7BElAC55BrPfvczKJj6iBYD0ph7BOdFBGYSyyJ4TB1J4b3H7RRriO73h9p7dKK9mVfAsSBtypX1jfc_QUe4iwcCgbqWmT4RGVEc/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7K8PigUWdEpZAO6GlCf_gXxESQFOGwxs8yuraFiuZ7BElAC55BrPfvczKJj6iBYD0ph7BOdFBGYSyyJ4TB1J4b3H7RRriO73h9p7dKK9mVfAsSBtypX1jfc_QUe4iwcCgbqWmT4RGVEc/s1600/1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;stroke joinstyle=&quot;miter&quot;&gt;&lt;/stroke&gt;&lt;formulas&gt;&lt;f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 1 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum 0 0 @1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @2 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 0 1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @6 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @8 21600 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @10 21600 0&quot;&gt;&lt;/f&gt;&lt;/formulas&gt;&lt;path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;/path&gt;&lt;lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&lt;/lock&gt;&lt;/shapetype&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Analyze&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Using Analyze wizard custom solution is analyzed against the set of rules. The custom solution is passed for Folder structure and its content. The code base analyze is a kind of mix of SPDisposeCheck and FxCop utitliy . It checks the custom solution and all the required parameter. If custom solution does not pass MSOCAF analysis than custom solution cannot be submitted to Microsoft for SPO deployment.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&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/AVvXsEiig-FQ1EeYOlJENF2r-ZRvJkOMuBCOnROHGfbpdGdED5jtYVyhMtfzYR4OLDc5fafzxxxYoo1n79mNhL3zTU1j1aKsJGy6HJWJ8jJyenyfZA_pscalq3ILtGzsd38NeUkxs3NMPxxPNYM/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiig-FQ1EeYOlJENF2r-ZRvJkOMuBCOnROHGfbpdGdED5jtYVyhMtfzYR4OLDc5fafzxxxYoo1n79mNhL3zTU1j1aKsJGy6HJWJ8jJyenyfZA_pscalq3ILtGzsd38NeUkxs3NMPxxPNYM/s1600/2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Test&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;deployment&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;The test deployment wizard helps in deploying the custom solution. The Test deployment wizard uses the “DeploymentManifest.xml” file for deploying the custom solution. This file will reside in the solution package.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&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/AVvXsEhMg_J8gGSkeNg4y_JUAXuqMsQmVqa04xwCqyZ0Q1T2y90B20egHPRpLocq5I6FMZRuT87ll6It6q81DuI9c4Fv6IMb8wniiUxIY6H_zHPI5DIvd8Tb30_NoTXG-aQGwCAYanu3LHGoX9c/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMg_J8gGSkeNg4y_JUAXuqMsQmVqa04xwCqyZ0Q1T2y90B20egHPRpLocq5I6FMZRuT87ll6It6q81DuI9c4Fv6IMb8wniiUxIY6H_zHPI5DIvd8Tb30_NoTXG-aQGwCAYanu3LHGoX9c/s1600/3.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Roll back&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;After deploying the custom solution using MSOCAF tool. If you feel there is some issues with deployment you can use Roll back wizard to roll back the deployment.&lt;/span&gt;&lt;/div&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/AVvXsEha9Zj8rea0ZvQUNaMn3lFnSzPZHZPHFsTLofc2Zg4U6-QJV0dzPv8T92DB5MxrPHxLZVXk0cqWS2KW6MtAYXfBxWDNIj6tm5CNdhdjWzqJ1HolaTLZ9i3el3Fxp1E_KIWqKAtHGDcJuO8/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha9Zj8rea0ZvQUNaMn3lFnSzPZHZPHFsTLofc2Zg4U6-QJV0dzPv8T92DB5MxrPHxLZVXk0cqWS2KW6MtAYXfBxWDNIj6tm5CNdhdjWzqJ1HolaTLZ9i3el3Fxp1E_KIWqKAtHGDcJuO8/s1600/4.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; text-indent: -0.25in;&quot;&gt;
&lt;span style=&quot;font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Submit&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;The submit wizard is used to submit the custom solution to Microsoft. User can reach to the deployment wizard only if Analysis of the package is successfully passed. While submitted user has to fill the configuration request (CR) Number and submitter’s email ID. User has to agree the agreement and then click on submit button.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0in 0in 10pt 0.5in;&quot;&gt;
&lt;span style=&quot;mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&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/AVvXsEj3ZJw4kawznipZz8bVkS2lO60j_MHsfFul4FaLU72Eal2u0jB9J0N5bJfGSe2vy4jl-8vn4SOvOEW9rST3d_TsWIbrxWj3o0KZBhjCZ46StNFN3Dwj25rvuX_NAOzmJ3Qc6RAmaZ_3mJE/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3ZJw4kawznipZz8bVkS2lO60j_MHsfFul4FaLU72Eal2u0jB9J0N5bJfGSe2vy4jl-8vn4SOvOEW9rST3d_TsWIbrxWj3o0KZBhjCZ46StNFN3Dwj25rvuX_NAOzmJ3Qc6RAmaZ_3mJE/s1600/5.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;How to leverage MSOCAF for other SharePoint custom development?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;As the MSOCAF tool provide very strong analyze power for validation the custom solution against various set rules. This helps in writing the custom solution which is of very high standards in terms of design, Security, performance, usage, Naming and Memory management.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;How to get MSOCAF?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;MSOCAF is free tool available at Microsoft site. Tool can be downloaded from below link &lt;/span&gt;&lt;a href=&quot;https://caf.sharepoint.microsoftonline.com/&quot;&gt;&lt;span style=&quot;color: blue; font-family: Calibri;&quot;&gt;https://caf.sharepoint.microsoftonline.com/&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://click-sharepoint.blogspot.com/feeds/512668050299324600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://click-sharepoint.blogspot.com/2011/10/microsoft-sharepoint-online-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default/512668050299324600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default/512668050299324600'/><link rel='alternate' type='text/html' href='http://click-sharepoint.blogspot.com/2011/10/microsoft-sharepoint-online-code.html' title='Microsoft SharePoint Online Code Analysis Framework (MSOCAF)'/><author><name>Sudhir Rawat</name><uri>http://www.blogger.com/profile/18209200428651362473</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIZGzagWhLT5ks9M09U0hHFQdla_PvObjxb-V4Ge4cahxIViyPBQJJsSY9UKhTb4Ah1ai1rBeVvEBAltDoP2GQnYlAvZ7OWGkv0uVo5IlN8rhJGXc601eNinn4bwAfA/s220/HPIM0552.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7K8PigUWdEpZAO6GlCf_gXxESQFOGwxs8yuraFiuZ7BElAC55BrPfvczKJj6iBYD0ph7BOdFBGYSyyJ4TB1J4b3H7RRriO73h9p7dKK9mVfAsSBtypX1jfc_QUe4iwcCgbqWmT4RGVEc/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9103553962017344517.post-2634474008798808578</id><published>2011-10-03T16:32:00.000-07:00</published><updated>2011-10-03T18:13:35.147-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Field Promote"/><category scheme="http://www.blogger.com/atom/ns#" term="InfoPath"/><category scheme="http://www.blogger.com/atom/ns#" term="People picker"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoin"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow"/><title type='text'>How to fill person or group field of form lib using InfoPath?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Steps:&lt;br /&gt;
1. Create Person or group field name &lt;strong&gt;TestUser &lt;/strong&gt;and one more field name &lt;strong&gt;HidTestUserName&lt;/strong&gt;&lt;br /&gt;
2. Add the people picker control in InfoPath field&lt;br /&gt;
3. Promote the &lt;strong&gt;AccountId&lt;/strong&gt; field value to &lt;strong&gt;HidTestUserName&lt;/strong&gt; field. Refer the below Screenshot.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_5C7qJhi4iukCR-D4Lx-CiZD_7_unMzqJM_y5MZFKXPbe23Y-qeytMnoPay-WTy1iR9D76hN4Wg0jtz4vVYSxqiKS5ZuHFKulGZFoSuv7HGUDKsSrbeM0K9EreYylKUngD4TVIsvIVsI/s1600/1.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;210&quot; id=&quot;BLOGGER_PHOTO_ID_5659433748346758194&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_5C7qJhi4iukCR-D4Lx-CiZD_7_unMzqJM_y5MZFKXPbe23Y-qeytMnoPay-WTy1iR9D76hN4Wg0jtz4vVYSxqiKS5ZuHFKulGZFoSuv7HGUDKsSrbeM0K9EreYylKUngD4TVIsvIVsI/s400/1.jpg&quot; style=&quot;display: block; height: 168px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create workflow for FormDocLib and create step with action of Set Field in Current Item . In this action set the value of &lt;strong&gt;TestUser&lt;/strong&gt; Field.&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCtcjy6GA2TXsuLGZozHybD45NPGuYR-JsJppyr8VJOa3YvbIMGGRFV3FjFOCpwayIK0EisD9Zafornpwx1pHVKjUwxq0cm19X1Uq44O8-fCimBCr7_EsAi6pN4HnRKGYPrHm1PUp8jyM/s1600/2.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;277&quot; id=&quot;BLOGGER_PHOTO_ID_5659433979384647602&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCtcjy6GA2TXsuLGZozHybD45NPGuYR-JsJppyr8VJOa3YvbIMGGRFV3FjFOCpwayIK0EisD9Zafornpwx1pHVKjUwxq0cm19X1Uq44O8-fCimBCr7_EsAi6pN4HnRKGYPrHm1PUp8jyM/s400/2.jpg&quot; style=&quot;display: block; height: 222px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Make sure &lt;strong&gt;Start Workflow automatically when an item is created and change options&lt;/strong&gt; are enabled. Refer the below SS.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrXOq73AZhgJp8bWZ9hAHCwyWVxHP46li1G9E48qXHeVWJU_4JcNntmolMu1SKCVux3Gt0cAtjghV1WZqKtWaRmhL6sE47kYSN9OlPRvv3XXA5CvFHtyQCtCsUHOG9hFIVemb7SNexP20/s1600/3.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;275&quot; id=&quot;BLOGGER_PHOTO_ID_5659434092729516066&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrXOq73AZhgJp8bWZ9hAHCwyWVxHP46li1G9E48qXHeVWJU_4JcNntmolMu1SKCVux3Gt0cAtjghV1WZqKtWaRmhL6sE47kYSN9OlPRvv3XXA5CvFHtyQCtCsUHOG9hFIVemb7SNexP20/s400/3.jpg&quot; style=&quot;display: block; height: 220px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://click-sharepoint.blogspot.com/feeds/2634474008798808578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://click-sharepoint.blogspot.com/2011/10/how-to-fill-person-or-group-field-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default/2634474008798808578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default/2634474008798808578'/><link rel='alternate' type='text/html' href='http://click-sharepoint.blogspot.com/2011/10/how-to-fill-person-or-group-field-of.html' title='How to fill person or group field of form lib using InfoPath?'/><author><name>Sudhir Rawat</name><uri>http://www.blogger.com/profile/18209200428651362473</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIZGzagWhLT5ks9M09U0hHFQdla_PvObjxb-V4Ge4cahxIViyPBQJJsSY9UKhTb4Ah1ai1rBeVvEBAltDoP2GQnYlAvZ7OWGkv0uVo5IlN8rhJGXc601eNinn4bwAfA/s220/HPIM0552.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_5C7qJhi4iukCR-D4Lx-CiZD_7_unMzqJM_y5MZFKXPbe23Y-qeytMnoPay-WTy1iR9D76hN4Wg0jtz4vVYSxqiKS5ZuHFKulGZFoSuv7HGUDKsSrbeM0K9EreYylKUngD4TVIsvIVsI/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9103553962017344517.post-4881403355572107533</id><published>2011-10-02T13:53:00.000-07:00</published><updated>2011-10-02T13:56:32.322-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ClientContext"/><category scheme="http://www.blogger.com/atom/ns#" term="Managed Metadata"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft.SharePoint.Client.File"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Client Object Model"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Server 2010"/><title type='text'>How to upload the document using SharePoint client Object Model and set the Properties</title><content type='html'>&lt;strong&gt;The below code example shows how to upload document from file system to SharePoint using Client Object Model. Also show how to set the properties for Text, Person or group, Checkbox, Managed Metadata columns. Below code refer the excel file to get the file path and column values.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using Microsoft.SharePoint.Client;&lt;br /&gt;using System.IO;&lt;br /&gt;using System.Data.OleDb;&lt;br /&gt;using System.Data;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;class DisplayWebTitle&lt;br /&gt;{&lt;br /&gt;    static void Main()&lt;br /&gt;    {&lt;br /&gt;        &lt;br /&gt;&lt;br /&gt;        string siteUrl = &quot;http://siteurl&quot;;&lt;br /&gt;        string libraryName = &quot;LibraryName&quot;;&lt;br /&gt;        string subFolderPath = &quot;&quot;;&lt;br /&gt;        string metaDataSheetLocation = @&quot;c:\FilePath\FileName.xlsx&quot;;&lt;br /&gt;&lt;br /&gt;        UploadFileInLibrary(siteUrl, libraryName, subFolderPath, metaDataSheetLocation);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public static void UploadFileInLibrary(string siteUrl, string libraryName, string subfolderPath, string MetaDataSheetLocation)&lt;br /&gt;    {&lt;br /&gt;        using (ClientContext clientContext = new ClientContext(siteUrl))&lt;br /&gt;        {&lt;br /&gt;            DataTable excelData = GetExcelData(MetaDataSheetLocation);&lt;br /&gt;            &lt;br /&gt;            &lt;br /&gt;            foreach (DataRow dr in excelData.Rows)&lt;br /&gt;            {&lt;br /&gt;                string fileName = dr[&quot;FilePath&quot;].ToString();&lt;br /&gt;                string uploadLocation = Path.GetFileName(fileName);&lt;br /&gt;                string fileNameStr = Path.GetFileName(fileName);&lt;br /&gt;                if (!string.IsNullOrEmpty(subfolderPath))&lt;br /&gt;                {&lt;br /&gt;                    uploadLocation = string.Format(&quot;{0}/{1}&quot;, subfolderPath, uploadLocation);&lt;br /&gt;                }&lt;br /&gt;                uploadLocation = string.Format(&quot;{0}/{1}&quot;, libraryName, uploadLocation);&lt;br /&gt;                var list = clientContext.Web.Lists.GetByTitle(libraryName);&lt;br /&gt;                var fileCreationInformation = new FileCreationInformation();&lt;br /&gt;                fileCreationInformation.Content = System.IO.File.ReadAllBytes(fileName);&lt;br /&gt;                fileCreationInformation.Overwrite = true;&lt;br /&gt;                fileCreationInformation.Url = siteUrl+ uploadLocation;&lt;br /&gt;                Microsoft.SharePoint.Client.File uploadFile = list.RootFolder.Files.Add(fileCreationInformation);&lt;br /&gt;                Microsoft.SharePoint.Client.ListItem item = uploadFile.ListItemAllFields;&lt;br /&gt;                clientContext.ExecuteQuery();&lt;br /&gt;                /*--start taxonomy--- */&lt;br /&gt;                List taxonomyList = clientContext.Web.Lists.GetByTitle(&quot;TaxonomyHiddenList&quot;);&lt;br /&gt;               &lt;br /&gt;                CamlQuery camlQueryForTerm = new CamlQuery();&lt;br /&gt;                camlQueryForTerm.ViewXml = @&quot;&lt;View&gt;&lt;br /&gt;                  &lt;Query&gt;&lt;br /&gt;                    &lt;Where&gt;&lt;br /&gt;                      &lt;Eq&gt;&lt;br /&gt;                        &lt;FieldRef Name=&#39;Term&#39;/&gt;&lt;br /&gt;                        &lt;Value Type=&#39;Text&#39;&gt;&quot;+ dr[&quot;Col1&quot;].ToString()+&quot;&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;/Query&gt;&lt;/View&gt;&quot;;&lt;br /&gt;&lt;br /&gt;                ListItemCollection termItems = taxonomyList.GetItems(camlQueryForTerm);&lt;br /&gt;&lt;br /&gt;                clientContext.Load(termItems);&lt;br /&gt;                clientContext.ExecuteQuery();&lt;br /&gt;                ListItem termItem = termItems[0];&lt;br /&gt;                string termValue = termItem[&quot;ID&quot;] + &quot;;#&quot; + termItem[&quot;Term&quot;] + &quot;|&quot; + termItem[&quot;IdForTerm&quot;];&lt;br /&gt;&lt;br /&gt;                /*--End taxanomy --- */&lt;br /&gt;&lt;br /&gt;                &lt;br /&gt;                item[&quot;TextField&quot;] = dr[&quot;TextField&quot;].ToString();&lt;br /&gt;                &lt;br /&gt;                item[&quot;PersonGroupField&quot;] = clientContext.Web.EnsureUser(dr[&quot;PersonGroupField &quot;].ToString());&lt;br /&gt;     &lt;br /&gt;                item[&quot;checkbox&quot;] = dr[&quot;checkbox&quot;].ToString();&lt;br /&gt;                item.Update()&lt;br /&gt;                item[&quot;ManagedMetaDataField&quot;] = termValue;&lt;br /&gt;                item[&quot;ManagedMetaDataFieldTaxHTField0&quot;] = termValue;&lt;br /&gt;                item.Update();&lt;br /&gt;                clientContext.ExecuteQuery();&lt;br /&gt;                Console.WriteLine(fileNameStr + &quot; Uploaded File Successfully&quot;);&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public static DataTable GetExcelData(string ExcelFilePath)&lt;br /&gt;    {&lt;br /&gt;        string OledbConnectionString = string.Empty;&lt;br /&gt;        OleDbConnection objConn = null;&lt;br /&gt;        OledbConnectionString = &quot;Provider=Microsoft.ACE.OLEDB.12.0;Data Source=&quot; + ExcelFilePath + &quot;;Extended Properties=Excel 8.0;&quot;;&lt;br /&gt;        objConn = new OleDbConnection(OledbConnectionString);&lt;br /&gt;        if (objConn.State == ConnectionState.Closed)&lt;br /&gt;        {&lt;br /&gt;            objConn.Open();&lt;br /&gt;        }&lt;br /&gt;        OleDbCommand objCmdSelect = new OleDbCommand(&quot;Select * from [Sheet1$]&quot;, objConn);&lt;br /&gt;        OleDbDataAdapter objAdapter = new OleDbDataAdapter();&lt;br /&gt;        objAdapter.SelectCommand = objCmdSelect;&lt;br /&gt;        DataSet objDataset = new DataSet();&lt;br /&gt;        objAdapter.Fill(objDataset, &quot;ExcelDataTable&quot;);&lt;br /&gt;        objConn.Close();&lt;br /&gt;        return objDataset.Tables[0];&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://click-sharepoint.blogspot.com/feeds/4881403355572107533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://click-sharepoint.blogspot.com/2011/10/how-to-upload-document-using-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default/4881403355572107533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default/4881403355572107533'/><link rel='alternate' type='text/html' href='http://click-sharepoint.blogspot.com/2011/10/how-to-upload-document-using-sharepoint.html' title='How to upload the document using SharePoint client Object Model and set the Properties'/><author><name>Sudhir Rawat</name><uri>http://www.blogger.com/profile/18209200428651362473</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIZGzagWhLT5ks9M09U0hHFQdla_PvObjxb-V4Ge4cahxIViyPBQJJsSY9UKhTb4Ah1ai1rBeVvEBAltDoP2GQnYlAvZ7OWGkv0uVo5IlN8rhJGXc601eNinn4bwAfA/s220/HPIM0552.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9103553962017344517.post-4755342373101255727</id><published>2011-10-01T23:03:00.000-07:00</published><updated>2011-10-02T08:47:54.824-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Compliance details"/><category scheme="http://www.blogger.com/atom/ns#" term="Content Hub"/><category scheme="http://www.blogger.com/atom/ns#" term="Retention Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Server 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow"/><title type='text'>How to Setup Retention Workflow using Content hub</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;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 1: Go to Sharepoint Designer save and publish that workflow from the sharepoint designer and save the workflow as a template.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI9RrHUTKNVOkRTDLW1JQkvdLrx6UqxxKEjhUyUgoMxYg_m_L3s05BFNiapVzgq6_AQkL2cAFJ_3jNEWo9DCXQa5pXbrGXR1Ee-82N6n_5uqdRErFqDRSdYXnu_m-kRAxTIvau1epTHS8/s1600/1.jpg&quot; style=&quot;clear: left; cssfloat: left; float: left; height: 245px; margin-bottom: 1em; margin-right: 1em; width: 330px;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;234&quot; id=&quot;BLOGGER_PHOTO_ID_5658767768888772466&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI9RrHUTKNVOkRTDLW1JQkvdLrx6UqxxKEjhUyUgoMxYg_m_L3s05BFNiapVzgq6_AQkL2cAFJ_3jNEWo9DCXQa5pXbrGXR1Ee-82N6n_5uqdRErFqDRSdYXnu_m-kRAxTIvau1epTHS8/s320/1.jpg&quot; style=&quot;float: right; margin-bottom: 10px; margin-left: 10px; margin-right: 0px; margin-top: 0px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 2: Deploy the workflow wsp globally. &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 3: Activate the Workflow Feature in all old team and my site (Site collection and their sub sites) through Power shell and in all New Sites it will be automatically activated through feature stapling (staple the workflow feature with your site template/defination). &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 4: Go to the Content Hub site and activate the workflow feature in Site Features &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4aZ1oc9MluwcETMjyO0TbmtvdjPXs38eWQwy7hpoVxVuWp9ufIUdR8O4rA15lsbYKEglfrJx4MSNW9NqtzznSakc31B_XuY3fXLOqabjS2f4unT4IK__JRanAvoYHTQRblcgUgOF_vkI/s1600/2.jpg&quot; /&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 5: After publishing come back to Content hub site and attach this workflow to the content type. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4roFc74ZJQF-L85rAq6610MCaFI30_hrQKOG7n8-LBMCvGJ4-x5fB5J_edBw632OZRr3HTCc7GRGNMPCe9Sil-YenITBILB6ZBuoFb40W2GwdVC0b9yovnXeVDo2l9lMM4eDFXgCeEms/s1600/3.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 6:Update all content types that inherit from this type with these workflow settings. Here is a snapshot to update all content types that inherit from this type with these workflow settings. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO3HSd37VBKx_MLyiQmtCcYf6fukCz5yVsp2_sYocRpKJtHLFMTUGeXLRAn0qg3MpEH6gKsk_kf1tIEsjvYMfZI01ltOF9_KarwgW1IknRBHKRU5vdQz9gtcALYl2qoUO66LCdu87_sT8/s1600/4.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;Step 7: Add/Edit retention policy to this content type which will trigger the new deployed workflow under Information management policy settings. &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxVLCPoWvUdeFgEqycEFJsLOJJ7c5i8RrnTkbXFXg_fTvNm2Tk1g5Fr-_bRFeJsdGZBmgia1CDXyLioZV-HIua56SNwsza_4DZm-DwlYlnY-44SUa1JyxQD49l3DEi1iZtx1CmaIG5Bhc/s1600/5.jpg&quot; /&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidNHjn2k5DdXFOPa-lw7vFp2nMudoiZfc5kXc-uahvbbviVMRIm9kMD7k5Ym9nC1FB1hQh_r9c3_sGjqPRUI3jggi9qGO470UE96pszuJlHx6X3b8UDA3BJ8E8V_335dnbyYyFWP6fd7M/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidNHjn2k5DdXFOPa-lw7vFp2nMudoiZfc5kXc-uahvbbviVMRIm9kMD7k5Ym9nC1FB1hQh_r9c3_sGjqPRUI3jggi9qGO470UE96pszuJlHx6X3b8UDA3BJ8E8V_335dnbyYyFWP6fd7M/s1600/6.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 8: After adding/editing retention policy publish/republish this content type so that all the changes we have made will reflect to Old sites (Document Libraries and Documents) and their sub sites(Document Libraries and Documents). For republishing Go to manage publishing for this content type. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxVLCPoWvUdeFgEqycEFJsLOJJ7c5i8RrnTkbXFXg_fTvNm2Tk1g5Fr-_bRFeJsdGZBmgia1CDXyLioZV-HIua56SNwsza_4DZm-DwlYlnY-44SUa1JyxQD49l3DEi1iZtx1CmaIG5Bhc/s1600/5.jpg&quot; /&gt;&lt;br /&gt;
&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvYUbR8lXQgpdMbobp1iau14vw4J8WyA008Ottd0CqVlN6idBJhjtw5pocVY8p9oOdqG1GjMxyvqC5mWVg4Dhd3X7AMu263mQQhOUTVjumJKmnHyVqqE4hXSxd4UV7LvE_rs_zGQ-jrME/s1600/8.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;Step 9: When Content Type Subscriber Timer job from the Central Administration under Monitoring -&amp;gt; Review Job Definitions category will run then the changes will reflect to this content type. (That will run automatically) &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 10: Go to your site/subsite where you want this workflow to attach with a Document Library inheriting content type. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step11: Check the compliance details of existing or newly uploaded document to previously created Document Library. The compliance details will show the retention policy details the workflow details which will be started when retention event will trigger. Refer the Screenshot of compliance details: &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img border=&quot;0&quot; kca=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM-mObSgrTCjeBrxEgnPSw7BuJRxCmyr9qURla9-tn3CTo-gm6xW71EbbT4a7msXxeDcVStagLWkjuqtzHVzbRYouL5UgGVeEGaSRPh9PldvWiuXCN1wCrMd3xKwcpbWmmEq9SRlFIx7U/s1600/9.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;strong&gt;When the document is about to expire and retention event is triggered. The workflow will be started. &lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://click-sharepoint.blogspot.com/feeds/4755342373101255727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://click-sharepoint.blogspot.com/2011/10/how-to-setup-retention-workflow-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default/4755342373101255727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9103553962017344517/posts/default/4755342373101255727'/><link rel='alternate' type='text/html' href='http://click-sharepoint.blogspot.com/2011/10/how-to-setup-retention-workflow-using.html' title='How to Setup Retention Workflow using Content hub'/><author><name>Sudhir Rawat</name><uri>http://www.blogger.com/profile/18209200428651362473</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='17' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIZGzagWhLT5ks9M09U0hHFQdla_PvObjxb-V4Ge4cahxIViyPBQJJsSY9UKhTb4Ah1ai1rBeVvEBAltDoP2GQnYlAvZ7OWGkv0uVo5IlN8rhJGXc601eNinn4bwAfA/s220/HPIM0552.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI9RrHUTKNVOkRTDLW1JQkvdLrx6UqxxKEjhUyUgoMxYg_m_L3s05BFNiapVzgq6_AQkL2cAFJ_3jNEWo9DCXQa5pXbrGXR1Ee-82N6n_5uqdRErFqDRSdYXnu_m-kRAxTIvau1epTHS8/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>