Thursday, July 8, 2010

Adding a button with javascript to sharepoint page

By putting a content editor web part with the following:


<BUTTON onclick="window.location.href='http://intranet/Legal/contracts/Search_URL.aspx?Project_Number='+document.location.href.substr(42,7)">Load\View Project Contracts</BUTTON>

No comments:

Disable Microsoft Defender for Cloud for Visual Studio Subscription (MSDN)

I use a visual studio pro subscription which comes with $150 azure cloud credit, for some reason Microsoft Defender for Cloud was turned on ...