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

Similar Messages

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

  • 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

  • Replace Default "New" / "Edit" Forms for Custom List

    Having created a web page that is just simple HTML with JScript to bring it "to life" in SharePoint designer, how can I cause SharePoint 2010 to present this page for the "New" action? Or for the "Edit" action?
    This page is not associated with the Master Page/Content paradigm.  It is at WebSite/Lists/TheTargetList/TheTargetForm.aspx
    When I show the list properties tab for this list in Designer, and go to the "Forms" section (subtitled "Forms are used to display and edit data contained within this list"), and click the "New..." button at the right of
    that section's title bar and fill in the Title with the title of my file, I cannot add the file.  (The bread crumbs at the top say "Site > Lists and Libraries > ListName > ")
    Alternately, I go to the bottom of the tab's page, and select the link "Item" under Content Types (the choices being "Item" and "Folder").
    Then the bread crumbs say "Site > Lists and Libraries > ListName > Content Types > Item >"
    In the "Forms" section, I try to put the fully qualified name of the page I have created (my ..aspx file) in the "New Form:" or "Edit Form:" areas, after having clicked the "<click to enter text>" links.
    This lets me save that change, but destroys the web site's ability to show anything when I try to go to New or Edit — essentially "File not found."  The same if I provide only the file name,
    not fully qualified.
    So, if I have "Site/Lists/List/XYZ.aspx," and if that file is like:
    <html>
    <head>
    <script> . . . </script>
    </head>
    <body> . . . <br /> . . . </body>
    </html>
    How can I get this file to be opened as the "New" or "Edit" form for the list?

    Hi  BrianWren ,
    According to your  description, my understanding is that you want to present a web page as the New Form page.
    For achieving your demand, you need to create custom form using Visual Studio instead of SharePoint Designer.
    Here is a good blog you can have a look:
    http://blog.karstein-consulting.com/2010/12/29/walkthrough-create-custom-sharepoint-2010-list-form-for-deployment-in-a-visual-studio-2010-project/
    http://www.sharepointblogs.be/blogs/sebastian/archive/2011/02/08/change-the-standard-forms-of-a-list.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Custom Edit Forms missing Outcome Buttons

    I've created a Content Type "MyTaskContactType" which inherits from Workflow Task (SharePoint 2013) which inherits from Task.
    I've added an Outcome Choice with a value of "Completed" on "MyTaskContentType".  It shows when I create a Task in workflow using it.
    The list it uses is "Workflow Tasks".  If I use the default  Editform.aspx it shows a button called "Completed" when the assigned task is edited.
    I really only need the description Column to display, along with the button "Completed", however.
    So I created a custom Edit form "MyCustomEditForm" using the "New" forms in designer.  I selected Edit as type and the content type I created ("MyTaskContactType").
    The problem is no matter what I try, the "Completed" button will not display on "MyCustomEditFrom".  In addition I don't know how to get rid of the irrelevant "Save" button.
    Any suggestions?
    Thanks.
    Tom

    See below links, if they help
    Save a SharePoint site as a template
    Export
    or import a Web package
    List Forms
    Deployment for SharePoint 2010 Part 1 of 4
    Package and Deploy a SharePoint
    Designer Workflow
    You may find few more if searched.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How-to synchronize edit forms for a single View Object tree node entrie

    Hi all,
    I created a tree from a single View Object,
    follow this [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/32-tree-table-from-single-vo-169174.pdf]
    then i want to create and synchronize edit forms for tree node entries,
    follow this [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/50-synchromize-form-treeselection-169192.pdf]
    but it not working when i click child node!!
    i found the latter tree from many View Object ,but the former tree from single View Object.
    what should i do?
    Thanks in advance

    Hi,
    say the tree is built from ViewObject1. In the AM model, create a second View Object instance for this. Say ViewObject2. Create the form from ViewObject2 and the tree from ViewObject1. When creating the tree, use the"Target Data Source" option at the bottom to reference the iterator of ViewObject2. Then create a PartialTrigger on the paneFormLayout that holds the synch form. In the partial trigger property, reference the tree so that when the tree selection changes, the form is updated. Then create a PartialTrigger property on the tree and point it to the submit button of the form so you can show updated values in the tree.
    Frank

  • CANNOT USE "Advanced Custom Search Form For ADF"

    Hi,
    I have tried the application on this old post but it doesnt work on jdev 11g even after migrating.
    Can some body tell me whats wrong and / or post a working application here.
    Need to use this functionality urgently.
    the original post is here.
    http://my.opera.com/dominionspy/blog/2007/02/26/an-advanced-custom-search-form-for-adf
    Any help is really appreciated.

    Thanks for your reply.
    Could you tell me where can i find example implementations of the query model classes.
    they have mentioned it to be found in "For an example implementations of the different model classes for a query, see the classes located in the oracle.adfdemo.view.query.rich package of the ADF Faces sample application."
    Also where can i get the source code for this http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    thanks in advance

  • How to use different edit form of XMLForms

    I've noticed that to display a "Show" form of a XMLForms project the iView "com.sap.km.cm.xmlformpreview" is used. For "Edit" form respectively "com.sap.km.cm.xmlformedit" is used.
    How can I make an iView that shows a different custom form, for example "Edit2", which was implemented in XMLForms Builder?
    BR / marek

    Hi,
    You cannot have more than one edit form. We have a similar problem and we did the following:
    - Create one project (with its corresponding Edit form) and a ListShow.
    - Create another project based on previous one with a different Edit form. If this project has the same root element in his xml schema it can be processed in previous ListShow.
    In this scenario each document can be modified with its corresponding edit form. It's not possible to select edit form to manipulate an xml-form document.
    Regards,

  • 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

  • Custom tabular form for multi-row not saving data

    Ok, before anyone asks, yes, I did read the how-to:-)
    I have a custom tabular form, which I did cause I need to use popups and the popups that you can use in the wizard tabular form does not display the text but rather the value underneath it.
    It returns data rather nicely and when I go and update values I can tell it is changing the fields underneath. I put a process in that will display the values in text fields on the form (for one row only) and I see them changing from what is already there and with the proper values.
    However, when I do that the data that is displayed then gets reverted back to what it was previous to the update but reports that the process was successful.
    I have also tried to insert but that is basically doing the same thing. Can anyone guide me.
    SQL to generate the tablular form...
    SELECT x.sak_release_db
    , x.sak_object
    , x.sak_release
    , x.sak_participant
    , x.sak_csr
    FROM
    (SELECT htmldb_item.hidden(1,sak_release_db) sak_release_db
    , htmldb_item.popupkey_from_query(2, sak_object,
    'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
    FROM system_object a
    , database_table b
    WHERE a.sak_object = b.sak_object') as sak_object
    , htmldb_item.hidden(4,sak_release) sak_release
    , htmldb_item.popupkey_from_query(5, sak_participant,
    'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
    , htmldb_item.popupkey_from_query(7, sak_csr,
    'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
    FROM release_db_xref
    UNION ALL
    SELECT htmldb_item.hidden(1,NULL) sak_release_db
    , htmldb_item.popupkey_from_query(2, NULL,
    'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
    FROM system_object a
    , database_table b
    WHERE a.sak_object = b.sak_object') as sak_object
    , htmldb_item.hidden(4,NULL) sak_release
    , htmldb_item.popupkey_from_query(5, NULL,
    'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
    , htmldb_item.popupkey_from_query(7, NULL,
    'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
    FROM dual) x
    Process to verify that I have the correct global fields: (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations)
    begin
    :P3_2 := replace(htmldb_application.g_f02(1),'%'||'null%',NULL);
    :P3_5 := replace(htmldb_application.g_f05(1),'%'||'null%',NULL);
    :P3_7 := replace(htmldb_application.g_f07(1),'%'||'null%',NULL);
    end;
    Process to do the insert/update. Note, I hardcoded the value in the where clause but I was originally using the global value for g_f01 (i also tried putting a commit in there for fun) (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations):
    -- Update the RELEASE_DB_XREF table
    FOR i IN 1..htmldb_application.g_f01.count
    LOOP
    IF htmldb_application.g_f01(i) IS NOT NULL THEN
    UPDATE release_db_xref
    SET sak_object = replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    , sak_participant = replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
    , sak_csr = replace(htmldb_application.g_f07(i),'%'||'null%',NULL)
    WHERE sak_release_db = 22;
    ELSE
    IF htmldb_application.g_f02(i) IS NOT NULL THEN
    INSERT INTO release_db_xref
    (sak_object
    ,sak_release
    ,sak_participant
    ,sak_csr)
    VALUES
    (replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    ,htmldb_application.g_f04(i)
    ,replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
    ,replace(htmldb_application.g_f07(i),'%'||'null%',NULL));
    END IF;
    END IF;
    END LOOP;

    Florian,
    Checkboxes are different from other HTML form items. When you have a text box for example, there's always a value send to the server when submitting. Even if that value is NULL. When you have a checkbox however, you only get the value if the checkbox is checked. It's not posted to the server when it is not checked. That's the general behavior of HTML forms and not specific to Oracle HTML DB.
    When working with tabular forms in HTML DB, you can access your form values using the htmldb_application.g_f0x arrays. Now if you have for example 10 rows in your form, then you'll get ten elements in your array for text boxes, select lists, etc. For checkboxes however you'll only get as many elements as you have rows checked. If I read your update and insert code correctly, you're trying to use the checkbox arrays the same way you use the arrays based on other item types. My recommendation would be to use Yes/No select lists instead of checkboxes or at least use select lists initially to get it working and then work on properly processing the checkboxes.
    Some general information about working with checkboxes in tabuar forms can be found here:
    http://www.oracle.com/technology/products/database/htmldb/howtos/checkbox.html#CHECKBOX_IN_REPORT
    Hope this helps,
    Marc

  • 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

  • Creating custom correspondence forms for external confirmations

    Hi gurus,
    could you please share your experience, what is the possible solution to create custom external correspondence forms -  confirmations for Business partners or modify the template,  like the one pre-delivered by SAP - F_TR_CONFIRM_ALL.
    my client need confirmations for those financial transactions:
    u2022     Fixed interest bonds;
    u2022     Variable interest bonds;
    u2022     Repos;
    u2022     Interest rate swaps (IRS);
    u2022     Securities lending;
    u2022     Deposits.
    Thanks for your input.
    Rgds,
    Renatas

    Hi,
    The correspondence function provided by SAP is freely definable, and can be assigned with any other custom made forms as well. You may need to develop a new form script by copying existing standard form and make changes as per your specific requirment and assign the same at spro--correspondence area against respective transaction activity.
    Please note, while developing new forms, and if those are assigned for automatic print processing, any inconsitency in the form may lead to runtime error while creating transactions (FTR_CREATE).
    Regards
    Prasad AV

  • Customizing confirmation form for multi accounts action

    Hello,
    I would like to customize the confirmation form, that appears when I perform actions for multiple accounts (such as delete, disable, enable and etc) from Accounts tab. This is a form with the title “Confirm <action_name>” and list of accounts. How do I get access to this form and customize it?
    Thanks for all your suggestions in advance.

    This is Jsp page doMultiUserActions.jsp
    Path
    http://localhost:8080/idm8/account/doMultiUserActions.jsp
    Below is the code to show list of users which you select in mulliple enable /disable and delete operations
    if (userNames.size() > 0) {
    if (!isDeleteCommand || (null != ttVars)) {
    %><%=HtmlUtil.generateListHTML(userNames,
    Catalog.format(_locale, Messages.UI_ADMINDOMENU_JSP_WARNING6, new Object[] {displayCommandParam}))%>
    <%
    For customizing you have to change this jsp
    Might be this will help you...
    If you find something else then please share with us.
    Good Luck!!!!!!!!!!!

  • Form for edit pair table

    Hi,
    my problem is how to create edit form for pair two tables for example COMPANIES and CAMPAIGNS.
    create table COMPANIES (
    id integer,
    name varchar2(100));
    create table CAMPAIGNS (
    id integer,
    name varchar2(100));
    create table PAIRS (
    id_company integer,
    id_campaign integer);
    And the problem is which wizard to edit user friendly (it is important) table PAIRS. My idea is to select certain campaign and then filter companies based on filter critera and then by unselecting checkbox be able to delete specified companies.
    Thanks
    sasa

    See the search results at
    http://forums.oracle.com/forums/search.jspa?objID=f137&q=tabular+form+%22intersection+table%22

  • Clicking on LinkTitle in list opens allitems instead of custom application form

    Hello, This question is pertaining to SharePoint 2010.
    I have one list which has two content types. We have modified the detault forms (new,edit and display) of each content type to its individual custom application pages. We have done this through coding.
    SPContentType CT1= requestsList.ContentTypes["CT1"];
    //Change Edit and edit URL to custom application page
    CT1.NewFormUrl = "_layouts/folder/customnewapplicationpage.aspx;
    CT1.EditFormUrl = "_layouts/folder/customeditapplicationpage.aspx;
    CT1.DisplayFormUrl = "_layouts/folder/customdisplayapplicationpage.aspx;
    //Delete the default from to enable custom application pages.
    CT1.XmlDocuments.Delete("http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url");
    web.AllowUnsafeUpdates = true;
    CT1.Update();
    list.Update();
    And same update for the other content type. Everything works well.
    When we click on new, custom new form opens, when we click on edit, custom edit form opens, when we click on view item, custom view form opens for respective content type. The problem is when we click on linktitle field value in allitems.aspx, it opens up
    allitems.aspx page instead of opening display form as model dialog which is does when we click on view item by either selecting in ECB menu or from ribbon.
    On custom application pages, I am using SharePoint:SaveButton to save values so that I do not need to write down the code.
    I just tested one thing that, if we have our custom button and if we write traditional way to inserting list item into the list with specifying ContentTypeId in list item, then this problem does not appear. This is when SharePoint:SaveButton is clicked and
    item is saved, at this time problem appears. I prefer going with SharePoint:SaveButton as I have more than 70 fields on the form and do not want to write a code to set values for 70 fields by doing SPList.AddItem()
    According to me, SharePoint:SaveButton is saving list item inside folder because when we update the view and set to show items without folder, I cannot see list items saved using SharePoint:SaveButton click. But when i switch back to show items with
    folder, all items appear. This may be the reason when I click on LinkTitle directly on that hyperlink, it opens up AllItems.aspx with FolderCTId={} as one of the query string.
    Any pointers would be highly appreciated.

    Hi,
    We can do as follows:
    1. Change the URL of Title field to the URL of custom application page using JavaScript.
    2. Create a calculated column and set formula: ="<a href='"&UrlFieldName&"'>"&Title&"</a>", then we can use it as a “Title” column.
    http://sharepoint.stackexchange.com/questions/58954/link-title-in-list-to-value-in-url-column
    3. If you want to customize list form and use  SharePoint:SaveButton control to save the data, the following articles for your reference:
    http://ariwibawa-sharepoint.blogspot.com/2012/12/make-addeditview-custom-form-and-custom.html
    http://thesharepointdive.wordpress.com/2012/03/20/list-forms-deployment-for-sharepoint-2010-part-1-of-4/
    Thanks,
    Dennis Guo
    TechNet Community 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]
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Z10 BBM cannot sycn with other BB

    I have a BB group and in it there are about 5 z10 users and 10 other BB made. The group did not face any problem of users cannot see their own messages or incorrect time show in the thread. About 3 weeks ago, one new user with BB Bold added in, howev

  • Problems deleting files with OSX 10.8.3

    Since updating my 2009 MBP to 10.8.3 I am asked for the admin password to delete files.  The files disappear, but are not sent to the trash or clear space on the hard drive. Now my MBP is running out of space on the start up disk.

  • Marker key in SAPscripts??

    Hi all, How can I define marker keys for the character format i just created?? Also is there any documentation or definition of marker (I read the F1 help but couldn't understand it as it was quite terse..). Where is the switch/field for marker?? Tha

  • What is the Smart Card slot on back of STB for?

    There is a slot on the back of the HD STB that is for a smart card. I'm wondering what this is used for? Thanks!

  • T-code SEGW doesn't exist!!

    Dear Experts, I'm trying to access Netweaver Gateway Service Builder ( T-code : segw ) on my IDES but i get an information message that this transaction doesn't exist, but in DEV environment i can found it. what should I do to get access to it on my