tag:blogger.com,1999:blog-18905602684494026122024-03-06T11:02:08.652+05:30Purna's MORE SHAREPOINTS A Blog on Office 365, SharePoint 2013,2010,2007 Development and Administration...Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.comBlogger95125tag:blogger.com,1999:blog-1890560268449402612.post-67964012769496030082023-01-22T09:17:00.002+05:302023-01-22T09:18:10.955+05:30SPFx : Error loading debug manifests.<p> Hi,</p><p>I recently upgraded my machine to windows 11 home version and when trying to build a SPFx application customizer extension for the first time, I have noticed this error.</p><p>"<span style="background-color: white; color: #202124; font-family: consolas, "lucida console", "courier new", monospace; font-size: 12px; white-space: pre-wrap;">Error loading debug script. Ensure the server is running and the "debugManifestsFile" parameter URL is correct.</span></p><p><span style="background-color: white; color: #202124; font-family: consolas, "lucida console", "courier new", monospace; font-size: 12px; white-space: pre-wrap;">Error: Script error for: https://localhost:4321/temp/manifests.js </span><span style="background-color: white; color: #202124; font-family: consolas, "lucida console", "courier new", monospace; font-size: 12px; white-space: pre-wrap;">http://requirejs.org/docs/errors.html#scripterror"</span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Y50O4gK9z9bFLeDQrysaYvjIVGKBwR09yl-PFskHDxu2vJcbAN-Y8oSwbBDFtlf64GI2o7rG2nqJIEC4IjKV8T7HYQQFYY6qnDh1FqatjBh4piFQhxel375-Zvc7oVK_CfNfFNJ2tFp8cZQqDRrsYut2FL1jzLINg9rZcVMqKW9zSXRtvAoADAPS/s1075/Screenshot%202023-01-21%20223530.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="286" data-original-width="1075" height="170" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Y50O4gK9z9bFLeDQrysaYvjIVGKBwR09yl-PFskHDxu2vJcbAN-Y8oSwbBDFtlf64GI2o7rG2nqJIEC4IjKV8T7HYQQFYY6qnDh1FqatjBh4piFQhxel375-Zvc7oVK_CfNfFNJ2tFp8cZQqDRrsYut2FL1jzLINg9rZcVMqKW9zSXRtvAoADAPS/w640-h170/Screenshot%202023-01-21%20223530.png" width="640" /></a></div><div><br /></div><div><p>Resolution: Run gulp trust-dev-cert in your project location on the command prompt. Which
creates a local certificate for development and debugging</p><p></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEghgbf2YUAYExncnq9-o9dxwsmK42sMRUJQ2CPjuSVu1eGv5PPsa123Seakm_ljXQUi7U0WnxmxWVK_EAnxOYQN03JooJoa7Jp6ETFWYwQy3Vv54x7ZLDJviNCu4rlTj7BRprSLMx9itySApC7jTnafAAoHzq4lbhaXeLm8OsHP_tGuzSbx5w5TMveK" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="20" data-original-width="388" height="16" src="https://blogger.googleusercontent.com/img/a/AVvXsEghgbf2YUAYExncnq9-o9dxwsmK42sMRUJQ2CPjuSVu1eGv5PPsa123Seakm_ljXQUi7U0WnxmxWVK_EAnxOYQN03JooJoa7Jp6ETFWYwQy3Vv54x7ZLDJviNCu4rlTj7BRprSLMx9itySApC7jTnafAAoHzq4lbhaXeLm8OsHP_tGuzSbx5w5TMveK" width="320" /></a></div><br /><br /></div>Thanks,<p></p><p>Purna<br /><br /></p><br /></div>Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0tag:blogger.com,1999:blog-1890560268449402612.post-6207628393540831012020-07-16T22:14:00.001+05:302020-07-16T22:14:51.878+05:30Error in displaying Microsoft Forms in Forms Webpart on a SharePoint modern page : This is not a valid form link. Please copy a URL from Microsoft Forms. Hi Guys,<div><br /></div><div>This is a short post regarding an error when displaying the Microsoft forms on a SharePoint modern page using "Microsoft Forms" webpart.</div><div><br /></div><div>While giving the Microsoft Form url in Form address section of webpart, getting below error :</div><div><br /></div><div><b>This is not a valid form link. Please copy a URL from Microsoft Forms</b></div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-1kZ-XARMD5fFvOBgnyXc3i-KM3dw_2cbC1xkEGVxnmERRWW-lMnLiSQw85nXvYdA54jmDq-j9Ims2EGC7UMQ3EXYUMa4Enl4mlSfPmP5bL2sAifBopIkdoKfbRPRismPpT6Xp55mb-8/s876/MS+Form+Address+Error.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="471" data-original-width="876" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-1kZ-XARMD5fFvOBgnyXc3i-KM3dw_2cbC1xkEGVxnmERRWW-lMnLiSQw85nXvYdA54jmDq-j9Ims2EGC7UMQ3EXYUMa4Enl4mlSfPmP5bL2sAifBopIkdoKfbRPRismPpT6Xp55mb-8/w625-h336/MS+Form+Address+Error.PNG" width="625" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div><b>Resolution :</b></div><div><br /></div><div>Change the address from https://forms.<b>microsoft</b>.com to https://forms.<b>office</b>.com </div><div><br /></div><div>like below :</div><div>https://forms.<b>office</b>.com/Pages/ResponsePage.aspx?id=AMTFSSVS5-C2960-zJa4H09HDcNmDygV5UVFHNE1aMTFFVDJNR1RKRElFSC4u</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxD4G_eAUiD7tx1qbS_EsS-plmqO3OYpESDUC1JRPAXkljhNU7RkRlGFUI026Ak0PP7ZrgGiRkrz253h33yzU622OfOGbX9caqAC8H-e_sMTfWJsJ5D1xI4ylRRNFN7T8wLG7BhOl0esE/s1146/Resolution_MSFormsWebpartLinkError.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="429" data-original-width="1146" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxD4G_eAUiD7tx1qbS_EsS-plmqO3OYpESDUC1JRPAXkljhNU7RkRlGFUI026Ak0PP7ZrgGiRkrz253h33yzU622OfOGbX9caqAC8H-e_sMTfWJsJ5D1xI4ylRRNFN7T8wLG7BhOl0esE/w625-h235/Resolution_MSFormsWebpartLinkError.PNG" width="625" /></a></div><div><br /></div><div><br /></div><div>No idea on what is the logic behind this . Both links works for sharing and submitting the response. But only the url with office.com works in MS Forms Webpart on a SharePoint modern page.</div><div><br /></div><div>Hope this helps some one !</div><div><br /></div>Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com2tag:blogger.com,1999:blog-1890560268449402612.post-77745526424255440322020-06-22T22:51:00.007+05:302020-07-17T01:46:49.840+05:30Power Automate Get File Content - Displaying Images in flow email body from SharePoint though users dont have access to them<div><font face="arial">Hi,</font></div><div><font face="arial"><br /></font></div><div><font face="arial">Recently I got a requirement to build a scheduled flow (Power Automate) which sends emails to users to work on some tasks before they attend a training. That email body contains few images which were stored in a SharePoint Picture Library.</font></div><div><font face="arial"><br /></font></div><div><font face="arial"><b>Issue </b>: Images are not displayed to end users as they were not having access on the SharePoint site. One solution for this problem is, giving read access to all users (every one) on the site or at least on the picture library by breaking the permissions from parent. But due to some policy issues, we are not allowed to do that.</font></div><div><br /></div><div><font face="arial"> So because of that when i am referring them with complete image path, users are unable to see the images in the email .</font></div><pre style="text-align: left;"><font face="verdana"><img src="https://mysharepointsite.com/TrainingMedia/PreworkSchedule.png" alt="img_training" / ></font></pre><pre style="text-align: left;"><span style="font-family: verdana; white-space: normal;">To overcome this issue, do the following</span></pre><pre style="text-align: left;"><font face="verdana"><span style="white-space: normal;"><b>Resolution</b></span></font><span style="font-family: verdana; white-space: normal;"> : Get the file content in flow and use it in email body.</span></pre><pre style="text-align: left;"><font face="verdana">Here are the steps to do that.</font></pre><pre style="text-align: left;"><font face="verdana">Using Get File Content Activity, browse the image</font></pre><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4b9ZzkrsQLcffesSIdXhFk8-XpygmWDgfkZMr1peV1B1Si6W8zsQKZuiGQPNrLwYGa60DM_zkBqU_nfRdyerPC7LlmjlOBQ6fM_tCWoQfEm7-HrLIfwJPTR7ueeJ9blXnHWdlNyF19Wc/s620/Get+File+Content+Image.png" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="190" data-original-width="620" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4b9ZzkrsQLcffesSIdXhFk8-XpygmWDgfkZMr1peV1B1Si6W8zsQKZuiGQPNrLwYGa60DM_zkBqU_nfRdyerPC7LlmjlOBQ6fM_tCWoQfEm7-HrLIfwJPTR7ueeJ9blXnHWdlNyF19Wc/w625-h193/Get+File+Content+Image.png" width="625" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;"><br /></td></tr></tbody></table><pre style="text-align: left;"><font face="verdana">Then use this File Content in Send Email Activity ( To view the Attachment option, Click on "Show Advanced Options" )</font></pre><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaODGYvzvBSEdXBwqgRPHyN97AXwwh5VHGlAE9q2HCtywzmr2W2jBikCr39sdNhyphenhyphen-TW8ZH-ZtYAnHur5CgMx9SFfzLJdB4ld02F8sftufnD510MSUk6e5yqZR_bPHTSMgKvLAIo9bDQQw/s598/Use+File+Content+in+Email+Body.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="507" data-original-width="598" height="424" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaODGYvzvBSEdXBwqgRPHyN97AXwwh5VHGlAE9q2HCtywzmr2W2jBikCr39sdNhyphenhyphen-TW8ZH-ZtYAnHur5CgMx9SFfzLJdB4ld02F8sftufnD510MSUk6e5yqZR_bPHTSMgKvLAIo9bDQQw/w500-h424/Use+File+Content+in+Email+Body.PNG" width="500" /></a></div><pre style="text-align: left;"><span style="font-family: arial; white-space: normal;"> [Updated Note ] : This is tested in M365 Desktop outlook client ( 16.0.xxxxx) and Mobile outlook client. But few users complained that, images are rendering as attachments instead in body. So it seems, this functionality depends on settings of how your outlook is configured.</span></pre><pre style="text-align: left;"><br /></pre>Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0tag:blogger.com,1999:blog-1890560268449402612.post-33671243938440215262020-04-04T08:32:00.000+05:302020-04-04T08:32:24.942+05:30How to read SharePoint Person or Group field in Power Automate ( MS Flow ) and Send email<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Hi Guys,<br />
<br />
This post is on a basic concept like reading the values of a SharePoint person or group field from Ms flow. Recently i got a requirement to design a flow which reads the list item's metadata . During its design i noticed there is no direct way to read the values from the person or group field. ( at least by the time of writing this blog ). So i wanted to share the logic which i have implemented to achieve it.<br />
<br />
Here is my requirement :<br />
<br />
I have a field called <b>Customers</b> which is of type person or group with allow multiple sections . Which contains three people objects. So in my flow i need to retrieve Customers email ids with a colon (;) separated and send an email to them.<br />
<br />
Here is my <b>Customers </b>column :<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv1ARgL9MgpuUS5z1U5sqIUp3k8R7jfy9-mj50Yk8wIgSAA0mtqGwMAliWsvhckmp3hJrYo3O6jd4Zw3dIZ96gmw3SrXwwvgezsD1oDsFirK2O7NNMWZ1kxK4kD5XKMuroUsO6h2YsrlA/s1600/CustomersField.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="364" data-original-width="990" height="234" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv1ARgL9MgpuUS5z1U5sqIUp3k8R7jfy9-mj50Yk8wIgSAA0mtqGwMAliWsvhckmp3hJrYo3O6jd4Zw3dIZ96gmw3SrXwwvgezsD1oDsFirK2O7NNMWZ1kxK4kD5XKMuroUsO6h2YsrlA/s640/CustomersField.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
<br />
Now lets design the flow to retrieve these<br />
<br />
Here i am creating a flow with manual trigger action . The first action is Get Item<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTs_BPR8kJ3fqjvvMi-gLqYfD-XaGhAct6IULMzPG8yNIhYyuk3L3F_W_gNiakbjNCfWgXivxpGbqNvd0SmxNMA-GZbWRg0ugR69MxvYHSiSaSHLYZWvpn2-IAxnudFoG8MlbNPZn0j-g/s1600/GetItemActivity.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="260" data-original-width="568" height="291" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTs_BPR8kJ3fqjvvMi-gLqYfD-XaGhAct6IULMzPG8yNIhYyuk3L3F_W_gNiakbjNCfWgXivxpGbqNvd0SmxNMA-GZbWRg0ugR69MxvYHSiSaSHLYZWvpn2-IAxnudFoG8MlbNPZn0j-g/s640/GetItemActivity.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
Add a <b>Select - Data Operation</b> activity and set From with the <b>Customers </b>field like below.<br />
<br />
This Select operation takes only array as input.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnXz81QfjCXvVJlRk1Dvz_eCufu5-FFKJQOFXfhsdciutrpmzFX1gALoemsNS2zSOgtiC7R9-MtbFKaTHEE6JPEm0HbE3ZUgmf3oEbeYbd5kv-BCcMj7r4wAsRE2NnaJrCSFmAqcX6RjA/s1600/SelectCustomers.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="342" data-original-width="824" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnXz81QfjCXvVJlRk1Dvz_eCufu5-FFKJQOFXfhsdciutrpmzFX1gALoemsNS2zSOgtiC7R9-MtbFKaTHEE6JPEm0HbE3ZUgmf3oEbeYbd5kv-BCcMj7r4wAsRE2NnaJrCSFmAqcX6RjA/s640/SelectCustomers.png" width="640" /></a></div>
<br />
<br />
Here this <b>Customers</b> object (Array) contains many attributes like display name, email id etc. But we are interested in getting email ids only.<br />
<br />
So we need to map email ids object by a key value. Here my key name is <b>keyCstmrEmailIds </b>.<br />
Map this key with <b>Customers Email</b> field like below ( make sure there is no empty space in the key )<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2hLrueoXoipzkoRMXzBhJVc4awxhyphenhyphenG8hK5VHLzratMcnQLe_92vCTZKpicxFWpQvLm0l0SwogkH4muw_gOVXI4hGZZXnxlsyyvEQhIa1lPTysKIZZ3zvjfu_SaisZ6mmIfGaMKpzGD1Q/s1600/CustomersEmailIDmapping1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="488" data-original-width="889" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2hLrueoXoipzkoRMXzBhJVc4awxhyphenhyphenG8hK5VHLzratMcnQLe_92vCTZKpicxFWpQvLm0l0SwogkH4muw_gOVXI4hGZZXnxlsyyvEQhIa1lPTysKIZZ3zvjfu_SaisZ6mmIfGaMKpzGD1Q/s640/CustomersEmailIDmapping1.png" width="640" /></a></div>
<br />
<br />
<br />
So here is the complete <b>Select </b>Action :<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsew__3DuwX4WiOMeEYrfoYOsFdoCct__hFDek1C_B2nRuZMNHHLXRzCzORHnyS_P9eC5nU-PQc7dlhn2sZ4cxdLQTuMQJXNT4MAAu7NwYISkJ3wBuf_lVsid7oeAvJQlCKlzNyJyXRuY/s1600/Complete+Select+Object.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="183" data-original-width="622" height="187" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsew__3DuwX4WiOMeEYrfoYOsFdoCct__hFDek1C_B2nRuZMNHHLXRzCzORHnyS_P9eC5nU-PQc7dlhn2sZ4cxdLQTuMQJXNT4MAAu7NwYISkJ3wBuf_lVsid7oeAvJQlCKlzNyJyXRuY/s640/Complete+Select+Object.png" width="640" /></a></div>
<br />
<br />
Now using logical expressions retrieve these values.<br />
<br />
Add a initialize a variable action and give the name of the variable as "<b>varActualCustomerEmailIds</b>" with type "array" and fill the <b>Output </b>of previous <b>Select </b>action. like below<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVMXae1HqfUxtSYLHACPZATWUbPWA6YKwVwXun4G6kJXbKT9yFN3hvH1hnOdnTMOTGJKOtgNVF9FBLaR0gCZ3u5fWvY65YKKsSAhurzULFmGF602vbf06CasQfQtveQlitbVhIju2z31k/s1600/varActualEmailIDs.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="406" data-original-width="829" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVMXae1HqfUxtSYLHACPZATWUbPWA6YKwVwXun4G6kJXbKT9yFN3hvH1hnOdnTMOTGJKOtgNVF9FBLaR0gCZ3u5fWvY65YKKsSAhurzULFmGF602vbf06CasQfQtveQlitbVhIju2z31k/s640/varActualEmailIDs.png" width="640" /></a></div>
<br />
<br />
Now initialize another variable of type string with name "varFinalCustomerEmailIdString" and leave its value as blank. We will use this variable to store the result email ids.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDC2aWLSZb8s0nsi4SlOjz26I__HTyNq_wSYZYnmsnf-utrpWxFcekg0pezh4DhwQ3Z0fthWBucamc4a6uAqPhzX9jDrLe5z-Hhi7QKg5Q7l5iCJQhm63XpY0WYMlAnrqzVmNyLBN6lGc/s1600/FinalString.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="348" data-original-width="611" height="363" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDC2aWLSZb8s0nsi4SlOjz26I__HTyNq_wSYZYnmsnf-utrpWxFcekg0pezh4DhwQ3Z0fthWBucamc4a6uAqPhzX9jDrLe5z-Hhi7QKg5Q7l5iCJQhm63XpY0WYMlAnrqzVmNyLBN6lGc/s640/FinalString.png" width="640" /></a></div>
<br />
<br />
<br />
Now the <b>varActualCustomerEmailIds </b> contains the CustomerEmailIds array (Output of Select Action ). Now we need to retrieve these one by one and combine then with semincolon ";".<br />
<br />
Lets do this.<br />
<br />
Add a <b>Apply to each</b> Action and add <b>varActualCustomerEmailIds </b> .<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOZuqdtpIKTMDSXfSLO-zfKVXZaEl0va2xqbIQPagUMCAjSk2RGD_Ymj86Kl-uOT7Gra_XqtLIzMhAxYv6tbbyYBjfWagM26jZRiMn6QA3-cAMb-y0aAwDUbCIGt-JF5MTSEXQoBFRq6M/s1600/Applytoeach.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="320" data-original-width="826" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOZuqdtpIKTMDSXfSLO-zfKVXZaEl0va2xqbIQPagUMCAjSk2RGD_Ymj86Kl-uOT7Gra_XqtLIzMhAxYv6tbbyYBjfWagM26jZRiMn6QA3-cAMb-y0aAwDUbCIGt-JF5MTSEXQoBFRq6M/s640/Applytoeach.png" width="640" /></a></div>
<br />
<br />
Now we need to retrieve each email id from this <b>varActualCustomerEmailIds </b>array and concat them one by one with semi colon ";"<br />
<br />
So add a <b>Data Operations - Compose </b>action and add below Expression to concat email id and semicolon.<br />
<br />
<b>concat(item()?['keyCstmrEmailIds'],';')</b><br />
<b><br /></b>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFZYEJCAQBzDaNmjO6_7ILZtvaqEQMz7EkSAPwLILuaZbE0pgZmR5Q181sbmn9sMRNcFo2rGai5Iv4Xn-Q92r2xQzbV2ZjQTDmeTdsiZ5JKi4aTwjSue9bZUWLsIB3M5KA-g-l8v0jOCY/s1600/ComposeExpression.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="288" data-original-width="858" height="214" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFZYEJCAQBzDaNmjO6_7ILZtvaqEQMz7EkSAPwLILuaZbE0pgZmR5Q181sbmn9sMRNcFo2rGai5Iv4Xn-Q92r2xQzbV2ZjQTDmeTdsiZ5JKi4aTwjSue9bZUWLsIB3M5KA-g-l8v0jOCY/s640/ComposeExpression.png" width="640" /></a></div>
<br />
<br />
<br />
<b><br /></b>
if you observe the keyCstmrEmailIds is the Key defined in above <b>Select </b>action . This contains output like <b>emailId1; </b> <br />
So now we need to append these result values in every loop item and store in a string variable.<br />
<br />
Lets do that.<br />
<br />
Add another <b>Data Operations - Compose </b> action and assign <b>Output </b>of previous <b>Compose </b>action like below<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhggus7h_19YjrxY03xNBwj3Y91cfguVxwNNMirzhXfohiAYPNsa09f7vQyR4j3tQJ9VpLq9kwEEvTjA2N2Nu_sGO6sIkILfDtxhvAfjz0LP6fHj4z72rZnkv2bIJad6Krg4Ji5paUGHuo/s1600/Compose+2-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="443" data-original-width="687" height="412" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhggus7h_19YjrxY03xNBwj3Y91cfguVxwNNMirzhXfohiAYPNsa09f7vQyR4j3tQJ9VpLq9kwEEvTjA2N2Nu_sGO6sIkILfDtxhvAfjz0LP6fHj4z72rZnkv2bIJad6Krg4Ji5paUGHuo/s640/Compose+2-1.png" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
And append string variable <b>varFinalCustomerEmailIdString </b>to it ( So complete Compose2 action looks like below)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheoCcnfHaiNfEt1z1iuDJojTpB6IPkH_W2KV0e8yS8WDxszUKVba3uY3zvnpdTK5ghSk9v-ohTjsWZENMLBWm1UaD53lKwJ4_WRNbTjgOUrabNgeDwV5uZMNc3YtQCoOJZmNFQtKdBwRM/s1600/Compose+2-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="423" data-original-width="836" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheoCcnfHaiNfEt1z1iuDJojTpB6IPkH_W2KV0e8yS8WDxszUKVba3uY3zvnpdTK5ghSk9v-ohTjsWZENMLBWm1UaD53lKwJ4_WRNbTjgOUrabNgeDwV5uZMNc3YtQCoOJZmNFQtKdBwRM/s640/Compose+2-2.png" width="640" /></a></div>
<br />
<br />
Now store this appended value to the same string variable <b>varFinalCustomerEmailIdString </b> like below.<br />
<br />
Add a <b>Set Variable</b> action and set <b>varFinalCustomerEmailIdString </b>with <b>Output </b>of <b>Compose 2 </b>action like below<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG4A-u6VvmNa03m3WL3W9Hfg539gMXNigwhWtwYLGBTRQCg6ZQJhUv0PYnvHxlnVwPY0e3eloaDtulqZY0wQ3UAjE5jW0Ou14J0T_551grjN1iTgbbo48E6Lwu-3iBK8bTkVOinUXkH7A/s1600/FinalAssignment.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="400" data-original-width="858" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG4A-u6VvmNa03m3WL3W9Hfg539gMXNigwhWtwYLGBTRQCg6ZQJhUv0PYnvHxlnVwPY0e3eloaDtulqZY0wQ3UAjE5jW0Ou14J0T_551grjN1iTgbbo48E6Lwu-3iBK8bTkVOinUXkH7A/s640/FinalAssignment.png" width="640" /></a></div>
<br />
DONE. Now <b>varFinalCustomerEmailIdString </b>contains the email ids with ";" attached.<br />
<br />
Lets send an email with To address as this <b>varFinalCustomerEmailIdString </b>variable.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieskLJz61CyklB1zURx80Oqd2Looc7s9-0tlT7dFHuZxb6ZFmsHQVo8pepc0lzAtsWJ0fK0c8MdtWtBj1ePpKtPFkzaxFu97cf7zKgHVRZcZfzdu6NxvSyVwkLZIYholPUSA8DmWO86hc/s1600/SendEmailusingString.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="336" data-original-width="479" height="448" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieskLJz61CyklB1zURx80Oqd2Looc7s9-0tlT7dFHuZxb6ZFmsHQVo8pepc0lzAtsWJ0fK0c8MdtWtBj1ePpKtPFkzaxFu97cf7zKgHVRZcZfzdu6NxvSyVwkLZIYholPUSA8DmWO86hc/s640/SendEmailusingString.png" width="640" /></a></div>
<br />
<br />
<br />
Here is the email to three customers ( From the list item <b>Customers </b>field ).<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAIDMdf0vgL84BHNV5PiVB6cp3GogxUNgo_Eq7rrUq6rLIC-pr9IzN0Yt2CkEN1FwuQoZFUpxGgGM_5KGY4L9p2aJIQt7tITiorbCGA9E1jidssrI3UWzGPNoJB9LAS1s0wunqgHpaKz4/s1600/Email.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="392" data-original-width="734" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAIDMdf0vgL84BHNV5PiVB6cp3GogxUNgo_Eq7rrUq6rLIC-pr9IzN0Yt2CkEN1FwuQoZFUpxGgGM_5KGY4L9p2aJIQt7tITiorbCGA9E1jidssrI3UWzGPNoJB9LAS1s0wunqgHpaKz4/s640/Email.png" width="640" /></a></div>
<br />
<br />
Hope this helps some one !<br />
<br />
Thanks<br />
Purna<br />
<br /></div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0MIDDLEBRG HTS, OH 44130, USA41.376464 -81.767764541.281158 -81.929126 41.47177 -81.606403tag:blogger.com,1999:blog-1890560268449402612.post-23605498039626707652020-02-08T10:04:00.001+05:302020-02-08T10:06:46.389+05:30Generating word document from SharePoint Online list items using MS flow (Power Automate) built in connectors<div dir="ltr" style="text-align: left;" trbidi="on">
Hi Guys,<br />
<br />
In this post I am going to show how to generate a word document from SharePoint online list items using MS Flow (Power Automate ).<br />
<br />
Here are the high level steps of this procedure<br />
<br />
1> Product List & Inventory Library Creation<br />
2> Product CT Content Type Creation<br />
3> Product CT Content Type Association to Inventory library<br />
4> Word Template Creation using Quick Parts<br />
5> Design MS Flow using built in actions ( no custom connectors used )<br />
6> Word document generation in Flow using Word template<br />
<br />
Create a custom list called "Products" with below columns<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQDelcPeH_TzJrIaEHF6wbpEuvBJQ2au2jU6jTaFExaITWoDXOYjYipf-y1cqXrOyZIg3OHytEC4pjJ7yN3O-E2bRT6xHVCSMRvCVPeAfrcqzwNDondXleIRrzKqeS-i-CYYXIE3tuE04/s1600/ProductsList.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="421" data-original-width="1121" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQDelcPeH_TzJrIaEHF6wbpEuvBJQ2au2jU6jTaFExaITWoDXOYjYipf-y1cqXrOyZIg3OHytEC4pjJ7yN3O-E2bRT6xHVCSMRvCVPeAfrcqzwNDondXleIRrzKqeS-i-CYYXIE3tuE04/s640/ProductsList.png" width="640" /></a></div>
<br />
Create a Library called "Inventory"<br />
<br />
Create a Content Type called "ProductCT" of type "Document". Add the site columns same like in Products list with little change to understand they are from content type.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii4xyBUS5Q68CXJ4RlP_4dp41mn4UBG8pMMyMzWeqg8UY5Pwunedrr1ION16w7Qebn4XsOz2b-XdCKtgAing45nVxWrTdwkxYI67RwiFdSc-eShJW2EnoLr0oOMnanHNh-FiltZcmybKw/s1600/ProductCTContentType.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="704" data-original-width="1323" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii4xyBUS5Q68CXJ4RlP_4dp41mn4UBG8pMMyMzWeqg8UY5Pwunedrr1ION16w7Qebn4XsOz2b-XdCKtgAing45nVxWrTdwkxYI67RwiFdSc-eShJW2EnoLr0oOMnanHNh-FiltZcmybKw/s640/ProductCTContentType.png" width="640" /></a></div>
<br />
<br />
<br />
Associate this content type to Inventory Library<br />
Go to Library -->Advanced Settings -->Allow Management of Content Types --> Yes<br />
<br />
Then Add this "ProductCT" to this library ( Content Types -->Add from Existing Content Types --> Add Product CT)<br />
<br />
Now add a Document using this "ProductCT" from the New Item menu like below :<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOlk8RY2PjBdQqkhYdivryAKfQbbFm4auMlXbqXk2oZLBwdgiQwh2mxPXWb7uK0rIJ29zMF2oYp6Lc4HBhQ-Nvqu1SFyAHxBN9w9FLUkbjdmQw27oPAdNa5DLPPBSb_9JihAVD9zbm-uo/s1600/AddProductCTmenuitem.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="456" data-original-width="615" height="473" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOlk8RY2PjBdQqkhYdivryAKfQbbFm4auMlXbqXk2oZLBwdgiQwh2mxPXWb7uK0rIJ29zMF2oYp6Lc4HBhQ-Nvqu1SFyAHxBN9w9FLUkbjdmQw27oPAdNa5DLPPBSb_9JihAVD9zbm-uo/s640/AddProductCTmenuitem.png" width="640" /></a></div>
<br />
<br />
<br />
Then Word window will open in browser. Then without writing anything, just download it to your computer ( File-->Download a Copy ). Then rename it to "InventoryTemplate" with same extension of docx.<br />
<br />
Then Open it --> If it asks, click on Enable Editing<br />
<br />
Then Click <b>Insert Tab</b>--><b>Explore QuickParts</b>--><b>Document Property</b>. Then you can see your content type columns here like below<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyN9Q4SLUwMBs3rWRQ7gwvRAipk4hkY0K3X8X_4NXVWunhN06QSefaWQiwXLK54L5QZhD72YFaTLqcZDQ0TIOxMzEOS8hqJT-dV4TUqny3g6llACl4pgkamF1Fg9793JWRuR_UZGCRbfM/s1600/DocumentPropertiesinWord.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="609" data-original-width="1335" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyN9Q4SLUwMBs3rWRQ7gwvRAipk4hkY0K3X8X_4NXVWunhN06QSefaWQiwXLK54L5QZhD72YFaTLqcZDQ0TIOxMzEOS8hqJT-dV4TUqny3g6llACl4pgkamF1Fg9793JWRuR_UZGCRbfM/s640/DocumentPropertiesinWord.png" width="640" /></a></div>
<br />
<br />
Now its time to build your template using these columns. Here is my sample template.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUFpFSdo6nL4sKb1v0uazosL3ZxyOnclD-Tk03ex4MA7oAOKY0U8MJHXgwapmb8LzPnC8oQKBoT2rNIICwCX8KN0fwt3a0MEJTZvc-met-C3keY9EnH_WIvDE6ZYn1kkVAzKmrU48jE6M/s1600/InventoryTemplate+with+Columns.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="637" data-original-width="943" height="432" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUFpFSdo6nL4sKb1v0uazosL3ZxyOnclD-Tk03ex4MA7oAOKY0U8MJHXgwapmb8LzPnC8oQKBoT2rNIICwCX8KN0fwt3a0MEJTZvc-met-C3keY9EnH_WIvDE6ZYn1kkVAzKmrU48jE6M/s640/InventoryTemplate+with+Columns.png" width="640" /></a></div>
<br />
<br />
Save it to your computer ( Name : InventoryTemplate.docx ) and then Upload to our "Inventory Library".<br />
<br />
<br />
<br />
Now the template is ready. Its time to design MS Flow ( Power Automate ) :<br />
<br />
We are going to design a MS Flow which is triggered when a list item is created in Products List. This flow uses the InventoryTemplate.docx as the template to create a new word document. The fields in template will be filled by the respective values in Products List columns.<br />
<br />
Here are the steps :<br />
<br />
go to flow.microsoft.com and create a flow using below steps<br />
<br />
New --> Automated from blank --> give name and select the trigger as when item is created in SharePoint<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgseA00gTk0O4E2PWrXzZM-7WDqpRbn3HrIOm2Su90F169pTvB2dOGjVAnE5RRWQq3WxOQL3bCMbnpegCF58EPc17Ib6M5GN5X6IFZ-eBKk28M1ugZhcUiTyVeaK_bGftSaI4hnuTaZ56I/s1600/FlowNameandTrigger.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="344" data-original-width="866" height="254" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgseA00gTk0O4E2PWrXzZM-7WDqpRbn3HrIOm2Su90F169pTvB2dOGjVAnE5RRWQq3WxOQL3bCMbnpegCF58EPc17Ib6M5GN5X6IFZ-eBKk28M1ugZhcUiTyVeaK_bGftSaI4hnuTaZ56I/s640/FlowNameandTrigger.png" width="640" /></a></div>
<br />
<br />
<br />
Click Create.<br />
<br />
Then in When Item is Created Action , Select Your Site Url and List Name as "Products"<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWMNK9kpgV-K-rpMeDjo0UBybsuUkSNz4fLIHKqpa472OPiB9sTvpKVy6aWvDXNv25K_1U7GiVWniri_TRUKO5WXhRLHzSfMBCqUwHs2hQ3XqaV0FnyjPwCj8KfJYmF304E71ZitLbd9g/s1600/WhenItemCreated.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="333" data-original-width="989" height="214" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWMNK9kpgV-K-rpMeDjo0UBybsuUkSNz4fLIHKqpa472OPiB9sTvpKVy6aWvDXNv25K_1U7GiVWniri_TRUKO5WXhRLHzSfMBCqUwHs2hQ3XqaV0FnyjPwCj8KfJYmF304E71ZitLbd9g/s640/WhenItemCreated.png" width="640" /></a></div>
<br />
<br />
Then Click on New Step and add a action called "Get File Content (SharePoint )"<br />
<br />
Give Site Address and for File Identifier field select "InventoryTemplate.docx" from "Inventory" library using Show Picker icon.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6bvJWpSbpcJG_hQDX1bwo1SoLNtEqpgfICbQi0Wv283VbR2a98Exc5WapueRuDSHFMtAQqwnen_juQgkxBdVqZWggw-N9YjmJ1ehVm0FoNxE4SpoZ9rMkvQUj7Xvv5UbUSUIs6DPLlk4/s1600/Get+File+Content.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="365" data-original-width="690" height="338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6bvJWpSbpcJG_hQDX1bwo1SoLNtEqpgfICbQi0Wv283VbR2a98Exc5WapueRuDSHFMtAQqwnen_juQgkxBdVqZWggw-N9YjmJ1ehVm0FoNxE4SpoZ9rMkvQUj7Xvv5UbUSUIs6DPLlk4/s640/Get+File+Content.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
Then add another step with a action called "Create File (SharePoint) "<br />
<br />
Give Site Address .<br />
Folder Path as "Inventory" library.<br />
File Name : [Title]_InventoryReport.docx<br />
File Content : [FileContent] ( this is the output from previos Get File Content step )<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0k-UOZx1G7RbIlK08sCIEwnw9VDkiKg31KSkEKZRIXnyHSFcbog1-8WU3qw5U1hIt-l-YYrrUGMjx5AwKaVXagAhwR88gN6myF4ID5bdI6EURAvbAHwdXS3LyfStllbCj0rtTSE8MLKU/s1600/CreateFile.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="207" data-original-width="586" height="226" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0k-UOZx1G7RbIlK08sCIEwnw9VDkiKg31KSkEKZRIXnyHSFcbog1-8WU3qw5U1hIt-l-YYrrUGMjx5AwKaVXagAhwR88gN6myF4ID5bdI6EURAvbAHwdXS3LyfStllbCj0rtTSE8MLKU/s640/CreateFile.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
Then add new step and then add a action called "Update File Properties (SharePoint )"<br />
<br />
<b>Site Address</b> : Site URL<br />
<b>Library Name</b> : Inventory<br />
<b>Id</b> : [ItemId] from the "Create File Action"<br />
<b>Title, ProductCTDescription, ProductCTPrice, ProductCTQuantity,ProductCTManufacturingDate</b> : Set the respective fields from "Create File Action " like below<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6yqN3o-0iU_lcPuFwxwjNEdrVFLc0p67BkKa1qOasIMaP61mwVRjc2X_96V9I_yyUDBLgjKH9LHk5Thay4WYgx6cn6nxcVXD2NNIg63_ijneEgJIQ2QQGLH1TOIooSBv8lY-QXGHRokU/s1600/UpdateFileProperties.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="432" data-original-width="621" height="444" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6yqN3o-0iU_lcPuFwxwjNEdrVFLc0p67BkKa1qOasIMaP61mwVRjc2X_96V9I_yyUDBLgjKH9LHk5Thay4WYgx6cn6nxcVXD2NNIg63_ijneEgJIQ2QQGLH1TOIooSBv8lY-QXGHRokU/s640/UpdateFileProperties.png" width="640" /></a></div>
<br />
The over all flow should look like this ( due to screenshot size, showing with closed actions )<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsn47M7B-mhl0OXy27W7z0MZYXGF5FuvorQ8Ub3ydMdeBOn2pODYhz7ER1HoZArRwVq3A8VHozvCUV6KfqH5ngrxYhx84BHPHZAkEtZop1iouifg4F7v1jGnQx8GR58LNE7M2DOMjMFr8/s1600/CompletFlow%2528ClosedView%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="492" data-original-width="931" height="338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsn47M7B-mhl0OXy27W7z0MZYXGF5FuvorQ8Ub3ydMdeBOn2pODYhz7ER1HoZArRwVq3A8VHozvCUV6KfqH5ngrxYhx84BHPHZAkEtZop1iouifg4F7v1jGnQx8GR58LNE7M2DOMjMFr8/s640/CompletFlow%2528ClosedView%2529.png" width="640" /></a></div>
<br />
<br />
Save it .<br />
<br />
Now test it by creating an item in Products List . Here are the steps<br />
<br />
Click Test --> I will perform the trigger action --Save & Test . It will open a window which waits for list item creation.<br />
<br />
Now go to Products List and create a item :<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidrEzGNPzNGzXNN6f6A4y2fZW3skGZ3YV2hr5ndfQca0s4ujVz9lWdInQ0DpS1QSkB6CTagJHZ5CQiXY2kjj09Q6cYZFi3Bpsbn4yx2yeqzG0SVIjemOmivTXWmY3YC5qDemq5Iq94NEE/s1600/CreateProduct.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="541" data-original-width="549" height="630" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidrEzGNPzNGzXNN6f6A4y2fZW3skGZ3YV2hr5ndfQca0s4ujVz9lWdInQ0DpS1QSkB6CTagJHZ5CQiXY2kjj09Q6cYZFi3Bpsbn4yx2yeqzG0SVIjemOmivTXWmY3YC5qDemq5Iq94NEE/s640/CreateProduct.png" width="640" /></a></div>
<br />
Now the flow will trigger and it creates a report with name as "Wireless Keyboard _InventoryReport.docx (word document ) in "Inventory" library as below :<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLYapye0U4u79-52S84qxCXmt25B6DiefALAs3fmHPqeYHxc20oH-oUina5STC1izk26y6LVa8qWHnr3Eu9TSGBN9FmQsVSMupYVa6oWUgY4MzHrkLsMYaVc_2GJOmHAA6TwOKN82bhlY/s1600/DocumentGenerated.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="388" data-original-width="890" height="278" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLYapye0U4u79-52S84qxCXmt25B6DiefALAs3fmHPqeYHxc20oH-oUina5STC1izk26y6LVa8qWHnr3Eu9TSGBN9FmQsVSMupYVa6oWUgY4MzHrkLsMYaVc_2GJOmHAA6TwOKN82bhlY/s640/DocumentGenerated.png" width="640" /></a></div>
<br />
Now download the document to view the content. As mentioned previously, this generated word document will not work in word online since we used the QuickParts (Document Properties ).<br />
<br />
Here is the generated word document looks like : ( If you notice, the document QuickParts are replaced by the respective list item field values )<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMSd2tpBNaVij7dkCwo6Xr3R97X2XZFx_8SWPugQBSCEo6fvXyRq-hOdsqsoZ1rsXDYfGEYKeobnSloQzdnOnwHLLY-zfGDitIm2wx18x9VtLq1Iiiw_Z9FpArHymf8w48riAni-5pX4M/s1600/GeneratedDocumentwithColumnvalues.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="670" data-original-width="899" height="476" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMSd2tpBNaVij7dkCwo6Xr3R97X2XZFx_8SWPugQBSCEo6fvXyRq-hOdsqsoZ1rsXDYfGEYKeobnSloQzdnOnwHLLY-zfGDitIm2wx18x9VtLq1Iiiw_Z9FpArHymf8w48riAni-5pX4M/s640/GeneratedDocumentwithColumnvalues.png" width="640" /></a></div>
<br />
<br />
So this way, we can generate a word document from sharepoint list item.<br />
<br />
Though there is a limitation of opening this generated document in browser/word online, this use case is very useful in real time project scenarios.<br />
<br />
Hope you liked it .<br />
<br />
Thanks<br />
Purna</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0tag:blogger.com,1999:blog-1890560268449402612.post-89676351410800663592020-01-06T03:07:00.000+05:302020-07-17T01:43:35.850+05:30Adding Emojis to SharePoint Navigation Menu Items, Site Title etc.<div dir="ltr" style="text-align: left;" trbidi="on">
Hello guys,<div>
<br /></div>
<div>
Adding Emojis to SharePoint Links is a cool feature. Here are the steps to do this.</div>
<div>
<br /><div>
Edit your Menu Item --> Click "<b>Windows</b>" and "<b>.</b>" keys on your keyboard at a time. It will open a window with all emojis like below</div>
</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_4obIjVbEulQZukZ-vYoMqoM-WcWSlv0dho38545_yTq1NtC9zcgXT8ZN6xTQCvgNwj_aHUqiQP1tp8779-9tVTdxk5BtYuh9j14-Lmffpw9oygKvMJhxDdlPhkFXSgF_-qC724IdbI0/s467/Emoji+to+Navigation1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="181" data-original-width="467" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_4obIjVbEulQZukZ-vYoMqoM-WcWSlv0dho38545_yTq1NtC9zcgXT8ZN6xTQCvgNwj_aHUqiQP1tp8779-9tVTdxk5BtYuh9j14-Lmffpw9oygKvMJhxDdlPhkFXSgF_-qC724IdbI0/w500-h194/Emoji+to+Navigation1.png" width="500" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Select an Image and Save the item.</div>
<div>
<br /></div>
<div>
Also you can copy the emojis from this famous site <a href="https://emojipedia.org/">https://emojipedia.org/</a> Also, you can apply these emojis for your site title and descriptions as well. </div>
<div>
<br /></div>
<div>
Here is the image :</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip1tA5QJHhg-A_Zg5ZIOcRK0m9h782eRVnEDF9aT-cdI8TuGt41l28LVGa-cGJObbivCYJlwjq-W41WrZQt7fl5M0rsDC-kzQ2qkEk99knNkG6JIl8GDOORUQeAUKQHTjGVoMab3o3rBc/s1600/Title+Emoji.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="225" data-original-width="781" height="184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip1tA5QJHhg-A_Zg5ZIOcRK0m9h782eRVnEDF9aT-cdI8TuGt41l28LVGa-cGJObbivCYJlwjq-W41WrZQt7fl5M0rsDC-kzQ2qkEk99knNkG6JIl8GDOORUQeAUKQHTjGVoMab3o3rBc/s640/Title+Emoji.png" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
<br /></div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0tag:blogger.com,1999:blog-1890560268449402612.post-67226215115686296342019-12-29T07:23:00.000+05:302019-12-29T07:50:51.239+05:30Transform Classic Page to Modern Page using PNP Powershell - SharePoint Online<div dir="ltr" style="text-align: left;" trbidi="on">
Hello guys,<br />
<br />
As the current trend is migrating on-premise versions of SharePoint to online, we definitely come across with a requirement to convert the classic sites to modern sites .<br />
<br />
In this post i am going to show how we can transform the classic SharePoint page to modern page. There are couple of approaches to do this transformation, like using PowerShell, .Net and SharePoint Transformation UI using ModernizationFramework .<br />
<br />
In this post i am explaining the PowerShell method. The PnP Powershell provides a way to transform the classic SharePoint page to modern SharePoint page.<br />
<br />
Before looking in to this code, I just wanted you to have a look of how my SharePoint Classic Page looks before transformation. Here is a sample Classic Home Page with four webparts on it.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSpO2Hn2e8ni_URz2tiiC7CsqctbohSOAhMFyo4WT-LgBWDmgLxaPMgjP_xup_njw9eM0l-usnN2oqySy5ZzihGL5nT0tDAZdgzSXgek_PNM1sLo3JCuRciG1G3NYqlYg2cARFlIJCapQ/s1600/Classic_Home.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="631" data-original-width="1328" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSpO2Hn2e8ni_URz2tiiC7CsqctbohSOAhMFyo4WT-LgBWDmgLxaPMgjP_xup_njw9eM0l-usnN2oqySy5ZzihGL5nT0tDAZdgzSXgek_PNM1sLo3JCuRciG1G3NYqlYg2cARFlIJCapQ/s640/Classic_Home.png" width="640" /></a></div>
<br />
<br />
This Classic page contains default tiles webpart with two list view and one image webpart .The layout being used here is Three Columns with Header.<br />
<br />
Now its time to look in to the transformation PnP commands:<br />
<br />
The prerequisite to this script is PnP Powershell module. If you don't have it already, install it using below command . This will install the latest PnP powershell version<br />
<br />
Install-Module SharePointPnPPowerShellOnline<br />
<br />
This transformation script requires a PnP Powershell 3.4 or higher . If you already have the older version and want to upgrade to latest , run the same command with '-Force' parameter .<br />
<br />
<b>Install-Module SharePointPnPPowerShellOnline -Force</b><br />
<br />
Once we are ready with PnP, run the below script to transform the page :<br />
<b><br /></b>
Connect to the site where your page exist and convert to Modern page by giving its name ( here DevHome.aspx is the name of my classic page )<br />
<br />
<b>Connect-PnPOnline -Url https://mad429.sharepoint.com/ </b><br />
<b><br /></b>
<b>ConvertTo-PnPClientSidePage -Identity DevHome.aspx</b><br />
<b><br /></b>
<br />
Once the conversion is done, it creates a modern page with name Migrated_[Classicpagename].aspx. In this case the converted page name is Migrated_DevHome.aspx.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2cLio8E35GscjvuUhNi2FW9ACCO27A5omVVykmW6XHJsccl5XFJXgM9frlFeSN9fhx9P5mhtVi-7zLNI3cJgKlsTv3odC6VVCtFeEMRyKQvcXIaH_XyBadAiXwRy0K31z9P31ihvICIg/s1600/TwoPagesinSitePages.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="389" data-original-width="875" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2cLio8E35GscjvuUhNi2FW9ACCO27A5omVVykmW6XHJsccl5XFJXgM9frlFeSN9fhx9P5mhtVi-7zLNI3cJgKlsTv3odC6VVCtFeEMRyKQvcXIaH_XyBadAiXwRy0K31z9P31ihvICIg/s640/TwoPagesinSitePages.png" width="640" /></a></div>
<br />
<br />
Below is the Converted Modern Page ( Migrated_DevHome.aspx) with the four webparts as in classic page.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZWGycsfb2r251tqmRyupov4vsESTs_zcTLdWhLJ-9NVFM8CN1sgiCSMGfEMeshnWjReQsmPiuf3RhMzp1qYbORCZ9fcfEMSFgaEtXZVyuVLojBR8x3MhkS6MGca2Q9BqOJT9NZ95jTs0/s1600/Modern_Home.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="602" data-original-width="1279" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZWGycsfb2r251tqmRyupov4vsESTs_zcTLdWhLJ-9NVFM8CN1sgiCSMGfEMeshnWjReQsmPiuf3RhMzp1qYbORCZ9fcfEMSFgaEtXZVyuVLojBR8x3MhkS6MGca2Q9BqOJT9NZ95jTs0/s640/Modern_Home.png" width="640" /></a></div>
<br />
<br />
<br />
<br />
<br />
If you want to keep the original name to modern page, there is a parameter called "TakeSourcePageName". This creates the modern page with the Classic Page Name and keeps the classic page name as Previous_[ClassicPage].aspx<br />
<br />
<b>ConvertTo-PnPClientSidePage -Identity DevHome.aspx -TakeSourcePageName</b><br />
<br />
There are couple of parameters avail for this ConvertTo-PnPClientSidePage command. Here is the link from <a href="https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-userinterface-site-pages-powershell" target="_blank">msdn </a>where you can find complete details of this powershell approach.<br />
<br />
Also, there is an option of giving end users to decide whether they can keep the transformed version of page or discard it. This can be done using AddPageAcceptBanner parameter to the above command and installation of PageBanner Webpart. This is still evolving topic, please refer <a href="https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-userinterface-site-pages-ui" target="_blank">here </a>for more details.<br />
<br />
If you notice the above transformation , all four webparts are transformed perfectly to modern look and feel . But this is not true for all the webparts . There are few webparts/functionalities may not supported by this transformation. So get ready with your re-design approach before jumping in to transformation.<br />
<br />
In this post i just showed the transformation for one page . But you can write for all site pages with different parameters as per your need. Refer this <a href="https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-userinterface-site-pages" target="_blank">Microsoft Docs Link</a> for more details about this evolving topic.<br />
<br />
Hope you like this post !<br />
<br />
<br />
<br /></div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com2tag:blogger.com,1999:blog-1890560268449402612.post-57851886904793286892019-07-13T17:16:00.000+05:302019-07-13T17:16:04.326+05:30Everything is fine, but we had a small problem getting your license.. SharePoint 2013 AppStore Error<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white;"><span style="color: #666666; font-family: Trebuchet MS, Trebuchet, Verdana, sans-serif;"><span style="font-size: 13.2px;">Recently i configured app store on my SharePoint 2013 environment and when i try to add the app from appstore , i got below message :</span></span></span><br />
<span style="background-color: white;"><span style="color: #666666; font-family: Trebuchet MS, Trebuchet, Verdana, sans-serif;"><span style="font-size: 13.2px;"><br /></span></span></span>
<span style="background-color: white;"><span style="color: #666666; font-family: Trebuchet MS, Trebuchet, Verdana, sans-serif;"><span style="font-size: 13.2px;"><b>Error :</b></span></span></span><br />
<span style="background-color: white;"><span style="color: #666666; font-family: Trebuchet MS, Trebuchet, Verdana, sans-serif;"><span style="font-size: 13.2px;">" Everything is fine, but we had a small problem getting your license. Please go back to the SharePoint Store to get this app again and you wont be charged for it. "</span></span></span><br />
<span style="background-color: white; color: #666666; font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif; font-size: 13.2px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFMlQtsbs5iIUXfkLKias_wkICemzqls5OOHmyvQwldIieyfgQNwD17AAfCa-csINvAEti7IlIyFI7xaNqkWatrYA5bSX0QkcXii7y3yf9P1aHArCypxGRuGF53AylQbrMbYBRS_azAQ/s1600/AddAppfromAppStore.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="258" data-original-width="458" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFMlQtsbs5iIUXfkLKias_wkICemzqls5OOHmyvQwldIieyfgQNwD17AAfCa-csINvAEti7IlIyFI7xaNqkWatrYA5bSX0QkcXii7y3yf9P1aHArCypxGRuGF53AylQbrMbYBRS_azAQ/s640/AddAppfromAppStore.png" width="640" /></a></div>
<span style="background-color: white; color: #666666; font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif; font-size: 13.2px;"><br /></span>
<span style="background-color: white; color: #666666; font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif; font-size: 13.2px;"><b>Fix :</b></span><br />
<span style="background-color: white; color: #666666; font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif; font-size: 13.2px;">Usually you get this error when you try to add app using system account. So use non system account.</span><br />
<span style="background-color: white; color: #666666; font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif; font-size: 13.2px;"><br /></span>
<span style="background-color: white; color: #666666; font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif; font-size: 13.2px;"><br /></span></div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com1tag:blogger.com,1999:blog-1890560268449402612.post-33349294768815568202019-05-16T18:11:00.000+05:302019-05-16T18:11:01.266+05:30Root Element Missing when connecting to SharePoint online via CSOM/Powershell on windows 10 machine<div dir="ltr" style="text-align: left;" trbidi="on">
Hello friends,<br />
<br />
Recently i got a situation where suddenly my csom code is stopped working . This CSOM code is to connect a SharePoint online site to fetch data from some list. The same code was running fine earlier.<br />
<br />
<b>Issue Description:</b><br />
<b><br /></b>
When connecting to SharePoint Online site using CSOM or Powershell(using Connect-SPOService command) from Windows 10 machine getting an error "Root Element Missing"<br />
<br />
<b>CSOM error : </b><br />
<br />
At context.ExecuteQuery it thrown "<b>Root Element Missing</b>" with below stack trace<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipmz5pOy_TgQlV3qWRYvnMi-YwJRMIpnuFx3CQJqu9AAmEw3NvUL4PIkQ83lKzxldqxA6NODnKAx3F0hWqHAm-TwcgOWpDM2NQmr6ixZkGB82BehSh9xNWyBAuEE6JmfM8L2jq0eqy7DA/s1600/RootElementError.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="607" data-original-width="971" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipmz5pOy_TgQlV3qWRYvnMi-YwJRMIpnuFx3CQJqu9AAmEw3NvUL4PIkQ83lKzxldqxA6NODnKAx3F0hWqHAm-TwcgOWpDM2NQmr6ixZkGB82BehSh9xNWyBAuEE6JmfM8L2jq0eqy7DA/s640/RootElementError.png" width="640" /></a></div>
<br />
<br />
<br />
<b>Powershell Error :</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3SukigKryWjzqkK3R8jGtS50uDWSXRXxYDIfKOH8-c04RGX4KRbgv_s29PQ1w9WIA4cYtZ80PgySFgguoVPqaevqDQgm-m-Gi9t8mB5W1_aWe6a9iaKbsBopX71J7afxEU3bQkuuz-6k/s1600/RootElementError+-+Copy.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="144" data-original-width="897" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3SukigKryWjzqkK3R8jGtS50uDWSXRXxYDIfKOH8-c04RGX4KRbgv_s29PQ1w9WIA4cYtZ80PgySFgguoVPqaevqDQgm-m-Gi9t8mB5W1_aWe6a9iaKbsBopX71J7afxEU3bQkuuz-6k/s640/RootElementError+-+Copy.png" width="640" /></a></div>
<br />
<br />
Tried in different ways to fix this, like from changing the schema of my app config file, clearing VS cache , running on new version vs 2019 professional , by referring the new CSOM dlls ,clearing Nuget Package cache and finally formatting windows 10. But none of them helped me out.<br />
<br />
also<br />
<br />
1> The same code worked in other machine<br />
2> The same code working for other online sites from same machine<br />
<br />
I was so confused that, whether it is an issue from my machine or the SharePoint site. I noticed that, the stack trace is clearly showing there is an xml notation issue in SharePoint Client libraries.<br />
<br />
Finally after troubleshooting for days i found that the issue is with my ISP( Internet Service Provider ) /internet settings.<br />
<br />
<b>Resolution :</b><br />
Changing the DNS settings will resolve this issue. Here are the steps.<br />
<br />
Go to Control Panel --> Network and Internet --> Change Adapter Settings --> Select the Network through which you are connecting to Internet<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj6MQDBkYAmXKYoDKZaXi3xVTYOO9BqwVsNaR3jv0LeYGKtfOM-KlcvLSMOhM1bXBRlEmSnKjtpOEgLYgRknjRO97IVaB9EVc4tcqWjB4G-5dBYRg0emnJfHBMlxpt1C51czAZwp9UZb0/s1600/NetworkConnections.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="389" data-original-width="1179" height="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj6MQDBkYAmXKYoDKZaXi3xVTYOO9BqwVsNaR3jv0LeYGKtfOM-KlcvLSMOhM1bXBRlEmSnKjtpOEgLYgRknjRO97IVaB9EVc4tcqWjB4G-5dBYRg0emnJfHBMlxpt1C51czAZwp9UZb0/s640/NetworkConnections.png" width="640" /></a></div>
<br />
<br />
Right click on it and Select Properties. Then select Internet Protocol Version 4 (TCP/IPV4) and select properties<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGM7iBObSf2gc8NNVahnz64MUD6uruupDL-fcKvmrXvsHG6j-0m82Ym4v97a_02vRgSOqyQEGzrqqyDiZESkvScXMTzqQ3D0WxtBt3df5_ZeLMrIolNiJxo5w9txqiqz3ZMpb1uZP13Ic/s1600/IPV4Properties.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="474" data-original-width="361" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGM7iBObSf2gc8NNVahnz64MUD6uruupDL-fcKvmrXvsHG6j-0m82Ym4v97a_02vRgSOqyQEGzrqqyDiZESkvScXMTzqQ3D0WxtBt3df5_ZeLMrIolNiJxo5w9txqiqz3ZMpb1uZP13Ic/s400/IPV4Properties.png" width="303" /></a></div>
<br />
<br />
<br />
Then select the "<b>Use the following DNS Server Addresses</b>" instead obtain DNS server addresses automatically and give the DNS whatever you want. Here i gave the free DNS address which is offered by google.<br />
<br />
Google public DNS addresses : <b>8.8.8.8 and 8.8.8.4 </b><br />
<br />
Then say OK to apply these changes.<br />
<br />
I ran the code again , both csom and powershell worked well without any issues.<br />
<br />
<b>References :</b><br />
<a href="https://www.koskila.net/fixing-security-reasons-dtd-prohibited-xml-document-issue/">https://www.koskila.net/fixing-security-reasons-dtd-prohibited-xml-document-issue/</a><br />
<a href="http://asp.net-hacker.rocks/2016/01/15/XML-parsing-problem-because-of-your-ISP.html">http://asp.net-hacker.rocks/2016/01/15/XML-parsing-problem-because-of-your-ISP.html</a><br />
<a href="https://www.windowscentral.com/how-change-your-pcs-dns-settings-windows-10">https://www.windowscentral.com/how-change-your-pcs-dns-settings-windows-10</a><br />
<br />
Hope this helps somebody.<br />
<br />
Thanks<br />
Purna<br />
<br /></div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com9tag:blogger.com,1999:blog-1890560268449402612.post-19473107565497841102018-09-23T08:51:00.000+05:302018-09-23T20:33:10.831+05:30Customizing SharePoint Online (Office 365) Login Page<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Friends, <o:p></o:p></div>
<div class="MsoNormal">
Here I am going to explain you, how we can customize the
look and feel of login page of a SharePoint online site.<o:p></o:p></div>
<div class="MsoNormal">
Prerequisite to perform this action is , you should have global
admin rights on the tenant.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
As you know the default SharePoint online page looks like below (I
am using personal free trail account, so the login page may look slight different from
the licensed/organizational one). <o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdg3mYRqbD4H6KRPTt3yACKSKnRV5TzOKsva1gPFe9xYA5srEbCJv-swAgGhPwZ6Wae5FV2awgrWXs-nkkw-fEnw7aOwfo9MLm53MvwUC_4ahK_aVfB6-BTR2lzmCt-2lCE4FZdooTxQM/s1600/1.DefaultFreeTrailLoginPage.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="719" data-original-width="1267" height="361" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdg3mYRqbD4H6KRPTt3yACKSKnRV5TzOKsva1gPFe9xYA5srEbCJv-swAgGhPwZ6Wae5FV2awgrWXs-nkkw-fEnw7aOwfo9MLm53MvwUC_4ahK_aVfB6-BTR2lzmCt-2lCE4FZdooTxQM/s640/1.DefaultFreeTrailLoginPage.png" width="640" /></a></div>
<div class="MsoNormal">
<br /></div>
<br />
<br />
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Here are the steps to customize the login page</div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Login to your office365 admin page (<a href="https://admin.microsoft.com/AdminPortal">https://admin.microsoft.com/AdminPortal</a>)
with your admin credentials.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Expand Navigation Menu (>) <span style="font-family: "wingdings"; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span>
Select Admin Centers<span style="font-family: "wingdings"; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span>
Select Azure Active Directory<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCvSF5ytBEilL-XM1gXHsVchWXJfUJkHLYkQE6d7fZSLEg4qn0khqfuDheWCTjOhiY1qU4Q0poARJjlQyP-r_2-Yj586Ug8vLfxs5Znfb_1VBAyb4AFydo92JhS4muIGVm4H6VgHISzUQ/s1600/2.AzureADTab.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="576" data-original-width="1231" height="297" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCvSF5ytBEilL-XM1gXHsVchWXJfUJkHLYkQE6d7fZSLEg4qn0khqfuDheWCTjOhiY1qU4Q0poARJjlQyP-r_2-Yj586Ug8vLfxs5Znfb_1VBAyb4AFydo92JhS4muIGVm4H6VgHISzUQ/s640/2.AzureADTab.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Then it will redirect you to Azure portal (url looks like <a href="https://aad.portal.azure.com/">https://aad.portal.azure.com</a> ), then select
Azure Active Directory from left pane<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Yp-t2n5saG7RMuavl3CxkwQf9XAHkb7uNHMYGM3wxFKTgWqF1YpwbxIYDxgpOZk0SYf8WSix1s5z34Epuj_oH3UD7-k0AcJ-mGtNxjajvGpSCsT2yIhAuzc9hicEoZ6ckJOYfAJO7Vw/s1600/3.AzureADinAzurePortal.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="344" data-original-width="600" height="366" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Yp-t2n5saG7RMuavl3CxkwQf9XAHkb7uNHMYGM3wxFKTgWqF1YpwbxIYDxgpOZk0SYf8WSix1s5z34Epuj_oH3UD7-k0AcJ-mGtNxjajvGpSCsT2yIhAuzc9hicEoZ6ckJOYfAJO7Vw/s640/3.AzureADinAzurePortal.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Select Company Branding --> Select Configure --> You can see a page like below with all options.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHuzCfxn7dKLxWo61HItqc_D2vYjtNszvtZWkH9V_AYxq8JWJym6Bw-vPGZoGDcO6Bt970GBgYRBKToMPoFkPXagAvZr6DLkhkI_hNmpsVx8u5bzoZnyvCI-tb21y95qJr8QSXyklf7nw/s1600/4.ConfigurationPage.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="646" data-original-width="940" height="438" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHuzCfxn7dKLxWo61HItqc_D2vYjtNszvtZWkH9V_AYxq8JWJym6Bw-vPGZoGDcO6Bt970GBgYRBKToMPoFkPXagAvZr6DLkhkI_hNmpsVx8u5bzoZnyvCI-tb21y95qJr8QSXyklf7nw/s640/4.ConfigurationPage.png" width="640" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Fill in the details and upload images as per your company branding requirements. Then you can see the login page like below : ( as i mentioned earlier, as this is a trail version you may see slight difference in the design but the approach is same)</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqGzp5h2xLIhSxurR1GRZ4K8ysoF0Ulv5ruvQ3iDf1KAplCNM3C4DyLCCayw3Cr3pqupQLgwseBu4Xk9KAp_gjAyNjm7pA9Ib9LZZi7zQDYwPnb4VYj0I8CwxOTrhoVk0Wiie7EVvobjs/s1600/5.Output.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="657" data-original-width="1009" height="416" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqGzp5h2xLIhSxurR1GRZ4K8ysoF0Ulv5ruvQ3iDf1KAplCNM3C4DyLCCayw3Cr3pqupQLgwseBu4Xk9KAp_gjAyNjm7pA9Ib9LZZi7zQDYwPnb4VYj0I8CwxOTrhoVk0Wiie7EVvobjs/s640/5.Output.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
Thanks,<br />
Purna</div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0tag:blogger.com,1999:blog-1890560268449402612.post-46140811834015913492017-03-16T07:08:00.001+05:302017-03-16T07:09:51.374+05:30Reasons why Nintex Workflow doesn't start automatically<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="background: white; color: #666666; font-family: "trebuchet ms" , sans-serif; font-size: 10.0pt; line-height: 107%;">Guys,</span></div>
<div class="MsoNormal">
<span style="background: white; color: #666666; font-family: "trebuchet ms" , sans-serif; font-size: 10.0pt; line-height: 107%;"><br /></span></div>
<div class="MsoNormal">
<span style="background: white; color: #666666; font-family: "trebuchet ms" , sans-serif; font-size: 10.0pt; line-height: 107%;">Nintex workflow doesn’t
start automatically because of : <o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l1 level1 lfo1; text-indent: -.25in;">
</div>
<ol style="text-align: left;">
<li> <span style="background: white; color: #666666; font-family: "trebuchet ms" , sans-serif; font-size: 10pt; line-height: 107%; text-indent: -0.25in;">Either
you are running your workflow with “<b>System Account</b>” or</span></li>
<li> <span style="background: white; color: #666666; font-family: "trebuchet ms" , sans-serif; font-size: 10pt; line-height: 107%; text-indent: -0.25in;">In workflow settings "when items are created/modified set to No" like below figure </span></li>
</ol>
<div style="text-align: left; text-indent: -24px;">
<div class="MsoListParagraphCxSpFirst" style="text-align: left; text-indent: -0.25in;">
<span style="text-indent: -0.25in;">·</span><span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal; text-indent: -0.25in;"> </span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2LYZnZrvNP7drE7B85IdknAmJjUz75UH4KYeA-CHnPbV_6YG-ZKiWIumMDaqypJBHY6vXYQzEXUlZIdtcrLJCvYvvBVb5y4cv6IRsGkeIhUbQihv4GyftqBgvk648WWgnGM3GTYqEf5k/s1600/PCMNintexWFSettings.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="372" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2LYZnZrvNP7drE7B85IdknAmJjUz75UH4KYeA-CHnPbV_6YG-ZKiWIumMDaqypJBHY6vXYQzEXUlZIdtcrLJCvYvvBVb5y4cv6IRsGkeIhUbQihv4GyftqBgvk648WWgnGM3GTYqEf5k/s400/PCMNintexWFSettings.png" width="400" /></a></div>
<div class="MsoListParagraph" style="text-align: left; text-indent: -0.25in;">
<span style="text-indent: -0.25in;">·</span><span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal; text-indent: -0.25in;"> </span><span style="color: #666666; font-family: "symbol"; font-size: 10pt; line-height: 107%; text-indent: -0.25in;"><span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><span style="background-color: white; color: #666666; font-family: "trebuchet ms" , sans-serif; font-size: 10pt; text-indent: -0.25in;">To change this setting to Yes --> Go to your workflow --> Ribbon-->Workflow Settings --> Select Yes in the dropdown.</span><!--[if !supportLists]--></div>
<!--[if !supportLists]--><br /></div>
<br /></div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0tag:blogger.com,1999:blog-1890560268449402612.post-79818187310568180732016-09-24T09:05:00.000+05:302016-09-24T09:05:53.067+05:30ListItem.SystemUpdate is available with new csom version 16.1.5626.1200<div dir="ltr" style="text-align: left;" trbidi="on">
Guys,<br />
<br />
Long waiting SystemUpdate() method is available with the release of the new csom version(<span style="background-color: white; color: #231f20; font-family: sc_segoe-ui_semibold, "Segoe UI Semibold", sc_segoe-ui_normal, "Segoe UI", Segoe, Tahoma, Verdana, Arial, sans-serif; font-size: 16px;">16.1.5626.1200</span>).<br />
<br />
Add this csom package using Nuget by searching "Microsoft.SharePointOnline.CSOM" like below<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU5Sg-hdPjyr9rjQGN-jBL4TlrDWTqGc1MpucZQHzUbyCDxhJuq0WeUiNkXN5rvZV8nU8mInhSBC5kHp7l1VIDpap7nmH6MLltRhjCEVNtUAWnSDgc6o_XMQLKF5XNOaJSvl_6IgrqiJk/s1600/LatestCSOMversion.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU5Sg-hdPjyr9rjQGN-jBL4TlrDWTqGc1MpucZQHzUbyCDxhJuq0WeUiNkXN5rvZV8nU8mInhSBC5kHp7l1VIDpap7nmH6MLltRhjCEVNtUAWnSDgc6o_XMQLKF5XNOaJSvl_6IgrqiJk/s640/LatestCSOMversion.png" width="640" /></a></div>
<br />
<br />
Once you refer these latest csom assemblies, You can see SystemUpdate method for the ListItem like this<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5cznj4tsZrDn-IaKcpeYLntQ6NIa52OUkVUMl1FOxuQfbitfaWfPReVvaDk6aBt5h7nHRhjYSNgcL0KrZPwtFof_c21048d9STipulrCr7M1yuIcG9WDD7IT9ZbzZ1kV9cw6KW-ZKv7I/s1600/SystemUpdate.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5cznj4tsZrDn-IaKcpeYLntQ6NIa52OUkVUMl1FOxuQfbitfaWfPReVvaDk6aBt5h7nHRhjYSNgcL0KrZPwtFof_c21048d9STipulrCr7M1yuIcG9WDD7IT9ZbzZ1kV9cw6KW-ZKv7I/s640/SystemUpdate.png" width="640" /></a></div>
<br />
<br />
Refer this link for all other properties and methods released with this new csom version .<br />
<a href="https://dev.office.com/Contents/Item/Display/11116">https://dev.office.com/Contents/Item/Display/11116</a><br />
<br />
<br />
- PURNA<br />
<br /></div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com1tag:blogger.com,1999:blog-1890560268449402612.post-36018667322237320532016-09-22T00:56:00.000+05:302016-09-22T00:57:08.160+05:30Cannot sign in to SharePoint Online using SharePoint Designer 2013 - 403 forbidden403 forbidden403 forbidden403 forbidden403 forbidden <div dir="ltr" style="text-align: left;" trbidi="on">
Hi Guys,<br />
<br />
Recently i have installed Sharepoint Desinger 2013 and tried to connect to SharePoint Online Site. But it dint allow me to login and thrown this below error :<br />
<br />
<b>"403 forbidden403 forbidden403 forbidden403 forbidden403 forbidden "</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_4eF5x0dSowlOSWD5RKkY4O7msnd-i4eZG79oyniQeV_-5t5bWOEsmn7A31Pb3ugvFISgwjp21oZEZD51iCPI-hgIyLQQi90ntBjJpeIg3f__lmpm-Bl0dXarVEdjFHZq103oMPX5qj4/s1600/Designer403.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="276" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_4eF5x0dSowlOSWD5RKkY4O7msnd-i4eZG79oyniQeV_-5t5bWOEsmn7A31Pb3ugvFISgwjp21oZEZD51iCPI-hgIyLQQi90ntBjJpeIg3f__lmpm-Bl0dXarVEdjFHZq103oMPX5qj4/s640/Designer403.png" width="640" /></a></div>
<br />
I am the tenant admin and have all the rights to open site in designer. So there is no issue with the permissions. The only resolution i found is, updating the designer with ServicePack1.<br />
<br />
<span style="font-family: "calibri" , sans-serif; font-size: 14.6667px;">Here are the links for the service Packs.</span><br />
<br />
<div class="MsoNormal">
<u><b>SP1 for 32Bit</b></u>: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=42015">https://www.microsoft.com/en-us/download/details.aspx?id=42015</a><o:p></o:p></div>
<br />
<div class="MsoNormal">
<u><b>SP1 for 64Bit</b></u>: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=42009">https://www.microsoft.com/en-us/download/details.aspx?id=42009</a><o:p></o:p></div>
<br />
Close your designer, install the service pack and re-open it. It works like a charm.!<br />
<br />
Hope this helps some one.<br />
<br />
- PURNA</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com3tag:blogger.com,1999:blog-1890560268449402612.post-37065006178964547742016-02-09T08:39:00.003+05:302016-02-09T08:40:14.171+05:30SP2013 Designer Workflow Error : There was no endpoint listening at net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc that could accept the message<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Guys,<br />
<br />
Recently I got a requirement to work on SharePoint 2013 Designer Workflow. In my server all the required configurations like WF Manager, Service Registration etc is already setup in the server, But when i started publishing the workflow i have got this below error message<br />
<br />
"<b>Microsoft.Workflow.Client.WorkflowCommunicationException: The request was aborted: The request was canceled. Client ActivityId : ba605d9d-e11c-606d-5c6c-4dac94c6c3a1. ---> System.Net.WebException: The request was aborted: The request was canceled. ---> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/SecurityTokenServiceApplication/appsts.svc that could accept the message. This is often caused by an incorrect address or SOAP action.</b>"<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNfeOJz8Wj5U3HHEVnWG2IJRKAt5twj_rxWrjp_sCsExfc-yUGcSt-5CD5D5pSba2x3iRobfjP1EEEp7U3EJ2HEu5QaDgoC4bqLF1QUuvqx7OvE6LNFLfU5t8C29t0gCRpTEZ64r0gLpE/s1600/PCM+WF+ServiceError.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="315" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNfeOJz8Wj5U3HHEVnWG2IJRKAt5twj_rxWrjp_sCsExfc-yUGcSt-5CD5D5pSba2x3iRobfjP1EEEp7U3EJ2HEu5QaDgoC4bqLF1QUuvqx7OvE6LNFLfU5t8C29t0gCRpTEZ64r0gLpE/s640/PCM+WF+ServiceError.png" width="640" /></a></div>
<br />
<br />
I googled it for some time and checked the service application status, logs, "Refresh Trusted Security Token Services Metadata feed timer job" etc etc. But no luck. After spending some (of course hours :) ) i came to know that the below windows service should be running to publish the workflow (some how this is stopped in my machine)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPz0_SDbtJKqBkrjqbo1quVqQs6iLNjqdJdGtDUaxoX6C7lt4EsUXmOqt0b36IF2vq2-fZgxFfPmfZOUhYCvkxrp9AGVF3Xh0DJGKzT1SKmlAyaJtqadJwrn1V-nfnuPyw7Wg-rwxHu1A/s1600/PCM+NetPipe+Service+Start.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPz0_SDbtJKqBkrjqbo1quVqQs6iLNjqdJdGtDUaxoX6C7lt4EsUXmOqt0b36IF2vq2-fZgxFfPmfZOUhYCvkxrp9AGVF3Xh0DJGKzT1SKmlAyaJtqadJwrn1V-nfnuPyw7Wg-rwxHu1A/s640/PCM+NetPipe+Service+Start.png" width="640" /></a></div>
<br />
<br />
<br />
Once start the service, i could successfully publish the designer workflow.<br />
<br />
Thanks<br />
Purna<br />
<br />
<br />
<br />
<br />
<br /></div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0tag:blogger.com,1999:blog-1890560268449402612.post-72303131611811650732015-12-16T17:37:00.000+05:302015-12-16T17:40:14.268+05:30How to upload Images to SharePoint List from another library with OOB feature<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div>
<span style="font-size: 10pt; line-height: 106%;">Guys,</span></div>
<div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 10pt; line-height: 106%;">Recently I
got a small requirement to give an option to the user to select images from
another library in to SharePoint list while adding a new item. Basically the default attach file option of a list item opens you the windows explorer to choose the items.</span></div>
<div class="MsoNormal">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 10pt; line-height: 106%;">Firstly I
thought, I should go for list form customization and a script injection by creating a file upload control and save the selected image in to the item with sp
modal </span><span style="font-size: 13.3333px; line-height: 14.1333px;">dialogue</span><span style="font-size: 10pt; line-height: 106%;"> and the call back options.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;">But later I
found that, this can be achieved using the OOB site column called “Image with
formatting and constraints for publishing”, which is available with the
Publishing Infrastructure Feature. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;">Steps to use
this:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 10.0pt; line-height: 106%; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-size: 10.0pt; line-height: 106%;">Create
a site column called “<b>Image with formatting and constraints for publishing</b>”.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-size: 10.0pt; line-height: 106%;">Site Actions</span><span style="font-family: "wingdings"; font-size: 10.0pt; line-height: 106%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span style="font-size: 10.0pt; line-height: 106%;"> Site Settings</span><span style="font-family: "wingdings"; font-size: 10.0pt; line-height: 106%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span style="font-size: 10.0pt; line-height: 106%;"> Create Site Column </span><span style="font-family: "wingdings"; font-size: 10.0pt; line-height: 106%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span style="font-size: 10.0pt; line-height: 106%;"> Give some name “Product Image” of
type “Image with formatting and constraints for publishing “<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDIwH5CT-VtffbC0kIP7IFvuVpxOh-SuNNHFo3jo8udVFJSBCDuS3gunSyjsmaUxPgEqMqHf6-9BGGZDyFghnDiiqSfvcN2toZYDaaa53fqxpOxjSyce1Kt5BHQVuFjFqzQmCLXXPgiSI/s1600/SiteColumn.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="412" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDIwH5CT-VtffbC0kIP7IFvuVpxOh-SuNNHFo3jo8udVFJSBCDuS3gunSyjsmaUxPgEqMqHf6-9BGGZDyFghnDiiqSfvcN2toZYDaaa53fqxpOxjSyce1Kt5BHQVuFjFqzQmCLXXPgiSI/s640/SiteColumn.png" width="640" /></a></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 10.0pt; line-height: 106%; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-size: 10.0pt; line-height: 106%;">Add
the site column to your list where you want the image upload feature.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="font-size: 10.0pt; line-height: 106%;">List Settings</span><span style="font-family: "wingdings"; font-size: 10.0pt; line-height: 106%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span style="font-size: 10.0pt; line-height: 106%;"> Add from existing site columns </span><span style="font-family: "wingdings"; font-size: 10.0pt; line-height: 106%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span><span style="font-size: 10.0pt; line-height: 106%;"> Select the above created site column
<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast">
</div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: "symbol"; font-size: 10.0pt; line-height: 106%; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><span style="font-size: 10.0pt; line-height: 106%;">In
the New Form you can see this column like this<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8RcQpJVT1JbgzA-HmufeRTkCB87yZCz3jFPUtW1tx7t3ccsRCOsnv0UlOyy7aKnIN4FdFDwadaoYf1Yz1FLUKIB77gjbTdmJGx4qwaT5nyR7ObpNTCR2bNpKAGlAWmAVueQkRYHt6EVk/s1600/PCM_ColumnInNewFormpng.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="299" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8RcQpJVT1JbgzA-HmufeRTkCB87yZCz3jFPUtW1tx7t3ccsRCOsnv0UlOyy7aKnIN4FdFDwadaoYf1Yz1FLUKIB77gjbTdmJGx4qwaT5nyR7ObpNTCR2bNpKAGlAWmAVueQkRYHt6EVk/s640/PCM_ColumnInNewFormpng.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10.0pt; line-height: 106%;"> </span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10.0pt; line-height: 106%;"> </span><span style="font-size: 10pt; line-height: 106%;">On clicking
of the link, it will open a popup to select an image from a library. On click
of browse, it will list all the lists and libraries throughout the site
collection, from where you can choose an image and insert.</span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmkN_wSzdoz-7N5dwR0ztomKzyV4fXrt8lCwTbF73tGJwpJYSrbwHCt680KXE4k8kvvQLK9H-oW_M064OPdjKNoRuX3oDuUbiIymeBaXLb-NxVXG9cg-z2KOcjHG1DyiqqKFrhLjg-LmI/s1600/SelectAsset.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmkN_wSzdoz-7N5dwR0ztomKzyV4fXrt8lCwTbF73tGJwpJYSrbwHCt680KXE4k8kvvQLK9H-oW_M064OPdjKNoRuX3oDuUbiIymeBaXLb-NxVXG9cg-z2KOcjHG1DyiqqKFrhLjg-LmI/s640/SelectAsset.png" width="640" /></a></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;">Once you say
insert, it will ask you to provide other properties like size, layout,
alternate text etc. like below<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihXq0l2Ds4wGteKwWz-KjUmqAnD89EHqIa5L1kdbGBV2OH406a0aPy3X4iO5xiDg48JCoBffRSKQj6HsnFhGCh22VOzynqgSmt3BOmZgQQQnoOCpUKOIhslrnXJKL-I_ZIyO4_gBdeakM/s1600/ImageWithProp.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="512" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihXq0l2Ds4wGteKwWz-KjUmqAnD89EHqIa5L1kdbGBV2OH406a0aPy3X4iO5xiDg48JCoBffRSKQj6HsnFhGCh22VOzynqgSmt3BOmZgQQQnoOCpUKOIhslrnXJKL-I_ZIyO4_gBdeakM/s640/ImageWithProp.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;">It will
added to your list item like this<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrf2NIL7WsK8la7P2EIOa39osYIAyvIDdmwZrS6vZfCP8u3vX51sCd0bCClRrpDdMJqQ8VqGXcMtTJhN3MzxDp39-mtEKJQANxnji-9k8NjK21sLeYQLZKiHTrnlh_Tva-ObzC2WN4lg0/s1600/Image+In+List+Item.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="305" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrf2NIL7WsK8la7P2EIOa39osYIAyvIDdmwZrS6vZfCP8u3vX51sCd0bCClRrpDdMJqQ8VqGXcMtTJhN3MzxDp39-mtEKJQANxnji-9k8NjK21sLeYQLZKiHTrnlh_Tva-ObzC2WN4lg0/s640/Image+In+List+Item.png" width="640" /></a></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10pt; line-height: 106%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 10pt; line-height: 106%;">In Edit
form, on selection of Image it will highlight the </span><span style="font-size: 13.3333px; line-height: 14.1333px;">respective</span><span style="font-size: 10pt; line-height: 106%;"> ribbon options to update the
image.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;">Really this
saves lot of time in developing a custom feature to upload image in new and edit forms…<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
</div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;">Hope this
helps…!!!!</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 10.0pt; line-height: 106%;"><br /></span></div>
</div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com2tag:blogger.com,1999:blog-1890560268449402612.post-84930028868297357402015-11-16T15:22:00.000+05:302015-11-30T09:29:39.428+05:30Bulk Check-In the files in SharePoint with OOB feature<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Guys,<br />
<br />
Recently i have noticed an oob feature to bulk check-in the files from the SharePoint Site Actions page.. sharing the same with you in this post...<br />
<br />
Here are the steps ..<br />
<br />
Go to Site Actions<span style="font-family: "wingdings";">à</span>Site
Settings <span style="font-family: "wingdings";">à</span>Select "Content and Structure" under Site Administration group and then Change the view to “Checked Out to Me” as shown below<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkE54Q9E5ig4Zfl3xoNTUas7-eSuAEvmEz8hhBVrEEUAA5l-67EX3d_LezhGjwyC-RbKHFxmhSeFCnkYViyGyoiTrYkouAthf_9ifVc1KI0Ep7in8MRPjMGoHTMRGkORRnnMMmKWcmvuA/s1600/CheckedOuttoMe2013.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="195" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkE54Q9E5ig4Zfl3xoNTUas7-eSuAEvmEz8hhBVrEEUAA5l-67EX3d_LezhGjwyC-RbKHFxmhSeFCnkYViyGyoiTrYkouAthf_9ifVc1KI0Ep7in8MRPjMGoHTMRGkORRnnMMmKWcmvuA/s400/CheckedOuttoMe2013.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
You can see all the files which are check out by you in the
website.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Select all and say “Check In” from Actions Menu as shown
below.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6kbLhvtU1MCgdYWWs8nqpOMjOE7QqKOMYOx08Pt-N_qpa4tBp36adDh8950PSpvIG07BtnnxTaaj7GwGZM8OsgvBdGS9mbo4iecibEgsMjBvU9IH6nsAME35ZlLoTrjsnh9UMXTRWpJg/s1600/bulkcheckin2013.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="261" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6kbLhvtU1MCgdYWWs8nqpOMjOE7QqKOMYOx08Pt-N_qpa4tBp36adDh8950PSpvIG07BtnnxTaaj7GwGZM8OsgvBdGS9mbo4iecibEgsMjBvU9IH6nsAME35ZlLoTrjsnh9UMXTRWpJg/s400/bulkcheckin2013.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="MsoNormal">
If you notice the context menu of the view tab, you have multiple options like "My Tasks","Last Modified by Me" etc..( see the below screen shot for the options )</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7r3Ov2NZB2-fmdTeIPyiHK8_HWVw5v-xRSwoxqusGXZeHGxg3HD9ng-PCRAQ21nDU1T_u7ezE-UK9C-jd4Fh9Oudmee5QXo232wwo4SSp1FoaQDMi4GFOwtI034m7QNcLNkoJILpQ-Mc/s1600/CandSOptions.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7r3Ov2NZB2-fmdTeIPyiHK8_HWVw5v-xRSwoxqusGXZeHGxg3HD9ng-PCRAQ21nDU1T_u7ezE-UK9C-jd4Fh9Oudmee5QXo232wwo4SSp1FoaQDMi4GFOwtI034m7QNcLNkoJILpQ-Mc/s400/CandSOptions.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
This feature is available with SharePoint 2007 (Moss) too..</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Thanks</div>
<div class="MsoNormal">
Purna</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<o:p></o:p></div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0tag:blogger.com,1999:blog-1890560268449402612.post-44340734692296674422015-10-09T14:50:00.001+05:302015-10-12T14:01:00.842+05:30Can not find Microsoft.Office.SecureStoreService.dll in SharePoint 2013<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Guys,<br />
<br />
Recently I came across with a requirement to access the Secure Store Service Token in one of my project modules. As part of this , I have searched for the <i>securestoreservice </i>dll in 15/ISAPI folder but could not find it there.<br />
<br />
I came to know that, the location of this dll is changed in Sharepoint 2013 server as the GAC location of asp.net 4 has changed.<br />
<br />
Here is the path where you can find this:<br />
<br />
<i><b>C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Office.SecureStoreService\v4.0_15.0.0.0__71e9bce111e9429c</b></i><br />
<br />
Hope this helps someone..<br />
<br />
Thanks,<br />
Purna</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com1tag:blogger.com,1999:blog-1890560268449402612.post-4302859542128479812015-09-13T19:48:00.000+05:302015-10-15T12:03:55.998+05:30Sharepoint App is now SharePoint Add-in - Microsoft update for SharePoint and Office App Names<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;">Guys,</span></div>
<div class="MsoNormal">
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><br /></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;">I came across through an msdn blog and surprisingly noticed that the "SharePoint App" names is being changed to "Add-in". Did you notice this.?</span></div>
<div class="MsoNormal">
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><br /></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;">Here is the update :</span></div>
<div class="MsoNormal">
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><br /></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><br /></span></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; border: none; mso-border-alt: solid #BBBBBB .75pt; mso-yfti-tbllook: 1184; width: 720px;">
<tbody>
<tr>
<td style="border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" width="248"><div class="MsoNormal">
<b><span style="background: white; font-size: 12pt;">Original name<o:p></o:p></span></b></div>
</td>
<td style="border-left: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" width="236"><div class="MsoNormal">
<b><span style="background: white; font-size: 12pt;">New name<o:p></o:p></span></b></div>
</td>
<td style="border-left: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" width="236"><div class="MsoNormal">
<b><span style="background: white; font-size: 12pt;">Applies to<o:p></o:p></span></b></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">apps for Office<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office Add-ins<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">mail app for Outlook<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Outlook Add-in<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">app for Excel<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Excel Add-in<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">app for PowerPoint<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">PowerPoint Add-in<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">app for Word<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Word Add-in<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office App Model<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office Add-in Model<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">Office<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">apps for SharePoint<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">SharePoint Add-ins<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">SharePoint<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">SharePoint App Model<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">SharePoint Add-in Model<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">SharePoint<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">app part<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">add-in part<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">SharePoint<o:p></o:p></span></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid #BBBBBB 1.0pt; mso-border-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 148.55pt;" valign="top" width="248"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">app web<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">add-in web<o:p></o:p></span></div>
</td>
<td style="border-bottom: solid #BBBBBB 1.0pt; border-left: none; border-right: solid #BBBBBB 1.0pt; border-top: none; mso-border-alt: solid #BBBBBB .75pt; mso-border-left-alt: solid #BBBBBB .75pt; mso-border-top-alt: solid #BBBBBB .75pt; padding: 7.5pt 6.0pt 7.5pt 6.0pt; width: 5.0cm;" valign="top" width="236"><div class="MsoNormal">
<span style="background: white; font-size: 12pt;">SharePoint<o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal">
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><br /></span>
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><br /></span>
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;">In msdn, the posts related to apps (now add-in) shows this name change notification :</span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><br /></span>
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><img alt="" height="79" src="data:image/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REjLtkY0RERERERIy7ZGNERERERESMu2RjREREREREjLtkY0RERERERIy7ZGNERERERESMu2RjREREREREjLtHl40BAAAAAAAATixHkY0RERERERER/9KSjRERERERETHuko0REREREREx7pKNERERERERMe6SjRERERERETHuko0REREREREx7pKNERERERERMe6SjRERERERETHuko0REREREREx7pKNERERERERMe6SjRERERERETHuko0REREREREx7pKNERERERERMe6SjRERERERETHuko0REREREREx7pKNERERERERMe6SjRERERERETHuko0REREREREx7pKNERERERERMe6SjRERERERETHuko0REREREREx7pKNERERERERMe6SjRERERERETHuko0REREREREx7pKNERERERERMe6SjRERERERETHuko0REREREREx7vbPxgAAAAAAAABxgGwMAAAAAAAAcYdsDAAAAAAAAHGHbAwAAAAAAABx5/8DV3AAlCCW8AIAAAAASUVORK5CYII=" width="640" /></span><br />
<span style="background-color: white; font-family: Calibri, sans-serif; font-size: 16px; line-height: 17.12px;"><br /></span></div>
<div class="MsoNormal">
Refer this msdn link for more details :</div>
<div class="MsoNormal">
<a href="https://msdn.microsoft.com/en-us/library/office/fp161507.aspx#bk_newname">https://msdn.microsoft.com/en-us/library/office/fp161507.aspx#bk_newname</a></div>
<div class="MsoNormal">
<br /></div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com2tag:blogger.com,1999:blog-1890560268449402612.post-81265174681681615162015-08-23T09:51:00.000+05:302015-11-19T15:13:36.797+05:30How to get all the installed apps in a sharepoint online site programatically<div dir="ltr" style="text-align: left;" trbidi="on">
Hello guys,<br />
<br />
Here I am writing a small post on how to get the apps from a SharePoint Online site. The property "Status" of the AppInstance class tells us the app's status like whether it is installed/uninstalling/disabled etc..<br />
<br />
Here I took a console app with managed CSOM code.<br />
<br />
<ol style="background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px 0px 0px 48px;">
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
string siteUrl = "https://msplab.sharepoint.com/sites/SPOLPUB/"; </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
string username = "purna@msplab.onmicrosoft.com"; </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
string password = "mspcloud"; </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
// Ref: Microsoft.SharePoint.Client</div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ClientContext ctx = new ClientContext(siteUrl); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
// Ref :System.Security</div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
SecureString encryptedSecureString = new SecureString();</div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
password.ToList().ForEach(encryptedSecureString.AppendChar); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctx.Credentials = new SharePointOnlineCredentials(username, encryptedSecureString); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
// Ref: Microsoft.SharePoint.Client </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Site site = ctx.Site; </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctx.Load(site); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctx.ExecuteQuery(); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Successfully Connected to Site "+site.Url); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Loading Web.. "); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Web web = ctx.Web; </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctx.Load(web, w => w.Url); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctx.ExecuteQuery(); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Web Loaded.." + web.Url); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Getting AppInstance Collection ..."); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
//CRC is from CC, so typecasting from cc </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ClientRuntimeContext ctxRuntime = (ClientContext)web.Context;</div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
//Getting appinstances from appcatalog with webcontext </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ClientObjectCollection appInstanceCollection =AppCatalog.GetAppInstances(ctxRuntime, web);</div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctxRuntime.Load(appInstanceCollection); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctxRuntime.ExecuteQuery(); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
</div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Got AppInstance Collection..."); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
foreach (AppInstance appinstance in appInstanceCollection) </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
{ </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctxRuntime.Load(appinstance); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
ctxRuntime.ExecuteQuery(); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("==================Retrieving App Details ================="); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("App Title: " + appinstance.Title); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Principle Id: " + appinstance.AppPrincipalId); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Web Url: " + appinstance.AppWebFullUrl); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Start Page: " + appinstance.StartPage); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Installation Status: " + appinstance.Status); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Remote App Url: " + appinstance.RemoteAppUrl); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Settings Page: " + appinstance.SettingsPageUrl); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Error Details: " + appinstance.GetErrorDetails()); </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("==================Completed App Details =================");</div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
} </div>
</li>
<li class="li2" style="-webkit-user-select: none;"><div class="de2" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.WriteLine("Completed..."); </div>
</li>
<li class="li1" style="-webkit-user-select: none;"><div class="de1" style="-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;">
Console.ReadLine();</div>
</li>
</ol>
<br />
<br />
<br />
Here is the output :<br />
<br />
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggFSih1sdVzyOK0VVY-A8haxSGmXv42pf_N8J4TsHxyXrZR1wf7J0zyp7tkMb89qDpTn6azOo9OkJr621sRlHz1xO0JJk62nlerd0PPZXHpeUfQ9JqD6rszbBDY96vCVZQWD2QrT5eSh0/s1600/GetAppDetails.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggFSih1sdVzyOK0VVY-A8haxSGmXv42pf_N8J4TsHxyXrZR1wf7J0zyp7tkMb89qDpTn6azOo9OkJr621sRlHz1xO0JJk62nlerd0PPZXHpeUfQ9JqD6rszbBDY96vCVZQWD2QrT5eSh0/s640/GetAppDetails.png" width="640" /></a></div>
<br />
<br />
If you observe the above code, we have created a object called appInstanceCollection for the ClientObjectCollection class. It needs ClientRuntimeContext and the web.<br />
<br />
The ClientRuntimeContext represents the runtime context for accessing data from remote objects and invoking methods on remote objects. This can be safely typecasted from ClientContext class as shown above.<br />
<br />
Note : In the new version of the CSOM dll you can find a new method called "GetAppDetails()" from the APPcatalog class. Please refer this <a href="http://blogs.msdn.com/b/vesku/archive/2015/04/10/new-sharepoint-csom-version-released-for-office-365.aspx" target="_blank">link</a>.<br />
<br />
Hope this helps,<br />
<br />
-Purna<br />
<br /></div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com1tag:blogger.com,1999:blog-1890560268449402612.post-72490436852695016162015-08-18T03:00:00.000+05:302015-08-18T14:13:02.063+05:30Step by Step Guide to Create Provider Hosted App in Sharepoint 2013 Online with Azure Hosting Model- Part 1<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
Hello Guys,<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;">In this post I am going to explain you how to develop and
publish a SharePoint Provider Hosted app in Online. Here I am using Azure Hosting
(low trust or ACS) model to publish the app.<o:p></o:p></span></div>
<br />
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;">In this post, I am mainly focusing the hands-on steps with
very high level information. This is a very big post with 4 parts..</span><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="MsoNormal">
These are the steps involved in building and hosting a
provider hosted app in azure.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]-->Creating website in windows azure<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]-->Downloading the azure profile<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]-->Developing SharePoint provider hosted app in
visual studio<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]-->Generating Client Id and Client Secret in
Sharepoint online Site<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]-->Publishing the appwebsite in to azure<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]-->Publishing/Uploading the app in SharePoint online appcatalog<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;">·<span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]-->Install and Run the App.</div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<br /></div>
<h3 style="text-align: left;">
<b><span style="color: blue;">Creating website in azure:</span></b></h3>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
Login to azure portal with the Microsoft account and create
the azure website from the <a href="https://manage.windowsazure.com/">azure
management portal</a>. Like below<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Go to azure management portal, Click on Websites in the left
pane<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_ygZ9q1-_ZE23waV8VClSOKAZ8uudZBHS15n9EcCPqBGujN8iPeZugoMDSFA9ZcET-JpvyoZ63YzXTMu9QC_Q5q2T2UWlVcIZY8Q39lGuCMrxORgSt8tfeu1huw8o1VBgVR8g21b8jPg/s1600/1.Azureportal.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="419" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_ygZ9q1-_ZE23waV8VClSOKAZ8uudZBHS15n9EcCPqBGujN8iPeZugoMDSFA9ZcET-JpvyoZ63YzXTMu9QC_Q5q2T2UWlVcIZY8Q39lGuCMrxORgSt8tfeu1huw8o1VBgVR8g21b8jPg/s640/1.Azureportal.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Click on “New” link in the bottom left. Then select Compute<span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span> Web App<span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span>Quick Create<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Give the url which you want to refer your azure website.
Here I am giving it as “moresharepoints.azurewebsites.net”<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Select the service plan (make default if you don’t have any
subscription)<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfpZy1BiMQJIPRYlar07o_APq8aQqcH3WmfjeBqIwOv6E2Yd1RTMlosQXBbhej8v1UVDMo9m8jwvZfJpybnqj60w1PTY9Ab1UaJywcCYk4YmlvzMG0s9vwSnMuf7MBeduUl8yBwjrfBTw/s1600/2.Azureportal.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfpZy1BiMQJIPRYlar07o_APq8aQqcH3WmfjeBqIwOv6E2Yd1RTMlosQXBbhej8v1UVDMo9m8jwvZfJpybnqj60w1PTY9Ab1UaJywcCYk4YmlvzMG0s9vwSnMuf7MBeduUl8yBwjrfBTw/s640/2.Azureportal.PNG" width="640" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Then Click Create Web App link in the down. It will create a
webapp with the provided url.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCy9G9P0ulkQ-MQswPGYGuqiTP5BnPgyfbamdQmg2ljFELQI_5dAZf8jodtyxvvHsTvn6S7uk4XoDbqa0vZZLjxw3qTxHaFbQzkxHVVSGMmPXq1qAqo0x2f6k85-ejO1a38qI3UEd-QKI/s1600/3.Azureportal.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCy9G9P0ulkQ-MQswPGYGuqiTP5BnPgyfbamdQmg2ljFELQI_5dAZf8jodtyxvvHsTvn6S7uk4XoDbqa0vZZLjxw3qTxHaFbQzkxHVVSGMmPXq1qAqo0x2f6k85-ejO1a38qI3UEd-QKI/s640/3.Azureportal.PNG" width="640" /></a></div>
<div class="MsoNormal">
Click on the URL (moresharepoints.azurewebsites.net), it
should show like this.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1ibOgUg-KIgAncySZS4ZSX9U3zuYhHkNCIAxjybyUGlBswJZ0x8XG7fRpWsgANKTIxGu8rX-pju6Oxa_o4zIP6cZv9vwP2XdjYLdDKuGBT7fTK1AJtGvqoRAgY4fvC3a4g6DDpJZkBSg/s1600/4.Azureportal.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="492" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1ibOgUg-KIgAncySZS4ZSX9U3zuYhHkNCIAxjybyUGlBswJZ0x8XG7fRpWsgANKTIxGu8rX-pju6Oxa_o4zIP6cZv9vwP2XdjYLdDKuGBT7fTK1AJtGvqoRAgY4fvC3a4g6DDpJZkBSg/s640/4.Azureportal.PNG" width="640" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Now we are ready with the azure website. In next steps in
this post, we will publish our sharepoint app web on to this website.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
To publish the appwebsite on to this azure website, we have
to use the profile of this website while publishing. So download the profile
and save it to your desktop. We will use it in our next steps. How to
download..? See below<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<h3 style="text-align: left;">
<b><span style="color: blue;">Download the azure
profile:</span></b></h3>
<div class="MsoNormal">
Go to azure management portal and click on the Website Name.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKQgxM2VkeDEolHr9OT8uafCHnGpeuoBwv3SzcM9XpMNRj18H2z8b8v_g-IZydqP-AJHtb4g0NDLGnWVnp2yK9rF2tTSfH_oemb_D9_c6ExaqzlVJI7UNU0gUvZIsJTw2PN8GRZLagn_o/s1600/5.Azureportal.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKQgxM2VkeDEolHr9OT8uafCHnGpeuoBwv3SzcM9XpMNRj18H2z8b8v_g-IZydqP-AJHtb4g0NDLGnWVnp2yK9rF2tTSfH_oemb_D9_c6ExaqzlVJI7UNU0gUvZIsJTw2PN8GRZLagn_o/s400/5.Azureportal.PNG" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
And download the publish profile. Save it to your desktop or
some folder in your system.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA6TG6xAOBEnXoSqk06DLIg_1gYY_ATM8-DEtRR-kxAMAA7OMt2T18un4NUXTxmyriEj4-WyMbxy5_ZJNhgJ-PLc54-B2TbtovediYMtKShlRS2XhziNBMVRBC62RRVhfRbL7_jHRLNVo/s1600/6.Azureportal.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="167" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA6TG6xAOBEnXoSqk06DLIg_1gYY_ATM8-DEtRR-kxAMAA7OMt2T18un4NUXTxmyriEj4-WyMbxy5_ZJNhgJ-PLc54-B2TbtovediYMtKShlRS2XhziNBMVRBC62RRVhfRbL7_jHRLNVo/s400/6.Azureportal.PNG" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The profile would have extension “.publishsettings”(in my
case this is the profile : “moresharepoints.azurewebsites.net.PublishSettings”.)<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
With this the azure website and its profile creation is
done.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Now let’s go and create the SharePoint Provider Hosted app. Follow next post for the continuation...<o:p></o:p><br />
<br />
<i style="background-color: white; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: x-large;"><u><span style="color: orange;"><a href="http://moresharepoints.blogspot.in/2015/08/step-by-step-guide-to-create-provider_18.html" target="_blank">Refer Part2 for the continuation..</a></span></u></i></div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com2tag:blogger.com,1999:blog-1890560268449402612.post-65262311248171961512015-08-18T02:30:00.000+05:302015-08-18T14:12:52.689+05:30Step by Step Guide to Create Provider Hosted App in Sharepoint 2013 Online with Azure Hosting Model- Part 2<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
This is a continuation to my previous post.<a href="http://moresharepoints.blogspot.in/2015/08/step-by-step-guide-to-create-provider.html" target="_blank"><i><span style="color: orange;">Step by Step Guide to Create Provider Hosted App in Sharepoint 2013 Online with Azure Hosting Model- Part 1</span></i></a><br />
<b><span style="color: blue;"><br /></span></b>
<br />
<h3 style="text-align: left;">
<b><span style="color: blue;">Developing SharePoint
provider hosted app in visual studio:</span></b></h3>
<br />
<b><span style="color: blue;"><br /></span></b>
<br />
<div class="MsoNormal">
Open visual studio (in my case 2013)<span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span> New<span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span> Project <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span>Click on
Office/Sharepoint Templates <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span>
App<span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span> </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
then select the “App
for SharePoint” template. Give the name as “MSPProviderHostedDemo”.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsRIooEuZLbt6SgGDi33pY_z2fJvLDK8rqrJsemsaP20QpVzURAskYq1a7Gq858-yVb0eoVluMRPNLbGDkiHFbXYaJO472ynvYQ7cEfpx2WTI6mD_wmYCMML363N2xjiPmsxpi44tmenY/s1600/7.VS+App+Template.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsRIooEuZLbt6SgGDi33pY_z2fJvLDK8rqrJsemsaP20QpVzURAskYq1a7Gq858-yVb0eoVluMRPNLbGDkiHFbXYaJO472ynvYQ7cEfpx2WTI6mD_wmYCMML363N2xjiPmsxpi44tmenY/s400/7.VS+App+Template.PNG" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Give the url of your sharepoint site. (Here I am giving my
sharepoint online site url).<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And select the option Provider Hosted as we are dealing with
provider hosted in this demo.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm2kKG9LlE2mssGRoTf3CcmXEgLCkFZFoYjgV7sr0HxLv-CD71fkL4h2EhbPa8qYVUmIvwJnTOICSQC3jdLuV6MksoP8XZRhOVpw5FpLvIS6AhUnzU_wqqr0B6XXsJ5r82VyVTqqlhBKI/s1600/8.VS+SP+Url.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm2kKG9LlE2mssGRoTf3CcmXEgLCkFZFoYjgV7sr0HxLv-CD71fkL4h2EhbPa8qYVUmIvwJnTOICSQC3jdLuV6MksoP8XZRhOVpw5FpLvIS6AhUnzU_wqqr0B6XXsJ5r82VyVTqqlhBKI/s400/8.VS+SP+Url.PNG" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Say next, and select the SharePoint Online as the target<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY72Wi56qHXu6Mx5tBKH-h7Y4KglhjbKB4skCr3amK5Ufg3qtcDGuh3oj9serslnhpISF61ZZe_LEvJzFtXhyOdjZFEqEVSTqiNdJSOenu81xvYIyeoNa1klRWv9VWyWwUeWC1rhPyAyU/s1600/9.VS+SPOL+selection.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY72Wi56qHXu6Mx5tBKH-h7Y4KglhjbKB4skCr3amK5Ufg3qtcDGuh3oj9serslnhpISF61ZZe_LEvJzFtXhyOdjZFEqEVSTqiNdJSOenu81xvYIyeoNa1klRWv9VWyWwUeWC1rhPyAyU/s400/9.VS+SPOL+selection.PNG" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Say Next. In next
screen elect Aspnet/mvc. Here iam going with asp.net web forms appn for this
demo.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In Next screen, this is something important to know. See the
below screen.</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQcq1UWqwxNwMMH0YqKIpdEd2CnFy06QE509jGZcM0rX20Oc-PFfSa0qc95nWA5YLY4gSttIz09Yx9ObF65tgszSJxpx33-ie-pTUlBgAKqjsF6LLj42obuL6qHMwbd-4pxCgQPKuOtFI/s1600/10.ACSvsS2S.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="459" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQcq1UWqwxNwMMH0YqKIpdEd2CnFy06QE509jGZcM0rX20Oc-PFfSa0qc95nWA5YLY4gSttIz09Yx9ObF65tgszSJxpx33-ie-pTUlBgAKqjsF6LLj42obuL6qHMwbd-4pxCgQPKuOtFI/s640/10.ACSvsS2S.PNG" width="640" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Here we have two options to authenticate our app with the
site.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
</div>
<ul style="text-align: left;">
<li><span style="font-size: 7pt; font-stretch: normal; text-indent: -18pt;"> </span><span style="text-indent: -18pt;"><b>Windows Azure Access Control Service </b>– This is
also called as ACS or low trust hosting type. Basically this will be used when
the appwebsite is hosted in azure. In our case we will be using this.</span></li>
</ul>
<ul style="text-align: left;">
<li><span style="font-size: 7pt; font-stretch: normal; text-indent: -18pt;"> </span><span style="text-indent: -18pt;"><b>Use a Certificate</b> – This is also called as High Trust/
Server to server authentication model. Here the appwebsite is hosted on to a
IIS website in a server instead in azure. The handshake between the app and the
website is done by the certificate.</span></li>
</ul>
<o:p></o:p><br />
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
Say Finish. For more details, refer
authentication and hosting techniques from msdn.</div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
So now our solution structure
will be like this. It contains two projects. AppProject and AppWebProject like
below.<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8AVen0e-kpT7JHBJQg_qvYbL4YhgX7QM3CL4-RWRG__RgA0dRd-0Sj3drGTPKlOOV1kfY1k8UeKgg8DTuSQiGARP5RyiafRkVfwXqNnZlYlbPFZ16Y69dQQAaQp1nCUsdHjoApGc_PKA/s1600/11.SolutionStructure.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8AVen0e-kpT7JHBJQg_qvYbL4YhgX7QM3CL4-RWRG__RgA0dRd-0Sj3drGTPKlOOV1kfY1k8UeKgg8DTuSQiGARP5RyiafRkVfwXqNnZlYlbPFZ16Y69dQQAaQp1nCUsdHjoApGc_PKA/s400/11.SolutionStructure.png" width="256" /></a></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Once you build the AppProject, itwill give the .app
file(like .wsp for our sp solutions). We will publish this file to sharepoint
site.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The appwebproject , we will deploy/host/publish this
appwebproject to azure website.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
We are ready with the solution.. Lets write a simple code for the app and web ..follow next post for the continuation...<br />
<br />
<i style="color: orange; font-size: x-large;"><u><a href="http://moresharepoints.blogspot.in/2015/08/step-by-step-guide-to-create-provider_73.html" target="_blank">Refer Part3 for the continuation..</a></u></i></div>
<div class="MsoNormal">
<br /></div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com7tag:blogger.com,1999:blog-1890560268449402612.post-67285889564699636062015-08-18T02:00:00.000+05:302015-08-18T14:12:37.659+05:30Step by Step Guide to Create Provider Hosted App in Sharepoint 2013 Online with Azure Hosting Model- Part 3<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
This is a continuation to my previous post<span style="color: #8e7cc3;">.</span><a href="http://moresharepoints.blogspot.in/2015/08/step-by-step-guide-to-create-provider_18.html" target="_blank"><i><span style="color: orange;">Step by Step Guide to Create Provider Hosted App in Sharepoint 2013 Online with Azure Hosting Model- Part 2</span></i></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Now let’s write the business logic which you required. Here
Just I am placing some div with text in default.aspx.</div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT0UVWBNcdx63QknJfH9urMJs5whyphenhyphen-hXwN4M93Ro5yvNBng82x4lCf1YVpME4LSmfjqxCRAH_bTRHFIOJobVDwmc0-PwGjStfGmqxpUKvQEd0S9JVcQ9IrZpDgndFscbSalwcO2HXMZMU/s1600/defaultaspx.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="108" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT0UVWBNcdx63QknJfH9urMJs5whyphenhyphen-hXwN4M93Ro5yvNBng82x4lCf1YVpME4LSmfjqxCRAH_bTRHFIOJobVDwmc0-PwGjStfGmqxpUKvQEd0S9JVcQ9IrZpDgndFscbSalwcO2HXMZMU/s400/defaultaspx.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Next step is we need to register the client id and client
secret in sharepoint site and use them in our app. (What is this Client id and
Client secret??- Big Question<span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">J</span>,)</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
But I am not going to write details about it in this post…<span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">L</span> ). Let’s concentrate
on the steps to generate…</div>
<div class="MsoNormal">
<b><span style="color: blue;"><br /></span></b></div>
<h3 style="text-align: left;">
<b><span style="color: blue;">Generating Client Id and Client Secret in Sharepoint Online Site:</span></b></h3>
<div>
<br /></div>
<div>
Go to the _layouts/15/appregnew.aspx page in your SharePoint site and generate client id, client secret and give the details as shown in following screen.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEXyos4s5JgKSsWPMjkUxyW_KKnLEbtXZ5ShC4JePcjyRadG27juuTvFku_SF47sC_1ja_on9bFvSK0InyQ0DGEWD0xOJtT8lXEgry0L2qr9zgkfRaHWrRJsEpoL5uudL6tKgtJuxKk_s/s1600/12.CICSGeneration.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="380" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEXyos4s5JgKSsWPMjkUxyW_KKnLEbtXZ5ShC4JePcjyRadG27juuTvFku_SF47sC_1ja_on9bFvSK0InyQ0DGEWD0xOJtT8lXEgry0L2qr9zgkfRaHWrRJsEpoL5uudL6tKgtJuxKk_s/s640/12.CICSGeneration.PNG" width="640" /></a></div>
<div>
<br /></div>
<div>
<br />
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<b>Title</b>: MSPDemoProviderApp<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<b>AppDomain</b> : Give the domain of the azure website(don’t provide
http/https). In our case, it is<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
moresharepoints.azurewebsites.net<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
</div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<b>Redirect Url :</b> Give the url of the azure web page where your app
need to redirect/land.</div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<a href="https://moresharepoints.azurewebsites.net/pages/default.aspx">https://moresharepoints.azurewebsites.net/pages/default.aspx</a><o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
The reason to give above url is,
we are hosting appwebproject in to azure website. So our page default.aspx is
placed in to azure site. Here we are saying the app that, go/redirect to
default.aspx page in azure website upon its click.<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
Say Create. And save the
information in to note pad.<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiANZ2arolABSXnZI_jNE4B8RW71nWxpa-twtxVOqmgm7AeLziFz1DUlC_9M1KtKASOO8DuaWIyrSJfVGKJq_isdzIidB-O-z1qlky8M5PLCpEeC2tBIqhMah7v2lSS4xH4VAjuRChiQo/s1600/13.AppDet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiANZ2arolABSXnZI_jNE4B8RW71nWxpa-twtxVOqmgm7AeLziFz1DUlC_9M1KtKASOO8DuaWIyrSJfVGKJq_isdzIidB-O-z1qlky8M5PLCpEeC2tBIqhMah7v2lSS4xH4VAjuRChiQo/s400/13.AppDet.png" width="400" /></a></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<o:p><br /></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
Now we are ready with client id,
client secret etc. We will use this information in our appsolution.<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
</div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
Go to</div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<b>AppManifest.xml</b> in AppProject(MSPProviderHostedDemo), set the
required settings Title, Version , Start Page etc.. like below.<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoW3KyP55ngbZj2ma8kfC4TecmTkoJOZ8Ck5sJZ8s9jBTuUEwIsP5YsHARdkFvXdo1w4JApO_3Qphxnf5Z-GnBISQ5oEXdqO8ZqDeOD9Ud1K8-LJ1kqnLSi-ImgzjDEf8aCdM9kP2VAhc/s1600/14.AppManifest.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="221" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoW3KyP55ngbZj2ma8kfC4TecmTkoJOZ8Ck5sJZ8s9jBTuUEwIsP5YsHARdkFvXdo1w4JApO_3Qphxnf5Z-GnBISQ5oEXdqO8ZqDeOD9Ud1K8-LJ1kqnLSi-ImgzjDEf8aCdM9kP2VAhc/s400/14.AppManifest.png" width="400" /></a></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<b>Permissions</b>: Here I am setting
Web : Full Control. Anyhow we are not dealing with any sharepoint functionality
here.. But just to show you the app permissions tab, here I am giving this.<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBwEhPfF1znPWOsgJMRxGpHlpb5XS4bUVdl_Ku5Ntm8-dMsFeNC6WmhTCWMw4H0sYomVQDtqnQSLH5PRwIAmeCMO9saUTs6tVGIGs7J_WPCxDclAJLuqsyFK-z6-eDKf_kPIJ6YpQVIYY/s1600/AppPermissions.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBwEhPfF1znPWOsgJMRxGpHlpb5XS4bUVdl_Ku5Ntm8-dMsFeNC6WmhTCWMw4H0sYomVQDtqnQSLH5PRwIAmeCMO9saUTs6tVGIGs7J_WPCxDclAJLuqsyFK-z6-eDKf_kPIJ6YpQVIYY/s400/AppPermissions.png" width="400" /></a></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
Now Right Click on AppManifest
file and say view code.<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
</div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
Replace the Clinet Id * with the
above generated client id. Like this.<o:p></o:p></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW62U86mKls9idqPHFAbxM4ZlWuXyqFr0hmzM_W0o_4K-MSFB_uQsXks7cA3lnqcK2ReCrVMBjSbZ0DwdDfJRveOpwZe0b8n1yacj7PdHH6PEpLaZ56U2IFjCOi3MhavP5hNfVh99SFg8/s1600/15.AppManifest-ClientId+Updation.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="186" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW62U86mKls9idqPHFAbxM4ZlWuXyqFr0hmzM_W0o_4K-MSFB_uQsXks7cA3lnqcK2ReCrVMBjSbZ0DwdDfJRveOpwZe0b8n1yacj7PdHH6PEpLaZ56U2IFjCOi3MhavP5hNfVh99SFg8/s400/15.AppManifest-ClientId+Updation.png" width="400" /></a></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal">
And also update the Client Id and Client Secret in web.config
of app webproject (MSPProviderHostedDemoWeb )with the generated Ids like below.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZtylZTbwXcnCK0nqgByYONOk61vjQK7cm-A0oQgXpgCDSTGV6nBiQI0fDOc2mQ6bwR7qy7bl1DFcm59Wh9zypBKKzfrczk8efKehMGtwjZt88Lcayy3e-8MFPlKHvFhGImOuOo9AC4ns/s1600/ClientId+and+Secret+in+WebConfig.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZtylZTbwXcnCK0nqgByYONOk61vjQK7cm-A0oQgXpgCDSTGV6nBiQI0fDOc2mQ6bwR7qy7bl1DFcm59Wh9zypBKKzfrczk8efKehMGtwjZt88Lcayy3e-8MFPlKHvFhGImOuOo9AC4ns/s400/ClientId+and+Secret+in+WebConfig.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="margin-left: 18.0pt;">
<br /></div>
<div class="MsoNormal">
With this the required settings to host the app are
completed in our visual studio solution. Now let’s publish the appwebproject in
to azure site.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<h3 style="text-align: left;">
<b><span style="color: blue;">Publish the appwebsite
into azure:</span></b></h3>
<div>
<div class="MsoNormal">
Right click on AppWebProject(MSPProviderHostedDemoWeb) <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span> Say Publish.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOBlI4mGYNwcSfJo2iDX-t_6OJkYrDsm5__GRgRMprE-NzeySlPxpJ8dgPdxG8a6UV47EO-QKpnXWcoZJpOgNShj7k4KHlkpdFes3KULEQmKTrTU76WhmhNVLt3P7r-Z9RlC7A2wouj_Y/s1600/16.PublishAppWeb1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOBlI4mGYNwcSfJo2iDX-t_6OJkYrDsm5__GRgRMprE-NzeySlPxpJ8dgPdxG8a6UV47EO-QKpnXWcoZJpOgNShj7k4KHlkpdFes3KULEQmKTrTU76WhmhNVLt3P7r-Z9RlC7A2wouj_Y/s400/16.PublishAppWeb1.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Say Import and select Import from a publish profile file.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then browse and select the azure profile which you
downloaded in above steps.( moresharepoints.azurewebsites.net.PublishSettings)<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Now it shows the connection information like below<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4PtoAUTEZgYQ9wdx2rt6Rwm9-1LWdxnEdkl9hLsJTdL_ZIneQXmgTBqECgqwQyyWn3sEQM89ls-NqZ0XSLq5jkFIQKqwdEB9WDPPhP35IGHWhFk8I_Yl9jE0G4UJ8LNgr6SZEwKMBswk/s1600/17.PublishAppWeb2-connection.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4PtoAUTEZgYQ9wdx2rt6Rwm9-1LWdxnEdkl9hLsJTdL_ZIneQXmgTBqECgqwQyyWn3sEQM89ls-NqZ0XSLq5jkFIQKqwdEB9WDPPhP35IGHWhFk8I_Yl9jE0G4UJ8LNgr6SZEwKMBswk/s400/17.PublishAppWeb2-connection.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Click the Validate connection, it should passed. Then Click
Next.In Settings Window, Select Configuration as Release like
below.</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxO5kFCgZ-KiTqcLnUBhd87AvY6IxKqpOB2DDJvCrnRv-NPs2Qehn7iQQ-3SoczOI6r5HE2pPmIS5uNupVmX3kZw2pNW4euJ8Ax9Qbnz2lKDJh6hP8yPRzBdd0AJP-ivn_shVFM2ghyRw/s1600/18.PublishAppWeb3-setting.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxO5kFCgZ-KiTqcLnUBhd87AvY6IxKqpOB2DDJvCrnRv-NPs2Qehn7iQQ-3SoczOI6r5HE2pPmIS5uNupVmX3kZw2pNW4euJ8Ax9Qbnz2lKDJh6hP8yPRzBdd0AJP-ivn_shVFM2ghyRw/s400/18.PublishAppWeb3-setting.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">Then
say next. Click Start Preview to see what files are going to place in azure.
For the first time it publishes all your appwebproject files. From next time
onwards, when you say publish it will only publish the modified files.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4rZb5rVxo3yerlAlC41B1RZyvrGZjGbOzAc96DJxY4vP0WfGgNxIHV7qF9gSEjAhE7LQu9F4OIKsTjwEtA1-evfaJQn6cVaNH5BN48zI1VbqPd2dhH3acJYuFsAznfW9Be5O30XoJ9ts/s1600/19.PublishAppWeb3-preview.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="317" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4rZb5rVxo3yerlAlC41B1RZyvrGZjGbOzAc96DJxY4vP0WfGgNxIHV7qF9gSEjAhE7LQu9F4OIKsTjwEtA1-evfaJQn6cVaNH5BN48zI1VbqPd2dhH3acJYuFsAznfW9Be5O30XoJ9ts/s400/19.PublishAppWeb3-preview.png" width="400" /></a></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="MsoNormal">
Now say Publish. In the OutPut window of visual studio it
says “Publishe Successed” for successful publish.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjWcnMgqs4pY0lb7jBjEtANOQZXhnI2PQkO686tfXF8XkVRro6exbEke0t1Cto7EO-Bu_2NLWtvjDpOhlkFT9PnIn3wuY0H5sp4UAfDRJ_-5d_Z9wsLtOQGAUEsi53B-szonX91tyWVks/s1600/20+.+VS+Output+Window+Publish+Status.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjWcnMgqs4pY0lb7jBjEtANOQZXhnI2PQkO686tfXF8XkVRro6exbEke0t1Cto7EO-Bu_2NLWtvjDpOhlkFT9PnIn3wuY0H5sp4UAfDRJ_-5d_Z9wsLtOQGAUEsi53B-szonX91tyWVks/s400/20+.+VS+Output+Window+Publish+Status.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
With this the appwebsite publishing to azure is completed.. Lets Publish the app in to sharepoint online site in next post.. <span style="color: orange;"> </span><br />
<i style="color: orange; font-size: x-large;"><u><a href="http://moresharepoints.blogspot.in/2015/08/step-by-step-guide-to-create-provider_66.html" target="_blank">Refer Part4 for the continuation..</a></u></i></div>
</div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com1tag:blogger.com,1999:blog-1890560268449402612.post-69870289195163537782015-08-18T01:30:00.000+05:302015-08-18T14:12:12.804+05:30Step by Step Guide to Create Provider Hosted App in Sharepoint 2013 Online with Azure Hosting Model- Part 4<div dir="ltr" style="text-align: left;" trbidi="on">
<h4 style="text-align: left;">
<span style="font-weight: normal;">This is a continuation to my previous post<i> <a href="http://moresharepoints.blogspot.in/2015/08/step-by-step-guide-to-create-provider_73.html" target="_blank"><span style="color: orange;">Step by Step Guide to Create Provider Hosted App in Sharepoint 2013 Online with Azure Hosting Model- Part 3</span></a></i></span></h4>
<h3 style="text-align: left;">
<b><span style="color: blue;"><br /></span></b></h3>
<h3 style="text-align: left;">
<b><span style="color: blue;">Publish the app in
SharePoint On line site :</span></b></h3>
<div>
<b><span style="color: blue;"><br /></span></b></div>
<div>
<div class="MsoNormal">
Right click on your appproject (MSPProviderHostedDemo) in
visual studio and say publish.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge93CLrbfOnwVpyOGdlyvADYKG5YjBa1_6McAvzfo-Z1xH0eIm7MZdwkYrRUd2nCQgGoBb1eLxjnAbYS2iUsAlE89rrqHZlyZN2ZrNdZ5DvCl8dUNb0z6sr5ghPo05mDyJVTa1RYpm3gU/s1600/21.Publish+App.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge93CLrbfOnwVpyOGdlyvADYKG5YjBa1_6McAvzfo-Z1xH0eIm7MZdwkYrRUd2nCQgGoBb1eLxjnAbYS2iUsAlE89rrqHZlyZN2ZrNdZ5DvCl8dUNb0z6sr5ghPo05mDyJVTa1RYpm3gU/s400/21.Publish+App.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Click on Edit and provide the Client and Client Secret
(Which we generated in above steps).<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1BG6uMDgjmUhpKlk91JBgvDn6ZbiZdhUQ3XMwXaBP5FnIklSRqHCWdO9KhmHi0I6ghkhf_B3bm8AtOMpsKOFD92TdYuwOxtfeFAKAae5JEX7RsVnNx6AJImSCtjPptm1le9EX312drz0/s1600/22.Publish+App-+CICS.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1BG6uMDgjmUhpKlk91JBgvDn6ZbiZdhUQ3XMwXaBP5FnIklSRqHCWdO9KhmHi0I6ghkhf_B3bm8AtOMpsKOFD92TdYuwOxtfeFAKAae5JEX7RsVnNx6AJImSCtjPptm1le9EX312drz0/s400/22.Publish+App-+CICS.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Say Finish. <o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Then click on “Package the App” button. You will get a
warning saying SP requires azure url as https. <o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
So change the url to https like below. <o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9y29qQFVdXBr0FK-ZHQuiVHeuv-b7ySC0flTjSHKAwG66CF3hrrwaFJfwIfvdt2pNHgzec3ObJ3JQiQ4xH-1fUlQxOaFwNu1kUs_1SWPUMVF_I4MAUCmxJMEAHc0lYl-FkWhAsMpbJ-4/s1600/23.Publish+App-+httpwarningpng.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="361" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9y29qQFVdXBr0FK-ZHQuiVHeuv-b7ySC0flTjSHKAwG66CF3hrrwaFJfwIfvdt2pNHgzec3ObJ3JQiQ4xH-1fUlQxOaFwNu1kUs_1SWPUMVF_I4MAUCmxJMEAHc0lYl-FkWhAsMpbJ-4/s400/23.Publish+App-+httpwarningpng.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">Say
Finish.</span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="MsoNormal">
A App file is generated and the folder will be opened in
windows explorer with the version number</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
path C:\Users\madpu02\Documents\Visual
Studio 2013\Demos\MSPProviderHostedDemo\MSPProviderHostedDemo\<b>bin\Debug\app.publish\1.0.0.0</b><o:p></o:p></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8pd1zrMzBR4p9mM4AIEiF4rwaTfrikOAIkO9nF5V39O48wcxG7pUqMbca06gTnGAWkrHf5nnQ4LtcK_cpdUSu-oTk38dEXRTHLlBvvVR7JK3HiqjSiwKyguVJ64UffryGDeeswJxizDo/s1600/24.Publish+App-+Folder+Structure.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="86" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8pd1zrMzBR4p9mM4AIEiF4rwaTfrikOAIkO9nF5V39O48wcxG7pUqMbca06gTnGAWkrHf5nnQ4LtcK_cpdUSu-oTk38dEXRTHLlBvvVR7JK3HiqjSiwKyguVJ64UffryGDeeswJxizDo/s400/24.Publish+App-+Folder+Structure.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Copy the app file and upload in AppsforSharepoint library in
your SharePoint appcatalog site.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In my case here is the url </div>
<div class="MsoNormal">
(<a href="https://mysitename.sharepoint.com/sites/pcmspappcatalog/_layouts/15/start.aspx#/AppCatalog/Forms/AllItems.aspx"><span style="color: windowtext; text-decoration: none; text-underline: none;">https://mysitename.sharepoint.com/sites/pcmspappcatalog/_layouts/15/start.aspx#/AppCatalog/Forms/AllItems.aspx</span></a>)<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6gaDO63nDINJbzF4Xs-Kyuzolq648SW7oYGYOnLgoz7Fjp2ToIZ1isdeD9tSdErANLXrhoEGceq4QVgpaHa9TBGd4D1oYj9tSUTj-ioZrQInt0aiNsUkL6ogQBlavzz7vbiXbYDnuiJg/s1600/25.App+in+Appcatalog.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6gaDO63nDINJbzF4Xs-Kyuzolq648SW7oYGYOnLgoz7Fjp2ToIZ1isdeD9tSdErANLXrhoEGceq4QVgpaHa9TBGd4D1oYj9tSUTj-ioZrQInt0aiNsUkL6ogQBlavzz7vbiXbYDnuiJg/s400/25.App+in+Appcatalog.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Once upload is completed in appcatalog site, go to your
sharepoint online site where you want to install and run this app.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
In my case
url is like this <a href="https://pcmsp.sharepoint.com/sites/SPODev">https://pcmsp.sharepoint.com/sites/SPODev</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Go to site contents <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span>
Add an App <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">à</span>
Then our app should appears in the “apps you can add”section like below.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzXR4W_y6T4uF9iz8hu_MkhTbMKK9XpH4eKZhlLoFfT8L9Pn52eRYeUt-C8QSNHroniIz6fBeL12R-KRJdRsXrl1PuPjy-P14g3uvQ-SQvSt1pRFfzzUF1DZ2m2ZyLuIYN8WM1aXTGXzw/s1600/26.App+in+site+contents.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzXR4W_y6T4uF9iz8hu_MkhTbMKK9XpH4eKZhlLoFfT8L9Pn52eRYeUt-C8QSNHroniIz6fBeL12R-KRJdRsXrl1PuPjy-P14g3uvQ-SQvSt1pRFfzzUF1DZ2m2ZyLuIYN8WM1aXTGXzw/s400/26.App+in+site+contents.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Click on App and Say Trust It<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQja1a5oIedIt3gMdEpfpAtdtIgriTQOQUbm3M_U-aqq-gjbF-dHKLDf3GAZziNE8Up9tKYWxKQ71SUjfKdqMOZJF1zIlWf-6Ib5HptS06kPqd2_epvgbvWcdi1xH-JmhDWnU59pqqbDY/s1600/27.Trust+App.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQja1a5oIedIt3gMdEpfpAtdtIgriTQOQUbm3M_U-aqq-gjbF-dHKLDf3GAZziNE8Up9tKYWxKQ71SUjfKdqMOZJF1zIlWf-6Ib5HptS06kPqd2_epvgbvWcdi1xH-JmhDWnU59pqqbDY/s400/27.Trust+App.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
With this your app installtion is completed. You can see
it in site contents tab like below.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvcCDINbI8GwoWRwA44svwbB4VJZRKAZEeWsCuckqChwwsWIepiel-EKRF23QHKcY29XlJd1zStVIK9P1BSyie3tbtVKjsqWcSsUCtVIW_2WGVh2iq3mcGXgjugF014_Zr6VBwpDWu8os/s1600/28.+App+Installtion+done.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="187" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvcCDINbI8GwoWRwA44svwbB4VJZRKAZEeWsCuckqChwwsWIepiel-EKRF23QHKcY29XlJd1zStVIK9P1BSyie3tbtVKjsqWcSsUCtVIW_2WGVh2iq3mcGXgjugF014_Zr6VBwpDWu8os/s400/28.+App+Installtion+done.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Now click on the app, it should redirect to default.aspx
page in our azure website like this.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiEcGEtOcfk9EX_mkIPlgujp_uRQdPjMChKiQ3ObbSLhwTcErRg_BermhNDs3J0oq3hCBhHd1aMdASqUdUT1IRDHQXaWTNPUv3Dp_K6S3Uh8x0fKPx_S7T51HSoebvit0tepuhzh_5vcE/s1600/ResultedAzureUrl.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="117" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiEcGEtOcfk9EX_mkIPlgujp_uRQdPjMChKiQ3ObbSLhwTcErRg_BermhNDs3J0oq3hCBhHd1aMdASqUdUT1IRDHQXaWTNPUv3Dp_K6S3Uh8x0fKPx_S7T51HSoebvit0tepuhzh_5vcE/s400/ResultedAzureUrl.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
The url looks like this , it contains the host sharepoint site url as a parameter for the the azure website url..<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><a href="http://moresharepoints.azurewebsites.net/Pages/Default.aspx?SPHostUrl=https%3A%2F%2Fpcmsp.sharepoint.com%2Fsites%2FSPODev&SPLanguage=en-US&SPClientTag=0&SPProductNumber=16.0.4316.1221&SPHasRedirectedToSharePoint=1"><b>http://moresharepoints.azurewebsites.net/Pages/Default.aspx</b>?SPHostUrl=<b>https%3A%2F%2Fpcmsp.sharepoint.com%2Fsites%2FSPODev</b>&SPLanguage=en-US&SPClientTag=0&SPProductNumber=16.0.4316.1221&SPHasRedirectedToSharePoint=1</a></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>We Successfully Created and Published the Provider Hosted app in to Azure...!! Hope this post helps you guys...!!</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>- Purna</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
</div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com4tag:blogger.com,1999:blog-1890560268449402612.post-13229251078692995892015-08-06T23:05:00.000+05:302015-08-18T23:06:31.539+05:30ASP.NET Site failed starting up, see full details for more info. System.Web.HttpException (0x80004005): Unrecognized configuration section log4net. <div dir="ltr" style="text-align: left;" trbidi="on">
Guys,<br />
<br />
If you are using log4net in your <b>asp.net website</b>, you may encounter the below error<br />
<br />
<i>System.Web.HttpException (0x80004005): Unrecognized configuration section log4net. (C:\Users\madpu02\Documents\My Web Sites\WebMatrixRemote\moresharepoints\web.config line 42) ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section log4net. (C:\Users\madpu02\Documents\My Web Sites\WebMatrixRemote\moresharepoints\web.config line 42)</i><br />
<i> at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)</i><br />
<i> at Microsoft.WebMatrix.Editor.CBMWrapper.HandleExceptionAndReturnEmptyArray(Exception ex, Boolean throwOnHttpException)</i><br />
<i> at Microsoft.WebMatrix.Editor.CBMWrapper.GetReferences()</i><br />
<i> at Microsoft.WebMatrix.Editor.Roslyn.ProjectSystemImpl.CbmAppDomainStarted(Object sender, EventArgs e)</i><br />
<br />
The reason for this error is the asp.net websites requires a log4net config section in web.config file.<br />
<br />
<i><b>Resolution : Add the log4net section in Config Sections of the webconfig .</b></i><br />
<i><br /></i>
<i> <configSections></i><br />
<i> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> </i><br />
<i></configSections></i><br />
<div>
<i><br /></i></div>
<br />
For <b>Asp.Net WebApplications(not websites)</b> this is not required.</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com1tag:blogger.com,1999:blog-1890560268449402612.post-64203031612376391442015-07-19T22:32:00.000+05:302015-07-19T22:32:53.690+05:30How to Turnoff Notifications (Reminders) in SharePoint Online Sites :<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
Hi Guys,<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
Here is a small post on notifications in SharePoint online. As
you know, when we log in to the SharePoint online portal, we observe (sometimes
get irritated too with their creepy sound <span style="font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;">J</span>
) like this.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieJHcIZg1tvb1LiQlrqoo-Uom8sunCdKs67SEhfduZ2f8nprhCa4iiZ4VMldT5n_52wPqY2ceBLcDOuVaMUkMzj_mjcg1u6dBjQFRQlsi54-mxIShne9JRoY8c-SjjUcQlDy_o1Jbkdhc/s1600/Notifications.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="192" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieJHcIZg1tvb1LiQlrqoo-Uom8sunCdKs67SEhfduZ2f8nprhCa4iiZ4VMldT5n_52wPqY2ceBLcDOuVaMUkMzj_mjcg1u6dBjQFRQlsi54-mxIShne9JRoY8c-SjjUcQlDy_o1Jbkdhc/s320/Notifications.png" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
If you want to avoid these annoying notifications, do these
below settings..<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Click on Gear Symbol on Suit bar. Select Office 365 Settings<o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtMLSu1zZ_DHEe-fn8aj1hTNwxRFESe30Rx_aMZn24uLPFaWbDiAROyjlqA_IT9FV2xC06oxPB0r_bhlCDg3rK6Y5KX5wboPQiVkAz09aQ3mi_UeRH4R9kyJHaKXrCczqoS3oyDef_ZrM/s1600/GearNotificationSettings.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtMLSu1zZ_DHEe-fn8aj1hTNwxRFESe30Rx_aMZn24uLPFaWbDiAROyjlqA_IT9FV2xC06oxPB0r_bhlCDg3rK6Y5KX5wboPQiVkAz09aQ3mi_UeRH4R9kyJHaKXrCczqoS3oyDef_ZrM/s320/GearNotificationSettings.png" width="129" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Select Notifications tab in the page</div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgqTuCh_UNBrOuamkj9eHGYjzOlUpgL-ktG1YwamR6nYTIPJG8-qC0BheaIW3ZeCDdPtxuA9Wu2JbcfsP6ZjMXmpB0pd1lIHU2acfXebyRnfCfpeVpU3CPFMBFl-vzx8ur4fdH6u3hB6I/s1600/Notification+Settings.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="165" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgqTuCh_UNBrOuamkj9eHGYjzOlUpgL-ktG1YwamR6nYTIPJG8-qC0BheaIW3ZeCDdPtxuA9Wu2JbcfsP6ZjMXmpB0pd1lIHU2acfXebyRnfCfpeVpU3CPFMBFl-vzx8ur4fdH6u3hB6I/s320/Notification+Settings.png" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
“Off” the notifications which you don’t want.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">Hope this is helpful</span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">Thanks</span></div>
<div class="MsoNormal">
<span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 107%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">Purna</span></div>
</div>
Purna Chander Madugulahttp://www.blogger.com/profile/10467276577321423031noreply@blogger.com0