Custom Edit Page for Portlets

Hi
I'm looking to customize the look and feel of the edit page for a portlet programmatically. I have extended my own class from the DefaultContainerRenderer class and have overridden the renderDesignFormBodyBegin() method.
And have also made an entry into the provider.xml for this as follows
<portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
<id>3</id>
<name>SynergyLatestIDDBDrugs</name>
<title>SynergyLatestIDDBDrugs</title>
<description>SynergyLatestIDDBDrugs</description>
<timeout>40</timeout>
<showEdit>true</showEdit>
<showEditDefault>true</showEditDefault>
<showDetails>true</showDetails>
<containerRenderer>com.tysynergy.container.SynergyLatestIDDBDrugsContainer</containerRenderer> <renderer class="oracle.portal.provider.v2.render.RenderManager">
<autoRedirect>true</autoRedirect>
<contentType>text/html</contentType>
<showPage class="com.tsynergy.renderer.SynergyLatestIDDBDrugs"/>
<editPage class="com.tsynergy.renderer.SynergyLatestIDDBDrugsEdit"/>
<editDefaultsPage class="com.tsynergy.renderer.SynergyLatestIDDBDrugsEdit"/>
</renderer>
<personalizationManager class="oracle.portal.provider.v2.personalize.PrefStorePersonalizationManager">
<dataClass>com.tsynergy.personalize.SynergyLatestIDDBDrugsPersonalize</dataClass>
</personalizationManager>
</portlet>
But I get the following error -
oracle.portal.utils.xml.v2.NodeHandlerException: Class oracle.portal.provider.v2.DefaultProviderDefinition has no set or add method for tag "containerRenderer"
Has anyone come across this before?
Deepak

Hi
Thanks.
I got rid of my earlier error as I was using the conatinerRenderer tag in the wrong way. It should have been
&lt;containerRenderer class="com.tsynergy.container.SynergyLatestIDDBDrugsContainer"/&gt;
Now I get to display the my edit content; But I still haven't been able to get rid of the top default portal banner that appears on my edit page. It has the default logo gif and the link to the home page.
I can now put my own form and &lt;input&gt; types, Just need to get rid of the default banner now.
Deepak

Similar Messages

  • Custom edit page for content type

    Hello,
    I have following problem:
    when i try to open  my custom Edit Form for content type I have next error 
    System.NullReferenceException: Object reference not set to an instance of an object.    at Microsoft.Office.DocumentManagement.Pages.EditVideoSet.AddListFormWebPart()     at Microsoft.Office.DocumentManagement.Pages.EditVideoSet.OnInit(EventArgs
    e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    44f6799c-6c5b-f0ab-e8ef-4d53a0f0b5eb
    I think problem is in custom page
    that almost the same as "EditVideoSet.aspx" but have code behind
    <%@ Page Language="C#" DynamicMasterPageFile="~masterurl/default.master" Inherits="Intergation.Layouts.Intergation.ApplicationPage2Edit"   CodeBehind="ApplicationPage2Edit.aspx.cs"       %> 
    public partial class ApplicationPage2Edit : EditVideoSet
    My task - create copy of the already existing edit page, but with code behind possibility.
    What I did wrong?

    Hi
    Thanks.
    I got rid of my earlier error as I was using the conatinerRenderer tag in the wrong way. It should have been
    &lt;containerRenderer class="com.tsynergy.container.SynergyLatestIDDBDrugsContainer"/&gt;
    Now I get to display the my edit content; But I still haven't been able to get rid of the top default portal banner that appears on my edit page. It has the default logo gif and the link to the home page.
    I can now put my own form and &lt;input&gt; types, Just need to get rid of the default banner now.
    Deepak

  • 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.

  • Error in configuring Custom Error Pages for Faces Portlets

    According to
    http://e-docs.bea.com/wls/docs92/schemaref/controls-netuix/http.www.bea.com.servers.netuix.xsd.controls.netuix.1.0.0/element/facescontent.html
    you can specify an errorUri attribute on the facesContent object for the error page.
    <netuix:facesContent contentUri="/testList.jsp" errorUri="/error.jsp"/>
    WebLogic Workshop even allows setting this in the tool.
    However, the errorUri never gets picked up and the following error shows up.
    <BEA-423266> <No setter for property :: errorUri.>
    Anyone faced this problem. Is there any other alternative to specify a custom error page for JSF portlets.
    Please note that the errorUri works fine for the jspContent tag used for JSP Portlets.

    Hi Sanjeev,
    You need to check if you have access to AXF_CONFIGS table. Check if you have ran GRANT_ACCESS.sql script which has below grant commands.
    grant execute any type to apps;
    grant create type to AXF;
    grant select on AXF.AXF_CONFIGS to apps;
    v_formId AXF_CONFIGS.FORMID%TYPE; means tableName.columnName%type;
    so looks like when you are running AXF_EBS_SOLUTION_DATA.sql you are not able to access AXF_CONFIGS table.
    Hope this helps.
    Regards,
    Amol Gavali.

  • How to set custom master page for sharepoint application page ?

    Hello,
    I need to apply custom master page for the custom application page I created for login purpose.
    Can anyone please let me know how to apply master page for custom application page ?
    Note : I need to set custom master page for application page at web application level.
    thanks,
    Dipti Chhatrapati

    Hi Dipti,
    You can use the same reference as ASP.NET
    Example
    "<%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/minimal.master" title="teste" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
    meta:progid="SharePoint.WebPartPage.Document" %>"
    You can use SharePoint Designer 2010
    http://www.microsoft.com/download/en/details.aspx?id=16573 to make the reference from you aspx page to you custom masterpage.
    When you are editing a aspx page you can go to ribbon "Style" and attach the custom Masterpage.
    André Lage Microsoft SharePoint, CRM Consultant
    Blog:http://aaclage.blogspot.com
    Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

  • How to set custom master page for social/sites.aspx in sharepoint 2013

    How to set custom master page for social/sites.aspx in sharepoint 2013.?
    File path is
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\SocialDataStore\SocialDataStoreList\sites.aspx
    Thanks in advance

    Hi,
    You could open the sites.aspx in Notepad or SharePoint designer, and set the master page to your own master page directly via editing:
    <%@ Page language="C#" MasterPageFile="~masterurl/custom.master"      Inherits="Microsoft.SharePoint.Portal.WebControls.FollowedContentWebPartPage,Microsoft.SharePoint.Portal,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"
    %>
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Apply custom master page for a new sub site in programming

    Hi;
    How Apply a custom master page for a new subsite ?
    My code is as follows but it not working : the master page is not applied ?
    SPWeb newSite = web.Webs.Add(name, name, name, Convert.ToUInt16(1036), "{815BF557-AFE0-42B4-92A1-A8A56011EDBF}#LaPoste.DTC.ModeleSite", false, false);
    newSite.AllProperties["__InheritsCustomMasterUrl"] = "False";
    newSite.CustomMasterUrl = "/_catalogs/masterpage/iDtc/iDtcGeneric.master";
    newSite.AllowUnsafeUpdates = true;
    newSite.Update();
    Regards

    try this:
    foreach (SPWeb site in siteCollection.AllWebs) {
    if (site.Title.ToString() == "Reporting Portal")
    site.MasterUrl = WebAppRelativePath + "_catalogs/masterpage/Branding101.master";
    //site.CustomMasterUrl = WebAppRelativePath + "_catalogs/masterpage/Branding101.master";
    site.AlternateCssUrl = WebAppRelativePath + "Style%20Library/Branding101/Styles.css";
    site.SiteLogoUrl = WebAppRelativePath + "Style%20Library/Branding101/Images/Logo.gif";
    site.UIVersion = 4;
    site.UIVersionConfigurationEnabled = false;
    site.Update();

  • Problem with creating Edit page for employees , based on otn tutorial

    Hi
    Thank you for reading my post
    I used one of oracle tutorial and create a jsf page which contain a for for departments
    and a table for employeed ( I used visual and declarative development with oracle jdeveloper)
    Now i want to add an edit page to my jsf project which allow me to edit an employee
    to do this : I add a jsf page , I add editing form (the edit form work well , I mean which i change the data and press submit it change the data in database)
    now the problem is that i want to link this two page
    in a manner that when user select an employee from table and pressed edit button ,
    it shows edit page with that employee as "under edit" employee
    here is the link that i used to learn this stuff.
    http://www.oracle.com/technology/products/jdev/viewlets/1013/jdev_overview_xp_viewlet_swf.html
    Thanks

    Basically you create a JSF Page Navigation diagram and drag on you customerList page and your Edit Customer page. Add an "arrow" to link the two pages and name this arrow EDIT.
    Then drop a button onto the CustomerList page and the ACTION property will not have a drop down list and you select EDIT (which is the name of the arrow you created).
    Simple steps available using the workshop on the right hand side of the page
    otn.oracle.com/formsdesignerj2ee
    Regards
    Grant Ronald

  • Custom Master Page for Cases in eDiscovery

    We are creating eDicovery site using custom site template. Site gets created using custom master page that we have set. Now, there are two option to create New Case.
    #1. Use "Create New Case" button on Right Top Corner on home page
    #2. OR Go to cases link on Left hand side menu i.e. ('ViewCases.aspx'  page)
    Problem 1...
    this viewCases.aspx application page from _layouts uses seattle.master by default. how to change this?
    Problem 2...
    If we hover on "create" link on cases page, we see URL as [URL]/newsbweb.aspx?ID=3300.
    if we click on this link custom templates for creating cases are not visible. obviously, if I create case using OOB template it will use seattle.master page.
    If we remove ID=3300 from browser URL string and refresh, custom templates are available and I can create cases using custom template with my custom master page.
    interestingly, "Create New Case" button mentioned in #2 redirects to same page newsbweb.aspx but with no ID parameter and works fine.
    Please help how to set master page for viewCases page and what is this 3300 and how to remove it from create link.
    Thanking in advance in anticipation of useful pointers.
    ++

    By default SharePoint 2013 detects and display the content based on the mobile device. Refer to the following post on how to disable the default view and create a custom mobile view
    http://academy.bindtuning.com/deactivate-sharepoint-2013-mobile-view/
    Cheers,

  • Customized JSP Page for LOV from a OAF Page

    We want a customized LOV page that will be a new JSP page instead of OAF JRAD XML. Right next to this new item we will put a link to open us this new JSP page. The base page is OAF page. When user selects the data from the new LOV JSP page, it has to be passed to the base page items. Is it possible to acheive this?

    You cannot do that, all queries and eventual data binds to UIX beans must ha[[en through VOs.
    What I can suggest as a workaround is this.
    1. Create a normal LOV based on a VO
    2. Create rows for the LOV VO
    3. populate the attributes of the VO row with the values that you have in your collection object.
    4. Insert the row in your VO.
    Thanks
    Tapash                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Custom edit forms for XMLForms

    Using XML Forms in EP 6.0 SP9, I've created a default edit form and another custom edit form. The idea is that users will only see the default edit form, while content administrators will be able to see the more detailed custom edit form.
    I've noticed that the XMLForms project has a property for the default edit form, i.e. you can change this while designing your project in XMLForms Builder. Is there any way of changing this property when someone clicks on the 'Save' button on the default edit form?
    Thanks,
    Danie.

    Hi ivicapro,
    According to your description, my understanding is that you want to create a custom New/Edit form for each content type from an announcement list with mulitple content types.
    You can do it via SharePoint Designer 2013. Firstly, open your site with SharePoint Designer, then go to the list, and click “New…” in
    Form section. And when you create a custom form, you can select the type of the form and the content type. If you want to use the custom form as default form for the content type, you can select “Set as default form for the selected type”.
    There is a screenshot for your reference:
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Editable Pages For Content Manager

    Hi
    On my website I would like my friend/the client to be able to login (there will be only one user) and after he logs in - some of the pages should 'change' to allow user input/edits.
    I have designed the pages - both editable (with forms) and non editable (just content). - ((The website uses PHP and a MySQL database.))
    What is the recommended way/'best' way to send the logged in user to the editting pages - and the general guest to the non-edit pages?  - Do I use separate pages - or should I use conditionals on a single page to display content/forms based on the person viewing the site?
    In otherwords - I want to create a very basic CMS for my client after he has logged in.
    Thanks!
    Chris

    1. Make a directory in the website. I name mine "admin." This directory will be password protected, or protect access using sessions.
    2. I don't know how you organized your database, but normally the content for all the pages will be in a single table (in some cases a set of joined tables). To edit the content of a page, you need to populate a form in your admin system with the desired page content. So first you have a menu page which lists the pages (i.e. contact, home page, etc.). The items listed should link to the form that edits the page content and opens it up with the appropriate page content.
    For instance, you can use the GET variable to send the appropriate page ID, like this:
    edit_page.php?page_id=7
    The edit page will contain a form with fields such as TITLE, MAIN_PHOTO, MAIN_CONTENT, LEFT_COLUMN_CONTENT.
    The content fields will use the textarea form field type and usually you want to connect them to a WYSIWYG editor like TinyMCE or CKeditor. My preference is CKeditor. Using such an editor gives the content manager the ability to format text, create lists, add images, etc.
    There is an eBook called Build Your Own Database Driven Website Using PHP & MySQL, published by Sitepoint. It isn't the best book about PHP/MySQL, but it does focus on the elements of a basic CMS.

  • Setting a custom 404 page for a mysite verizon web site

    I have a personal web site at mysite.verizon.net/naesdraw/index.htm.
    I have been trying for awhile now to get a custom 404 page set up on it, naesdraw/404.htm
    I looked for information on this but nothing I've tried has worked, .htaccess, nothing. The .htaccess(before I removed it from the root) said :
    ErrorDocument 404 http://mysite.verizon.net/naesdraw/404.htm
    From things I've read, I'm begining to think that it is an issue on the server side of the operation - not me.
    Any suggestions on how to solve this? I'm entering the site to be judged soon, and I'd like to have it ready, since this is the last year I can enter it.

    it is server side.
    if only it were as easy as placing a 404.htm in the root dir lol.
    ... and by the way, i like turtles

  • Create custom Edit button for list on SharePoint 2013 page

    Hi
    I have a custom list which holds contact information such as name, telephone, address.  I am displaying the custom list webpart with using a custom view on the site home page which only shows name and telephone.  It should only
    have 1 item so 'New Item' is not needed.  However I still need to be able to edit the item.  If I click 'Edit' on the list view on the home page, it will open a quick edit box only showing name and telephone. 
    How can I create a custom button on the home page that will open the custom list item form instead?  Therefore all columns will be editable and I can remove the "New and Edit" toolbar from the webpart.
    Marc Collins www.QGate.co.uk

    Hi,
    According to your post, my understanding is that you want to open the custom list item form.
    Per my knowledge, there is out of box method to achieve it.
    After you insert the web part to a page, you need to edit the web part and change List Views as below, then it will remove the "New and Edit" toolbar from the webpart.
    In the page, if you click the web part , the ribbon will appear. After you select the item and click Edit Item, the edit form with all fields will be displayed.
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Using a custom login page for the portal

    Hi all,
    I'm currently doing a migration from Plumtree 4.5WS to Plumtree 5.0.4. In the current 4.5WS portal, I'm catering to 3 different login mechanisms due to time-lags in migration of my users' workstations. The 3 mechanisms are:
    1) Smart Card Reader on Windows 95 using TLS (uses a client side ActiveX)
    2) Smart Card Reader on Windows XP using SSL (uses client side ActiveX)
    3) Java PKI Card on Windows XP using SSL (uses server side scripting)
    To cater to the above, we've made customisations to login.asp and dologin.asp and also added a few scripts of our own.
    I now need to migrate these over to Plumtree 5.0 as well. I've thought of 2 ways to do this:
    1) Doing a custom view replacement of the Login View. This however has limitations as I'm not sure how the codes for the above 3 mechanisms will come in, especially 3), which involves server side scripting.
    2) Creating a custom login and exit page. This is probably a much more feasible solution in my case as it allows me to freely create my login pages and exit pages accordingly to cater for the above. However to do this, I need to be able to customize the Log In and Log Off links on the Portal Banner in order to point these to my own login and exit pages.
    Any ideas what is the best (or correct) way to do this?
    Thanks!
    Weng Kong Lee

    AFAIK only one login.jsp is called.
    But you can include logic into that one JSP file.
    If referer = portal.company.com THEN
    else
    This way you can create different look and feel for different virtual hosts.
    Login portlets have the disadvantage that https is not supported
    Ton

Maybe you are looking for

  • IS-U INV: Creation of FI-CA documents during invoicing

    Hi, I need to create a couple of FI-CA documents during invoicing process. I found the Event R402, is there possible to create more then one FI-CA document? Thanks for answers. Vlado

  • Block list display when report is executed in background?

    Hello all, when i execute the report program in foreground ,output is displayed as block list with two blocks say success table and failure table. when i execute the same report program in background, i could see only a single block which is success

  • Re installing programs on new laptop

    Hi there! I have Creative Suite 5.5 Design Premium and my laptop died! Had to get a new laptop and just tried to re install my programs but it came up with the error installing. How do I install????

  • Aperture vs Lightroom: any head-to-head comparisons/reviews?

    I've spent a good deal of time looking for a head-to-head comparison of Apple's Aperture and Adobe's Lightroom and haven't been able to find anything. Can anyone point to to something? I'm an amateur photographer who is progressing toward semi-profes

  • Erroneous no of data updation for RDA

    Hi experts,          i have created a generic datasource made it RDA enabled  for test purpose, executed successfully init of delta. As per method created RDA package assigned package and dtp to daemon, settings were period -1 MIN and autometic closu