How to add custom close button in SharePoint using JavaScript

In this article we are able to see, how to add a custom close button in SharePoint using JavaScript.

We are a requirement to add a custom close button on the display from, once we clicked on the custom close button it should have to redirect to different URL, in our case we given URL www.dotnetsharepoint.com

Copy this code in notepad save as txt format, add content editor in the display form and refer the text file.

<style>   
.ms-ButtonHeightWidth  /*-hiding Existing close button -*/
{
 display:none;
}   
</style>
<script type="text/javascript">
function closebutton()
{
 window.location = "www.dotnetsharepoint.com"
}
</script>
<html>
<body>
<table>
<tr>
<td>
<input type="button" value="Close" width="150"
onclick="closebutton()" style = "margin-left: 390px;">
</td>
</tr>
</table>
</body>

</html>

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

Who created list in SharePoint using PowerShell

In this article we can learn, who created the list with name and date using PowerShell.


This script is very useful to know who created the list with created username and created date with time in any environment like Dev, QA and Prod using PowerShell.
Here we are having a list someone created long time back but as of now we don’t know who created this list, using below PowerShell script we can get it easily.

Add-PSSnapin microsoft.sharepoint.powershell
$web = Get-SPWeb "http://dotnetsharepoint.com/sites/sharepoint"
$list = $web.lists["listname"]
$listwhocreated = $list.Author
$listcreateddate = $list.Created
Write-Host "Created User Name:" $listwhocreated
Write-Host "Created Date:" $listcreateddate


SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

Adding Certificate into SharePoint Central Administration

 In this article we are able to see, how to add certificate in to our SharePoint.

How to Create Self-Signed Certificate on IIS Server

Go to Central Administration
Click on Manage Trust under Security
Now we can see the existing trusted certifications, click on New in the Ribbon
Enter the name and select the certificate file on the Popup, as shown in the below figure.
Now we will able to see the certificate on the list. We can be access throughout our SharePoint 2013 farm.

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

How to Create Self-Signed Certificate on IIS Server

In this article we are able to see how to create self-signed certificate on IIS Server
When I am creating Provider Hosted app, i need to provide Self-Signed certification. Below steps to create Self-Signed certificate on the IIS of the development machine
                             Go to IIS & Open Server Certificates
    

 Now you can see the list of already existing certificates.
 Click on “Create Self- Signed Certificate” link on the Right panel as shown in the figure.

   
      Enter the name of Certification and Click “Ok”.


                     
Now we can see the certificate on the Server Certificates.

Do an IISRESET.

Now the certificate is ready to bind with web application on the Binding Links.

We will verify the binding links, navigate to IIS and select any web application, click “Bindings..” under Edit Site from the right Pane.

Click on edit, then we can see our certificate under SSL Certificate as shown in below.



SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM