When shipping a custom theme, you can include a default set of widgets for each column of widgets supported by the theme.
Any time a user installs a theme with the default widget dynamic configuration properties, the theme will use the default settings. Also, any time you click Restore Defaults on the theme configuration page in the Control Panel, Community Server will use these default properties.
Procedure
In the theme.config.file, paste the copied contents into a <defaultValue /> node within the <property /> node that defines the widget.
The result should look like this:
<property id="myWidgetColumn" text="Widgets" dataType="Custom" controlType="CommunityServer.Controls.ContentFragmentsCustomControl, CommunityServer.Controls">
<defaultValue>
<![CDATA[
<contentFragments>
<contentFragment type="CommunityServer.Controls.SiteUrlContentFragment, CommunityServer.Controls" id="2df9ece8-fe74-46c6-b82a-a42a65664fe8" configuration="fragmentTitle=Shortcuts&controlpanel=False&blogAdmin=False&mediaAdmin=True&user_List=False&post_NotRead=False&forumSubscriptions=False&usersOnline=False&forumModeration=False&hub_create=False&allGroups=False&groupAdmin=False&customLinks=&listCssClass=CommonSidebarList" />
<contentFragment type="CommunityServer.Controls.TagCloudContentFragment, CommunityServer.Controls" id="2b1a7190-3b89-4a19-985c-eaf6c41e993d" configuration="applicationType=MediaGallery&ignoreFilterTags=False&maximumTags=25&minimumPostsPerTag=0&filterTags=&fragmentTitle=Tags&tagCloudCss=CommonSidebarTagCloud&tagCss=CommonTag6%2cCommonTag5%2cCommonTag4%2cCommonTag3%2cCommonTag2%2cCommonTag1&showTagCounts=False&noTagsText=No+Tags+Found&linkTo=ContextualTagBrowser" />
</contentFragments>
]]>
</defaultValue>
</property>