Skip to content

Instantly share code, notes, and snippets.

@ciberch
Created April 20, 2011 17:15
Show Gist options
  • Save ciberch/932011 to your computer and use it in GitHub Desktop.
Save ciberch/932011 to your computer and use it in GitHub Desktop.
Example for how to create a Socialcast Home Stream Web part
<?xml version="1.0" encoding="utf-8"?>
<WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2">
<Title>Home Stream </Title>
<FrameType>Default</FrameType>
<Description>The Socialcast Reach Web Part brings your Socialcast Community into SharePoint</Description>
<IsIncluded>true</IsIncluded>
<ZoneID>wpz</ZoneID>
<PartOrder>1</PartOrder>
<FrameState>Normal</FrameState>
<Height>500px</Height>
<Width />
<AllowRemove>true</AllowRemove>
<AllowZoneChange>true</AllowZoneChange>
<AllowMinimize>true</AllowMinimize>
<AllowConnect>true</AllowConnect>
<AllowEdit>true</AllowEdit>
<AllowHide>true</AllowHide>
<IsVisible>true</IsVisible>
<DetailLink />
<HelpLink>https://[YOUR SUBDOMAIN].socialcast.com/services/sharepoint</HelpLink>
<HelpMode>Modeless</HelpMode>
<Dir>Default</Dir>
<PartImageSmall />
<MissingAssembly>Cannot import this Web Part.</MissingAssembly>
<PartImageLarge>/_layouts/images/mscntvwl.gif</PartImageLarge>
<IsIncludedFilter />
<Assembly>Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
<TypeName>Microsoft.SharePoint.WebPartPages.ContentEditorWebPart</TypeName>
<ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
<Content xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor">
<![CDATA[
<iframe scrolling="no" height="100%" width="100%" marginheight="0" marginwidth="0" allowtransparency="true"src="https://[YOUR SUBDOMAIN].socialcast.com/services/reach/list?token=[your_token]&resource=[your_host_page_url]" />
]]>
</Content>
<PartStorage xmlns="http://schemas.microsoft.com/WebPart/v2/ContentEditor" />
</WebPart>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment