Only Content controls are allowed directly in a content page that contains Content controls.
i am having my custom page layout, it is working fine with html control. now i want to add pages webpart onto this page. i created 1 view for pages library to show only 10 latest pages.
when i am trying add below code onto this page via Editor and uploaded page in master page gallery i am getting error
please suggest me proper way to add webpart on custom page without error..
---------------------------
UseSQLDataSourcePaging="True" EnableOriginalValue="False" NoDefault
ConnectionID="00000000-0000-0000-0000-000000000000" ExportControlledProperties="False" AutoRefreshInterval="60"
ViewContentTypeId="0x" Description="This system library was created by the Publishing feature to store pages that are created in this site."
AllowZoneChange="True" CatalogIconImageUrl="/_layouts/images/itdl.png" ID="g_dbb91a84_0f68_4f3c_91fc_5e21b37d283a"
MissingAssembly="Cannot import this Web Part." FrameState="Normal" AllowMinimize="True" Dir="Default" ViewFlag="8388621"
AllowConnect="True" ListUrl="" DetailLink="/09/ERPCOE/sapedia/Pages" WebId="00000000-0000-0000-0000-000000000000"
PartImageLarge="/_layouts/images/itdl.png" TitleUrl="/09/ERPCOE/sapedia/Pages" ListName="{EE01CCAF-84FE-449F-86D3-DE0746B08836}"
FrameType="Default" DataSourceID="" IsIncludedFilter="" AllowRemove="True" HelpLink="" IsIncluded="True" IsVisible="True" AsyncRefresh="False"
AutoRefresh="False" ListDisplayName="" InitialAsyncDataFetch="False" __MarkupType="vsattributemarkup" __WebPartId="{8A60CDAD-0911-4482-BE4E-C679FCC23901}"
__AllowXSLTEditing="true" __designer:CustomXsl="fldtypes_Ratings.xsl" WebPart="true" Height="" Width="">
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Prasham SabadraPosted Dec 9, 2015, 5:41 AM