Pages library catalog item url

I've setup authoring and publish web application , first web application (authoring) has one site collection with pages library catalog and anonymous enabled and correctly setup, the second web application has one site collection that consume authoring pages
catalog with content search webpart , but I have situation that I need to use the link directly for static page , ex.
Authoring Site > Pages > Aboutus.aspx
Publishing site > footer> About Us (need to link directly to the page in authoring aboutus.aspx) but I need the link appear in publishing site url not authoring one , how could I do this ?
the publishing site connected to catalog without integrate

Unfortunately, I'm having a hard time understanding your question. (I know it can be hard to post questions in another language!) Can you ask your question again?
Blog:
blog.beckybertram.com |
RSS | @beckybertram |
SharePoint 2010: Six-in-One

Similar Messages

  • Publishing site will not create catalog item URLs

    I have an authoring site with a list that I have enabled as a catalog. When I move over to my publishing site (sites/Publishing) I am able to connect to that catalog. I have Managed Navigation and my term store set up and the links are generate across the
    top (Ex: planes, trains, automobiles).
    When I click on one of those links, say automobiles, the page displays correctly (sites/Publishing/automobiles). But, when I try to click on a catalog item I am just taken back to sites/Publishing. It appears that no friendly URL was created as I specified
    when I made the connection.
    What could I possibly be doing wrong? Hopefully I described this well enough

    Is the site a public anonymous site or just for internal use? 
    Be sure to add a Root term to the product hierarchy (or whatever you may have changed the termset name to)
    when setting your columns for use in a catalog, It’s worth noting the default unchecked of “Allow multiple values” is important. Multiple value columns are unsupported for the column used in integration.
    Also, for the terms to function properly in nav, Add your publishing site URL to the site collection access line for the term group so it can present the terms as friendly URLs and navigation on the consuming Site Collection.
    Alternately, if you want it available globally, you can create a new group under the global MMS, then move the term set to the global group
    Connecting to your catalog requires Publishing features at SPSite & SPWeb level
    Crawl must run against the catalog content after it was enabled as a catalog in order for it to show in Manage Catalog Connections
    Don’t forget to allow access to the Product Hierarchy Term Set.
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • Does anyone have URL replacement working for catalog generated from wiki pages library

    Hi everyone,
    I have created a catalog from a wiki library which surfaces news/event/announcement articles to a publishing site (with make URLs relative to this site selected).  This works well after modifying the item page and specifying the content as HTML regarding
    the functioning of category/item pages.
    The only issue which remains is that hyperlinks between wiki pages are not replaced in the target site (they always point to the wiki pages within the authoring site collection rather than to their catalog counterparts in the publishing site).  It is
    my understanding that with publishing pages from a pages library these links are replaced to point to other items in the catalog connected site rather than the source.
    Is this just by design (only working for publishing pages rather than wiki pages), or does anyone have this replacement working?
    If this does not work it kind of defeats the purpose of the catalog here and I might as well give everyone access to the authoring library and just use a CSWP in the publishing site to redirect to the authoring wikis.  Not terribly nice from a layout,
    navigational or conceptual standpoint though.

    Just to add a bit more info to this... looking at the coreclient.log file you can plainly see that the page view took 50367ms to complete.... if anyone has any ideas, it would be greatly appreciated.
    Started GET "/wiki/pages/V6C291y8z/price_lists.html" for 192.168.0.100 at Fri Nov 04 13:48:49 -0500 2011
      Processing by PagesController#show as HTML
      Parameters: {"title"=>"Production_Intercom.html", "id"=>"V6C291y8z"}
    Rendered cc/_banner_link.html.erb (0.2ms)
    Rendered cc/_banner_link.html.erb (0.2ms)
    Rendered cc/_banner_link.html.erb (0.2ms)
    Rendered cc/_banner.html.erb (1.8ms)
    get_timezone_offset_from_request: -18000
    time: Wed Oct 26 12:52:17 -0500 2011
    time (client timezone): Wed Oct 26 12:52:17 -0500 2011
    Rendered cc/_entity_header.html.erb (2.5ms)
    Rendered cc/_wikieditor.html.erb (0.1ms)
    Rendered sidebars/_tags.html.erb (59.0ms)
    Rendered cc/_related_item.html.erb (0.0ms)
    Rendered sidebars/_related.html.erb (0.3ms)
    Rendered cc/_comment.html.erb (0.0ms)
    Rendered sidebars/_comments.html.erb (0.4ms)
    Rendered sidebars/_updates.html.erb (0.1ms)
    Rendered sidebars/_settings.html.erb (0.2ms)
    Rendered cc/_sidebar_section.html.erb (61.2ms)
    Rendered cc/_sidebar.html.erb (61.5ms)
    Rendered pages/show.html.erb within layouts/application (50366.0ms)
    Completed 200 OK in 261847ms (Views: 50367.1ms)

  • How to configure CSWP on Category page to show the Published Catalog-item page on Publishing site in a Cross Site Publishing scenario?

    I have created a Cross Site Publishing Environment in SharePoint Online. After connected
    to my catalog. 2 pages automatically created. But in "Category" page, if i click on an item it will bring me to the original path/item located in Authoring site. How to configure Content Search Web Part on Category page to show the Published Catalog-item
    page on Publishing site?
    Can we do this by changing the property mappings?

    Hi,
    According to my understanding, you want users to be redirected to pages in the current site instead of the source page of the search results in a Content Search Web
    Part.
    By default, the hyperlinks of the search results in a Content Search Web Part will point to the source page where the data comes from, when the hyperlink of each result
    is clicked, user will be redirected to the corresponding source page.
    If the data comes from other sites, what page do you want to display when user clicks a search result in the Content Search Web Part?
    Property Mappings can help to control the content of each part of a display template, however, there seems no such property in the search result can help to redirect
    to the pages of the current site, thus, it might not be able to meet your requirement.
    More information about customizing the Content Search Web Part:
    https://www.martinhatch.com/2013/02/customising-cbswp-part1.html
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Redirect to Pages library after creating item in pages library folder!

    Hi All,
    I'm facing one problem while creating item in publishing pages library.
    Whenever I create an item inside the folder, after creation of item SharePoint redirect me to root level of the library. Its happening in pages library only.
    Does any one face this issue or it's a know SharePoint issue or is there any workaround?
    Thanks
    Shubham

    Hi Shubham,
    I did a test, however I could not reproduce your issue.
    In my testing, I created a folder in the Pages library, then created a page in the folder. After creation, it went to the folder level, not the top level of the library.
    Please check whether you installed some updates for your SharePoint 2010.
    For narrowing down the scope of this issue, please verify the followings:
    Please create a new site at the same site collection, then test again, compare the result.
    Please create a new site collection, test again, compare the result.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Title of Page from Pages library not appearing as expected from custom pagelayouts VS solution

    hi,
    i have created a custom web page from pages library using custom page layouts library with the help of a wsp.
    here is my  sample page.
    now my issue is,  when i go to the page / the title of the page is not displaying correctly.
    as per my requirement the ttile  of the page   should be  APPROVE/REJECT Doc
    which is mentioned in the  <title>APPROVE/REJECT Doc</title></head>.
    and in my VS 2012 pagelayouts solution i have added this page name approve1.aspx.
    hence  i am getting the Page title from the pages lib as approve1 .
    can someone pls help what should i do to get this title issue  resolved.
    i cant rename the page again from the solution.i  would like to see the title of this page takes from <title>APPROVE/REJECT Doc</title></head> .
    <%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Reference VirtualPath="~TemplatePageUrl" %>
    <%@ Reference VirtualPath="~masterurl/custom.master" %><%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    %>
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><head>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:PublishingContact msdt:dt="string">47</mso:PublishingContact>
    <mso:PublishingIsFurlPage msdt:dt="string">0</mso:PublishingIsFurlPage>
    <mso:display_urn_x003a_schemas-microsoft-com_x003a_office_x003a_office_x0023_PublishingContact msdt:dt="string">hellooo1</mso:display_urn_x003a_schemas-microsoft-com_x003a_office_x003a_office_x0023_PublishingContact>
    <mso:PublishingContactPicture msdt:dt="string"></mso:PublishingContactPicture>
    <mso:RobotsNoIndex msdt:dt="string">0</mso:RobotsNoIndex>
    <mso:PublishingContactName msdt:dt="string"></mso:PublishingContactName>
    <mso:ContentTypeId msdt:dt="string">0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390076F7B5D03DD146D699D042E1C5D76EF70034D563D3D2DE07429FB160DADE75B460</mso:ContentTypeId>
    <mso:PublishingPageLayoutName msdt:dt="string">myPage.aspx</mso:PublishingPageLayoutName>
    <mso:Comments msdt:dt="string"></mso:Comments>
    <mso:PublishingContactEmail msdt:dt="string"></mso:PublishingContactEmail>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    <title>APPROVE/REJECT Doc</title></head>

    Hi,
    As there is no complete code at hand, you can take the snippet below about updating the name of a page in a page library as a reference:
    if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {
    Add-PSSnapin Microsoft.SharePoint.PowerShell;
    $web = Get-SPWeb http://yoursite
    $list = $web.Lists["Site Pages"]
    $listItems = $list.Items
    foreach($item in $listItems)
    if ($item.Name -eq "Page1.aspx")
    $file = $item.File
    $file.MoveTo($item.ParentList.RootFolder.Url + "/" + "Page1_changed.aspx")
    $file.Update()
    #dispose of web
    $web.dispose();
    Best regards
    Patrick Liang
    TechNet Community Support

  • Custom edit form for my Wiki Page library with only "Page Name" field included

    I want to create a new custom edit form for my Wiki page library, and to only allow users to edit the Page name inside the edit form. now i created a new Edit form using SharePoint Designer , and i select the Enterprisewiki content type for it , which generates
    the following markup :-
    <%@ Page language="C#" MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full" meta:progid="SharePoint.WebPartPage.Document" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListFormPageTitle runat="server"/>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
    <span class="die">
    <SharePoint:ListProperty Property="LinkTitle" runat="server" id="ID_LinkTitle"/>
    </span>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server">
    <img src="/_layouts/15/images/blank.gif?rev=23" width='1' height='1' alt="" />
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    <SharePoint:UIVersionedContent UIVersion="4" runat="server">
    <ContentTemplate>
    <div style="padding-left:5px">
    </ContentTemplate>
    </SharePoint:UIVersionedContent>
    <table class="ms-core-tableNoSpace" id="onetIDListForm">
    <tr>
    <td>
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main"><ZoneTemplate>
    <WebPartPages:DataFormWebPart runat="server" EnableOriginalValue="False" DisplayName="Customer Service KB" ViewFlag="1048584" ViewContentTypeId="" Default="FALSE" ListUrl="" ListDisplayName="" ListName="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" ListId="6a6ece84-4d39-48e2-bd6a-c20b2ac6355b" PageType="PAGE_EDITFORM" PageSize="-1" UseSQLDataSourcePaging="True" DataSourceID="" ShowWithSampleData="False" AsyncRefresh="False" ManualRefresh="False" AutoRefresh="False" AutoRefreshInterval="60" NoDefaultStyle="TRUE" InitialAsyncDataFetch="False" Title="Customer Service KB" FrameType="None" SuppressWebPartChrome="False" Description="" IsIncluded="True" PartOrder="2" FrameState="Normal" AllowRemove="True" AllowZoneChange="True" AllowMinimize="True" AllowConnect="True" AllowEdit="True" AllowHide="True" IsVisible="True" DetailLink="" HelpLink="" HelpMode="Modeless" Dir="Default" PartImageSmall="" MissingAssembly="Cannot import this Web Part." PartImageLarge="" IsIncludedFilter="" ExportControlledProperties="True" ConnectionID="00000000-0000-0000-0000-000000000000" ID="g_f1c88e12_e91d_4300_91f2_62f0bd7825fb" ChromeType="None" ExportMode="All" __MarkupType="vsattributemarkup" __WebPartId="{F1C88E12-E91D-4300-91F2-62F0BD7825FB}" __AllowXSLTEditing="true" WebPart="true" Height="" Width=""><DataSources>
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" SelectCommand="&lt;View&gt;&lt;Query&gt;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name=&quot;ContentType&quot;/&gt;&lt;Value Type=&quot;Text&quot;&gt;Enterprise Wiki Page&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;/Query&gt;&lt;/View&gt;" UseInternalName="True" UseServerDataFormat="True"><SelectParameters><WebPartPages:DataFormParameter ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0" Name="ListItemId"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="weburl" PropertyName="ParameterValues" DefaultValue="http://sharepointdev:12341/sites/wiki1" Name="weburl"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" Name="ListID"></WebPartPages:DataFormParameter>
    </SelectParameters><UpdateParameters><WebPartPages:DataFormParameter ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0" Name="ListItemId"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="weburl" PropertyName="ParameterValues" DefaultValue="http://sharepointdev:12341/sites/wiki1" Name="weburl"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" Name="ListID"></WebPartPages:DataFormParameter>
    </UpdateParameters><InsertParameters><WebPartPages:DataFormParameter ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0" Name="ListItemId"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="weburl" PropertyName="ParameterValues" DefaultValue="http://sharepointdev:12341/sites/wiki1" Name="weburl"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" Name="ListID"></WebPartPages:DataFormParameter>
    </InsertParameters><DeleteParameters><WebPartPages:DataFormParameter ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0" Name="ListItemId"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="weburl" PropertyName="ParameterValues" DefaultValue="http://sharepointdev:12341/sites/wiki1" Name="weburl"></WebPartPages:DataFormParameter><WebPartPages:DataFormParameter ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}" Name="ListID"></WebPartPages:DataFormParameter>
    </DeleteParameters>
    </SharePoint:SPDataSource>
    </DataSources>
    <Xsl>
    <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">
    <xsl:output method="html" indent="no"/>
    <xsl:decimal-format NaN=""/>
    <xsl:param name="dvt_apos">&apos;</xsl:param>
    <xsl:param name="ManualRefresh"></xsl:param>
    <xsl:variable name="dvt_1_automode">0</xsl:variable>
    <xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls">
    <xsl:choose>
    <xsl:when test="($ManualRefresh = 'True')">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td valign="top">
    <xsl:call-template name="dvt_1"/>
    </td>
    <td width="1%" class="ms-vb" valign="top">
    <img src="/_layouts/15/images/staticrefresh.gif" id="ManualRefresh" border="0" onclick="javascript: {ddwrt:GenFireServerEvent('__cancel')}" alt="Click here to refresh the dataview."/>
    </td>
    </tr>
    </table>
    </xsl:when>
    <xsl:otherwise>
    <xsl:call-template name="dvt_1"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template name="dvt_1">
    <xsl:variable name="dvt_StyleName">ListForm</xsl:variable>
    <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/>
    <div>
    <span id="part1">
    <table border="0" width="100%">
    <xsl:call-template name="dvt_1.body">
    <xsl:with-param name="Rows" select="$Rows"/>
    </xsl:call-template>
    </table>
    </span>
    <SharePoint:AttachmentUpload runat="server" ControlMode="Edit"/>
    <SharePoint:ItemHiddenVersion runat="server" ControlMode="Edit"/>
    </div>
    </xsl:template>
    <xsl:template name="dvt_1.body">
    <xsl:param name="Rows"/>
    <tr>
    <td class="ms-toolbar" nowrap="nowrap">
    <table>
    <tr>
    <td width="99%" class="ms-toolbar" nowrap="nowrap"><IMG SRC="/_layouts/15/images/blank.gif" width="1" height="18"/></td>
    <td class="ms-toolbar" nowrap="nowrap">
    <SharePoint:SaveButton runat="server" ControlMode="Edit" id="savebutton1"/>
    </td>
    <td class="ms-separator">&#160;</td>
    <td class="ms-toolbar" nowrap="nowrap" align="right">
    <SharePoint:GoBackButton runat="server" ControlMode="Edit" id="gobackbutton1"/>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td class="ms-toolbar" nowrap="nowrap">
    <SharePoint:FormToolBar runat="server" ControlMode="Edit"/>
    <SharePoint:ItemValidationFailedMessage runat="server" ControlMode="Edit"/>
    </td>
    </tr>
    <xsl:for-each select="$Rows">
    <xsl:call-template name="dvt_1.rowedit"/>
    </xsl:for-each>
    <tr>
    <td class="ms-toolbar" nowrap="nowrap">
    <table>
    <tr>
    <td class="ms-descriptiontext" nowrap="nowrap">
    <SharePoint:CreatedModifiedInfo ControlMode="Edit" runat="server"/>
    </td>
    <td width="99%" class="ms-toolbar" nowrap="nowrap"><IMG SRC="/_layouts/15/images/blank.gif" width="1" height="18"/></td>
    <td class="ms-toolbar" nowrap="nowrap">
    <SharePoint:SaveButton runat="server" ControlMode="Edit" id="savebutton2"/>
    </td>
    <td class="ms-separator">&#160;</td>
    <td class="ms-toolbar" nowrap="nowrap" align="right">
    <SharePoint:GoBackButton runat="server" ControlMode="Edit" id="gobackbutton2"/>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </xsl:template>
    <xsl:template name="dvt_1.rowedit">
    <xsl:param name="Pos" select="position()"/>
    <tr>
    <td>
    <table border="0" cellspacing="0" width="100%">
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Title (Display In Search)</nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/>
    <SharePoint:FieldDescription runat="server" id="ff1description{$Pos}" FieldName="Title" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Standard<span class="ms-formvalidation"> *</span>
    </nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff2{$Pos}" ControlMode="Edit" FieldName="Standard" __designer:bind="{ddwrt:DataBind('u',concat('ff2',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Standard')}"/>
    <SharePoint:FieldDescription runat="server" id="ff2description{$Pos}" FieldName="Standard" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Document Type<span class="ms-formvalidation"> *</span>
    </nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff3{$Pos}" ControlMode="Edit" FieldName="Document_x0020_Type" __designer:bind="{ddwrt:DataBind('u',concat('ff3',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Document_x0020_Type')}"/>
    <SharePoint:FieldDescription runat="server" id="ff3description{$Pos}" FieldName="Document_x0020_Type" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Departments<span class="ms-formvalidation"> *</span>
    </nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="Edit" FieldName="Departments" __designer:bind="{ddwrt:DataBind('u',concat('ff4',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Departments')}"/>
    <SharePoint:FieldDescription runat="server" id="ff4description{$Pos}" FieldName="Departments" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Hide physical URLs from search</nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff5{$Pos}" ControlMode="Edit" FieldName="PublishingIsFurlPage" __designer:bind="{ddwrt:DataBind('u',concat('ff5',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PublishingIsFurlPage')}"/>
    <SharePoint:FieldDescription runat="server" id="ff5description{$Pos}" FieldName="PublishingIsFurlPage" ControlMode="Edit"/>
    </td>
    </tr>
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <H3 class="ms-standardheader">
    <nobr>Page Content</nobr>
    </H3>
    </td>
    <td width="400px" valign="top" class="ms-formbody">
    <SharePoint:FormField runat="server" id="ff6{$Pos}" ControlMode="Edit" FieldName="PublishingPageContent" __designer:bind="{ddwrt:DataBind('u',concat('ff6',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PublishingPageContent')}"/>
    <SharePoint:FieldDescription runat="server" id="ff6description{$Pos}" FieldName="PublishingPageContent" ControlMode="Edit"/>
    </td>
    </tr>
    <tr id="idAttachmentsRow">
    <td nowrap="true" valign="top" class="ms-formlabel" width="20%">
    <SharePoint:FieldLabel ControlMode="Edit" FieldName="Attachments" runat="server"/>
    </td>
    <td valign="top" class="ms-formbody" width="80%">
    <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="Edit" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('u','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
    <script>
    var elm = document.getElementById(&quot;idAttachmentsTable&quot;);
    if (elm == null || elm.rows.length == 0)
    document.getElementById(&quot;idAttachmentsRow&quot;).style.display=&apos;none&apos;;
    </script>
    </td>
    </tr>
    <xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1">
    <tr>
    <td colspan="99" class="ms-vb">
    <span ddwrt:amkeyfield="ID" ddwrt:amkeyvalue="ddwrt:EscapeDelims(string(@ID))" ddwrt:ammode="view"></span>
    </td>
    </tr>
    </xsl:if>
    </table>
    </td>
    </tr>
    </xsl:template>
    </xsl:stylesheet> </Xsl>
    <DataFields>
    </DataFields>
    <ParameterBindings>
    <ParameterBinding Name="ListItemId" Location="QueryString(ID)" DefaultValue="0"/>
    <ParameterBinding Name="weburl" Location="None" DefaultValue="http://sharepointdev:12341/sites/wiki1"/>
    <ParameterBinding Name="ListID" Location="None" DefaultValue="{6A6ECE84-4D39-48E2-BD6A-C20B2AC6355B}"/>
    <ParameterBinding Name="dvt_apos" Location="Postback;Connection"/>
    <ParameterBinding Name="ManualRefresh" Location="WPProperty[ManualRefresh]"/>
    <ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/>
    <ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/>
    </ParameterBindings>
    </WebPartPages:DataFormWebPart>
    </ZoneTemplate></WebPartPages:WebPartZone>
    </td>
    </tr>
    </table>
    <SharePoint:UIVersionedContent UIVersion="4" runat="server">
    <ContentTemplate>
    </div>
    </ContentTemplate>
    </SharePoint:UIVersionedContent>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:DelegateControl runat="server" ControlId="FormCustomRedirectControl" AllowMultipleControls="true"/>
    <SharePoint:UIVersionedContent UIVersion="4" runat="server"><ContentTemplate>
    <SharePoint:CssRegistration Name="forms.css" runat="server"/>
    </ContentTemplate></SharePoint:UIVersionedContent>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleLeftBorder" runat="server">
    <table cellpadding="0" height="100%" width="100%" cellspacing="0">
    <tr><td class="ms-areaseparatorleft"><img src="/_layouts/15/images/blank.gif?rev=23" width='1' height='1' alt="" /></td></tr>
    </table>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server">
    <script type="text/javascript" id="onetidPageTitleAreaFrameScript">
    if (document.getElementById("onetidPageTitleAreaFrame") != null)
    document.getElementById("onetidPageTitleAreaFrame").className="ms-areaseparator";
    </script>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
    <SharePoint:StyleBlock runat="server">
    .ms-bodyareaframe {
    padding: 8px;
    border: none;
    </SharePoint:StyleBlock>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyLeftBorder" runat="server">
    <div class='ms-areaseparatorleft'><img src="/_layouts/15/images/blank.gif?rev=23" width='8' height='100%' alt="" /></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleRightMargin" runat="server">
    <div class='ms-areaseparatorright'><img src="/_layouts/15/images/blank.gif?rev=23" width='8' height='100%' alt="" /></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderBodyRightMargin" runat="server">
    <div class='ms-areaseparatorright'><img src="/_layouts/15/images/blank.gif?rev=23" width='8' height='100%' alt="" /></div>
    </asp:Content>
    <asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaSeparator" runat="server"/>
    so from the above  markup  the name field is not part of the edit form,, i think this is because the Name is part of the Document content type and not part of the enterprisewiki content type .. so is there a way to add the name field to the edit
    form ?.
    second question, the edit form will show all the content type fields such as ; standard, document type, department , title (display in search), etc   so what is the best way to remove these fields from the custom edit form ?

    Hello John,
    This can only be done by adding VBScript to the form. It would basically be:
    Sub Item_Open() 
    Item.GetInspector.SetCurrentFormPage "P.2"
    End Sub
    ... where "P.2" would be what you named the page you want to display first.

  • How check page level permission on SharePoint pages library using JSOM

    Hi,
    Can anyone tell me how check page level permission on SharePoint pages library using JSOM.
    Tanks in advance .
    Regards,
    Hari
    Regards, Hari

    Hi,
    According to your post, my understanding is that you want to check the page level permission on SharePoint Pages library via JSOM.
    I have made a simple code demo to check whether current user has edit permission for the pages in Pages library, it works like a charm.
    You can re-write it to fit your environment.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    var web;
    var list;
    $(function(){
    $("#Button1").click(function()
    console.log(1);
    getListItems('Pages',success_Items,error_Items);
    console.log(2);
    function getListItems(listTitle,success,error)
    var context = SP.ClientContext.get_current();
    this.web = context.get_web();
    this.list = context.get_web().get_lists().getByTitle(listTitle);
    this.items = list.getItems(SP.CamlQuery.createAllItemsQuery());
    this._currentUser = web.get_currentUser();
    context.load(this._currentUser);
    context.load(web,'EffectiveBasePermissions');
    context.load(items);
    context.executeQueryAsync(
    function() {
    success(items);
    error
    function success_Items(items){
    var e = items.getEnumerator();
    while (e.moveNext()) {
    this.item = e.get_current();
    console.log(this.item.get_item('FileLeafRef')); //print File or Folder Name
    console.log(this.item.get_item('FileRef')); //print File or Folder Url
    if (this.web.get_effectiveBasePermissions().has(SP.PermissionKind.editListItems)) {
    console.log('Nice, edit list item permissions!');
    else {
    console.log('Boo, no edit list item permissions!');
    function error_Items(sender,args){
    console.log(args.get_message());
    </script>
    <input id="Button1" type="button" value="Check Permissions"/>
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Content Query Web Part - in 2010 but Catalog-Item Reuse in 2013

    In SharePoint 2010 I exported this SharePoint Links List to be a WebPart that I can put for things.  It's our company's "Popular Links."  "WE" decide what is "Popular."  We have a few that I am sharing here. 
    In 2010 I got this to be a web part that I can pop onto multiple sites on our site collection.  Now in 2013, I'd like to use Search if possible to get this to work.  I tried and it didn't come out right.
    SharePoint 2013 Enterprise Edition RTM dec 2013 CU
    I tried the Items Matching a Tag and I set a tag to be "Popular Links" and set the tag on the items below in this graphic.  I then set it to look only at these.
    This is on the same page on the "home" page, publishing turned on.  I don't have the "feel" of the first "list" that I did on the graphic above.  It's not CSS as it is on the same page using the same master page. 
    Also when I click on the link it takes me to the displayform.aspx?id=1 page and I want to have the user just click the hyperlink.
    Could I / should I use the Catalog-Item Reuse feature with publishing and get a new site collection setup with this?  I am frustrated as I'd like to "share" information in another site, just as this "perfect" example (for me) to
    show this information multiple times.
    Thank you!

    CQWB is supported for Publishing Sites or site having publishing feature turned on, on other it will not work as expected.
    You can add it on the page from ribbon insert web part> from categories select Content Rollup > next pane slect Content Query.
    http://info.axceler.com/Blog/bid/116286/Content-Query-Web-Part-vs-Content-Search-Web-Part
    http://www.cwheeler76.com/Lists/Posts/Post.aspx?List=9a19060b-0efe-4368-8360-b07d23dc5c7b&ID=6&Web=916c3f13-7f62-4b71-b302-6fd9106b4bb2
    here is MSDN to customize it:
    http://msdn.microsoft.com/en-us/library/ff650512.aspx 
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to retrieve the Page ID of newly created page in site pages library using javascript

    I am creating the page programmatically under site pages library and want to get the ID of that newly created page.

    Hi,
    The following JavaScript Code for your reference:
    <script src="http://code.jquery.com/jquery-1.11.2.min.js" type="text/javascript"> </script>
    <script type="text/javascript">
    $(document).ready(function () {
    var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/GetByTitle('Site Pages')/items?$select=ID&$orderby=Created desc&$top=1";
    // execute AJAX request
    $.ajax({
    url: requestUri,
    type: "GET",
    headers: { "ACCEPT": "application/json;odata=verbose" },
    success: function (data) {
    alert("The newly created page ID is " + data.d.results[0].ID);
    error: function () {
    alert("Failed to get customer");
    </script>
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Printing SharePoint 2013 Wiki Page Library as a whole

    Hi!  I'm trying to find a good solution for printing an entire SharePoint 2013 Wiki page library.  In SharePoint 2010 I built a site and created a printer friendly view that used "Wiki Content" column that only printed the contents
    of the wiki pages as a whole using the solution from this link:
    https://mail.americredit.com/owa/redir.aspx?C=Wl_sVZBaUUqYaSN9F2Qq6Mc3RL-ZwtEIzEWL5ULgM7U6Hr1eoqsoq26BC3E89ofm2Liksb54EjM.&URL=http%3a%2f%2fwww.eblogin.com%2feblogin%2fpost%2f2011%2f11%2f24%2fsharepoint-wikiPagePrint.aspx%23.VDVWdPldVBc
    It was very easy to do and my client loved it.  However, now that we are starting to migrate over to SharePoint 2013 I don't see the same column option and I haven't been able to create a printable view like the one above.  Is there a way
    to do this in 2013 like what was available in 2010? 

    Hi Jeremy,
    That link take me through to an Exchange Login.  Can you provide another link for the solution you've used.
    An older solution that sounds familiar is in this thread.  It's for an older version of SharePoint but should still work
    https://social.technet.microsoft.com/forums/sharepoint/en-US/1612dfdb-f85c-4e6f-90f4-3d6c24b6472c/how-do-you-print-a-sharepoint-wiki
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Unable to create a page which deleted from pages library

    hi,
    I want to create a page from my site collec's pages library. i have already created the page say one.aspx and i have deleted the same. and  again    i am trying to create the same page one.aspx. but i am getting 
    serevr error  in appln.

    Paul,
    thanks for your  reply.
    i have confirmed from the recycle bin also. 
    even i hav tested it with a console appln also : here is the code :
    namespace TestingConsoleApplication1
    public class myProgram
    public static void Main(string[] args)
    myProgram objmyprog = new myProgram();
    objmyprog.deleteonepage();
    public void deleteonepage()
    PublishingWeb publishingWeb = null;
    using (SPSite oosite = new SPSite("http://srvr1/sites/OPTC"))
    using (SPWeb ooweb = oosite.OpenWeb())
    if (PublishingWeb.IsPublishingWeb(ooweb))
    publishingWeb = PublishingWeb.GetPublishingWeb(ooweb);
    // get the pages collection
    PublishingPageCollection pages = publishingWeb.GetPublishingPages();
    if (pages[publishingWeb.Url + "/Pages/EditMetadataPage.aspx"] != null)
    // page exists so delete it
    PublishingPage page = pages[publishingWeb.Url + "/Pages/EditMetadataPage.aspx"];
    page.ListItem.Delete();
    can you pls help.
    scrn shot is attached.

  • How to create a new aspx page in Pages library using Elements.xml without including any aspx page layout in my feature?

    Is it possible to have the elements.xml file create a page in the Pages (or SitePages) library without actually including any sort of page layout or aspx artifact in the feature?
    I see no reason to add a mywebpartlayout.aspx to my feature just so I can deploy a Home.aspx based on the BlankWebPart.aspx page layout. 
    I'm sure there is something obvious I am missing with regards to the Elements schema (which is why I've almost given up on using it completely and just gone to pure C#) but
    I would really like to do this kind of simple stuff with declarations if at all possible. Must less code to write, debug, test and maintain.

    I don't see how my question keeps getting misunderstood. This seems to be very clear and clearly not answered: "Is it possible to have the Elements.xml file
    create a page in the Pages (or SitePages) library without actually including any sort of page layout or aspx artifact in the feature?"
    I can't be more clear than "without including ANY sort of page layout or aspx artifact (meaning anything ending in aspx) IN THE FEATURE". I am not capitalizing to yell,
    only to emphasize. Your disagreement is based on a link that shows ADDING AN ARTIFACT (the dummy MyPage.aspx) to a feature. I am asking if it
    is possible (again, I cannot be more clear) to just use an Elements.xml file to instruct SharePoint to make a new item in a Pages or SitePages library. 
    Your definition of page includes Page Layouts and what you call Web Part Pages (again, a type of page layout + data in a site pages list that says what webparts
    to display). Page Layouts are clearly NOT items stored inside of a SitePages or Publishing Pages library. Those libraries are just lists whose records
    define the parts to show inside a specific layout.
    When I refer to a Page I mean an entry into a pages (site pages/publishing pages) list. If I wanted to deploy a page layout then, quite obviously, I would need
    to include it into my solution. I think maybe you are assuming that I do not know the difference. I do. The question is, can an Elements file alone be enough to instruct SharePoint to make a new entry into a Pages or SitePages library. 
    Now, your second link does show how to reference an existing Page Layout. Thank you for that. It is excellent. But this still leaves the problem of having to
    add some sort of aspx page into the solution. Let me try to explain why I feel this SHOULD BE unnecessary: The aspx file will not have anything on it if I am referring to the ~sitecollections/.../BlankWebPartPage.aspx layout.
    All web parts and content that should appear on the new page can be described IN the Elements.xml file. Any sort of aspx file is unnecessary, it seems to me.
    So, if I am referencing a ~sitecollections/.../BlankWebPartPage.aspx page layout and specifying the web parts to add to the page, why should there be a
    requirement to have some aspx file within the feature? That's what I am trying to figure out.
    I am not asking for source code as proof. I am asking for an Elements file that does NOT reference anything AT ALL inside the Visual Studio solution for reasons I just described.
    If you do not know how to do it then perhaps it cannot be done but I would like the question to stay unanswered for a little while until someone can demonstrate either a) it CAN
    be done or b) a link to some Microsoft document stating that it is MANDATORY to have a physical element within the feature that gets copied to the environment.
    I think it is important to understand what is being asked before insisting you have answered. It is clear from your posts that you have not fully understood the question yet but
    I am hoping this posts makes it clear. I really appreciate you taking the time to respond, though. You seem to be the only one up for the challenge! :)

  • Custom Product catalog item text not displayed after product search

    Hello Experts,
    1. We have configured a custom PCAT_ITM text - Product catalog item text. - (say 000A )
    2. Have appropriate text determination procedure, access sequence to determine this custom text
    3. The text determination procedure has been chosen in the custom catalog type.
    The above steps lets us use and publish this custom text in catalog using the text id ( TEXT000A_ ).
    4. For accessing this text in the ISA Catalog search, we have maintained the text-id mapping in the file catalog-site-config.xml as follows:
      <Map ID="siteMapID">
        <Key ID="Subtitle">TEXT_000A</Key>
    </Map>
    Well, the issue now is, this setup works fine only in certain pages, but not in some other pages.
    a. Works fine in ProductDetails.inc.jsp - currentItem.getAttribute("TEXT_000A") gives the right catalog item text value.
    b. Doesn't work in organizer-content-product-search1.jsp - product.getCatalogItem().getAttribute("TEXT_000A"). Though the expectation is to get the catalog item text, we get a value "TRUE", yes (TRUE).
    Can any expert tell if we are missing anything.
    Easwar Ram

    Hi Suvitha,
    It may help in you looking up tables STXH / STXL before and after you make a change to one of your text objects ZPROD_DES.
    Cheers,
    Ashok.

  • UNSPSC code is not passed for RT catalog item then error !!

    Hi SRM GURUs,
    We have implemented BBP_CATALOG_TRANSFER BADI.
    In which if a RT catalog item is not having UNSPSC code then we are passing some generic material group for that particular item.
    Here the issue is, if a UNSPSC code is not passed for a RT catalog item, then system is throwing error message "No logical system for FI is maintained. inform system admin".
    Also, a pop-up is coming on SRM screen "Error in system;shopping cart cannot be processed further" and then after clicking on "OK" of the POP-UP it is taking me on SRM home page.
    will anybody explain why this is happening ? Kindly, explain this logic (As this logic is in standard SAP program)?
    PS: we are at SRM5.0 & CCM2.0.
    Thanks !!
    Vivek

    Hi Masa,
    we tried with blanking out the material group. we have got few errors but not of type like above mentioned.
    The errors are as follows.
    Cost center should not be blank
    Service Account assignment should be Cost Center(Services) or Cost Center(Sched Services) or Network
    Tax code ZZ in procedure TAXUSX is invalid
    No G/L account was entered. Enter a G/L account
    Product category 41E532538A930138000000000A4023DB does not exist
    Enter the product category
    Error in account assignment for item 1
    Not possible to calculate tax
    In SLG1 the log is green and contains following.
    Start of line 000000 in shopping cart of catalog
    External product category 26111710 contains errors or does not exist
    where the number 26111710 is the UNSPSC code which i was deleted while debugging.
    Please help on this.
    Thanks in adv.
    Vivek

Maybe you are looking for