Skip to main content

Posts

Embed a YouTube Video in SharePoint

One of the requests from the audience was to use SharePoint to interface  with various soical networking applications such as  Twitter, Facebook, YouTube, etc. I demonstrated to the audience by going out to YouTube and selected a video (appropriate for the demo, of course).Next to the video, there's an embedded code which I copied and pasted into the Content Editor Web part.      The Web administrators in the audience were pleased to see how simple it was to add the media onto a SharePoint page.

Power Platform Audit Scripts using PowerShell -All Power Automate (Running Flows)

Get All Ruining Power Automate (Flows) Using PowerShel l Clear-Host Install-Module -Name Microsoft.PowerApps.Administration.PowerShell #Add-PowerAppsAccount $scriptPath = split-path -parent $MyInvocation.MyCommand.Definition $OutputFilePath = "$scriptPath\FlowRuns.csv" try { Remove-Item $OutputFilePath } catch{} $flowRunHeaders = "Flow,Name,Run Count,Last Run Date, Last Run Status"; Add-Content -Path $OutputFilePath -Value $flowRunHeaders function GetRuns  {     param     (         [Parameter(Mandatory = $true)]         [string]$FlowName,         [Parameter(Mandatory = $true)]         [string]$EnvironmentName     )     process     {         if ($EnvironmentName -ne $null -and $FlowName -ne $null)         {             $TimeoutInMinutes = 2            ...

How to Integrate Twitter into SharePoint

First you'll need an account created in twitter. After logging in, add a couple of entries (so when you integrate Twitter into SharePoint, you can see some updates) Scroll down to the bottom of the page , and click on Apps Click on Widgets Click Continue >> at the bottom right Select the Interactive Widget , and click Continue >> Select the preferred style and size , then copy the code Paste it into Content Editor Webpart on your SharePoint page Done!...

How to increase the List View Threshold value for particular list in Sharepoint 2010 Using Powershell

I've been working on a list with items exceeding the 5000 default list view threshold limit. I know that I can easily go to Central Administration ,Select your Web Application ,Click on General Settings Then Select Resource Throttling ,By default it is 5000 ,Change the value,put your number in the text box. But this is applicable to entire web application then automatically some times the performance of the system is very slow. But my goal was NOT to enable this for the entire Web application.  I only wanted to make an exception to this one list. So I started digging into the SPList properties and found a property called " EnableThrottling ".  Setting this property to "false", allowed me to bypass the 5000 limit for this one list. I used the following PowerShell commands to achieve this: $WebApplication = Get-SPWeb http://<SiteCollectionName> $List = $WebApplication.Lists["My List"] $List.EnableThrottling = $false $List.Up...

To download Large collection of Free Microsoft eBooks, including: SharePoint, Visual Studio, Windows Phone, Windows 8, Office 365, Office 2010, SQL Server 2012, Azure, and more for free.

http://blogs.msdn.com/b/ mssmal lbiz/archive/2012/07/27/ 103342 62.aspx Web Developement Related free Books http://social.technet. microsoft.com/wiki/contents/ articles/11608.e-book-gallery- for-microsoft-technologies. aspx#[Category]%20Web% 20Development   Windows Development  Related  free  Books http://social.technet. microsoft.com/wiki/contents/ articles/11608.e-book-gallery- for-microsoft-technologies. aspx#[Category]%20Windows

What is Asp.net Impersonation?

Impersonation is when ASP.NET executes code in the context of an authenticated and authorized client. By default, ASP.NET does not use impersonation and instead executes all code using the same user account as the ASP.NET process, which is typically the ASPNET account. (ASP.NET basics you can refer about it). That means when you install IIS and .NET Framework together – process that belongs all the .NET application hosted in IIS(unless you change it manually), default runs on ASPNET account permissions. you could see an account called ASPNET created in your system. This account is only for executing ASP.NET application processing thread on the context of IIS. Why Impersonation? When we are doing I/O operations, the operation system makes security checks to understand if the user is authorized to do the operation. The same thing happens when you try to do operations on another machine in your network. Using impersonation, ASP.NET applications can optionally e...

How to Delete The Files Having More than 3 Underscores ( _ ) ?

Example: File format may be like XXX_123_253_2175_216.html Irrespective of file format based on Underscores we need to delete ? Solution: Private void deleteFiles()  { DirectoryInfo objDir = new DirectoryInfo(@"C:\"); FileInfo[] objFileList = objDir.GetFiles(); foreach(FileInfo f in objFileList)  { if (f != null) if (f.Name.Split('_').Length > 3) { f.Delete(); } } } and Later I have added on more requiremnet in the about CODE LIKE this File having similar fast name should delete  Extra condition if(f.name.startswith) { //code }

How to Create The Contact/feedback Web part in SharePoint 2010

Contact Feedback Webpart in Sharepoint 2010 This article will show, step-by-step, how to create simple visual web part that implements a contact feedback form. A contact feedback form is typically used on a public website to provide a way for customers, business partners, and others outside the company to submit questions or request information by filling out fields on a web page and clicking a Submit button. This web part will collect the user’s name, email address, and message, and send the information to an email address when the user clicks Submit. The web part created in this article will use Sharepoint 2010. To create the web part, we will be using Visual Studio 2010 installed on Windows Server 2008. Design the Webpart: Add the following code in your webpart(Design Mode) < style type ="text/css">     span.required     {         color : #FF0000 ;       ...