Sign up for Office 365
Learn more about Office 365
Hi,
I'm have SocialCommentWebPart inside a Web Part Zone in page layout. For some reason web part title field is not reflected to the page when that page layout is used - instead the title is always empty. I've tried both creating new page which uses this page layout, and also changed page layout of existing page.
I've drag&dropped the items on the page using SPDesigner and Note Board works otherwise perfectly when I use this page layout. Here is the web part zone and note board section:
<WebPartPages:WebPartZone id="g_D502D3FBD5D041AD86F46D48E9D6C90A" runat="server" title="Bottom"><ZoneTemplate>
<SPSWC:SocialCommentWebPart runat="server" AllowEdit="True" AllowConnect="True" ConnectionID="00000000-0000-0000-0000-000000000000" Title="Comments" IsIncluded="True" Dir="Default" PartImageLarge="" IsVisible="True" AllowMinimize="True" ZoneID="" ID="g_b6e1e9ac_0106_4287_b446_bb9a1e6552e9" FrameState="Normal" ExportMode="All" TitleLocIdNum="0" AllowHide="True" SuppressWebPartChrome="False" DetailLink="" ChromeType="TitleOnly" DescriptionLocId="Null" TitleLocId="Null" MissingAssembly="Cannot import this Web Part." PartImageSmall="" AllowRemove="True" HelpMode="Modeless" FrameType="TitleBarOnly" AllowZoneChange="True" PartOrder="2" Description="Enable users to leave short, publicly-viewable notes about this page." HelpLink="" DescriptionLocIdNum="0" ExportControlledProperties="True" IsIncludedFilter="" __MarkupType="vsattributemarkup" __WebPartId="{b6e1e9ac-0106-4287-b446-bb9a1e6552e9}" WebPart="true" Height="" Width=""> </SPSWC:SocialCommentWebPart>
</ZoneTemplate></WebPartPages:WebPartZone>
How should I define Title of the web part so that it is shown on the page?
Ended up creating workaround as according to Service Request, this is a product feature.
Created simple jQuery script in which I replace the title of the web part when page is loading. Seems to work fine. Details here.
Hello Jussi Palo,
Are you doing this editing in the Advanced View? I was getting a message that the server was rejecting the title change when I was doing this. And then it would not show a name within SharePoint Designer.
I went to the site page and changed the title directly through the Edit Web Part menu to get the change to go through. I refreshed SharePoint Designer and it was then being shown.
Matt Gill
Microsoft Office 365 SharePoint Support
thanks for the reply, I can modify the title just fine of an existing Web Part. The issue I'm having is when I change Page Layout of an existing page OR create new page that uses this specific Page Layout in which this SocialCommentWebPart is defined.
When the Page Layout is taken into use, all Web Parts defined on it are added to respective Web Part Zones, also various properties defined in the Page Layout for the Web Parts are configured correctly. For some reason Note Board Title field is something that is not set correctly in my scenario.
If I add CQWP (with some custom Title) in the Page Layout and create new page that uses that layout, CQWP does show that title fine.
Hello Jussi,
Were you still having this issue? If so, can you show me some screenshots of reproducing the issue?
Still having the issue. See below for repro steps.
Thanks Jussi,
I have tested this further and found that it does seem that the Title field is not being saved. If you would like to create a service request, I can bring this up to our product team. You can create a service request from the Support area in the Admin page of portal.microsoftonline.com. And then once created, let me know the number, so that I can get the process started right away.
Thanks Matt. Created service request with ID <SR# removed by moderator>.
Thanks Jussi and I see that you have been contacted by support as well.