by joe.pesch
23. July 2012 15:14
Deprecated image based charting: https://developers.google.com/chart/image/
Here is a url based example of the deprecated Google chart image:
https://chart.googleapis.com/chart?chf=bg,s,EFEFEF&chtt=Sample%20Chart&chco=9999CC&cht=pc&chd=t:60,30,10&chl=60|30|10&chs=300x150

For current charting methods visit the google coding playground here: https://code.google.com/apis/ajax/playground/
NOTE: The playgound didn't work on my IE8 browser, worked fine on Firefox.
62fd1450-c9dc-46d4-a9a0-0046126051ed|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
by joe.pesch
16. July 2012 17:02
We added an editable PDF document to our Sharepoint 2010 site; however, under the sites default settings it forced the user to save the document (i.e. it would not open the document directly from the site). Below is a PowerShell script that will add the PDF MIME type to the list of allowable inline download types. NOTE: Save the script with .PS1 extension to run in PowerShell.
$webapp = Get-SPWebApplication http://sharepointsitehere
If ($webapp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf")
{
Write-Host -ForegroundColor White "Adding Pdf MIME Type..."
$webapp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
$webapp.Update()
Write-Host -ForegroundColor White "Added and saved."
}
Else
{
Write-Host -ForegroundColor White "Pdf MIME type is already added."
}
6ed6cabc-497c-4b43-9609-6b4d2b1e2160|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags:
Sharepoint | PowerShell