cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the 'title' and 'header' fields for a custom type creation.

art99trash
Star Contributor
Star Contributor
I have defined several custom types and added entries to the "Create…" menu of the Document Library for each.
It is working, in that it creates the new content correctly.
My problem is that when I select a custom type from the "Create…" menu, a form appears with the
text:

title
  header

before the custom type fields.

Looking at the source for the web page, it shows:


<div id="template_x002e_create-content_x002e_create-content_x0023_default-dialog">
   <div id="template_x002e_create-content_x002e_create-content_x0023_default-dialogTitle" class="hd">title</div>
   <div class="bd">

      <div id="template_x002e_create-content_x002e_create-content_x0023_default-form-container" class="form-container">

         <div class="yui-g">
            <h2 id="template_x002e_create-content_x002e_create-content_x0023_default-dialogHeader">header</h2>
         </div>
  
            <div id="template_x002e_create-content_x002e_create-content_x0023_default-form-caption" class="caption"><span class="mandatory-indicator">*</span>Required Fields</div>


It seems that the words "title" and "header" are default value that I should be able to override.
Does anyone know how?

Thanks
1 REPLY 1

art99trash
Star Contributor
Star Contributor
I was able to resolve this.
I found that I had the line:

<create-form template="../documentlibrary/forms/doclib-common.ftl" />


In my share-confog-custom.xml file in the "model-type" section, between the field-visibility and appearance sections.

When I removed is, the form looked fine.