Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6943641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:10:57+00:00 2026-05-27T13:10:57+00:00

I was creating custom content model in datalistModel.xml <type name=dl:car> <title>Car List</title> <parent>dl:dataListItem</parent> <properties>

  • 0

I was creating custom content model

in datalistModel.xml

 <type name="dl:car">
     <title>Car List</title>
     <parent>dl:dataListItem</parent>
     <properties>
        <property name="dl:carName">
           <title>Car Name</title>
           <type>d:text</type>
           <mandatory>false</mandatory>
        </property>
        <property name="dl:carCompany">
           <title>Company Name</title>
           <type>d:text</type>
           <mandatory>false</mandatory>
        </property>
     </properties>
  </type>

in share-datalist-form-config.xml

   <!-- dl:contact type create car form -->
   <config evaluator="model-type" condition="dl:car">
      <forms>
         <!-- Create item form -->
         <form>
            <field-visibility>
               <!-- dl:contact type -->
               <show id="dl:carName" />
               <show id="dl:carCompany" />
            </field-visibility>
            <create-form template="../data-lists/forms/dataitem.ftl" />
         </form>
      </forms>
   </config> 

When I create a new car content in repository browser(I later configured menu to add content type ‘Car’), the file name is 91b65385-86c6-4923-859d-6ecb3326319c.

     <create-content>
         <content id="plain-text" mimetype="text/plain" label="create-content.text" itemid="cm:content" icon="text"/>
         <content id="html" mimetype="text/html"  label="create-content.html" itemid="cm:content"/>
         <content id="xml" mimetype="text/xml" label="create-content.xml" itemid="cm:content"/>
         <content id="car" mimetype="text/xml" icon="xml" label="create-content.car" itemid="dl:car"/>         
      </create-content>

How can I make the file name to carName instead of 91b65385-86c6-4923-859d-6ecb3326319c

Any kind help is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:10:58+00:00Added an answer on May 27, 2026 at 1:10 pm

    Take a look at the default ‘share-datalist-form-config.xml’

    You will see that almost every type specify <show id="cm:title" />

    You could also just put <show id="name" /> or <show id="cm:name" /> to show the name attribute.

    In order to put the title you will need to put the cm:titled aspect in your model.

    Just check the ‘datalistModel.xml’ how the defaults are defined

    And check this blog post to know a bit more how to create custom datalists.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a custom module and content type. And show this items on my
I'm creating custom UserControl in ASP.NET and I'm using System.ComponentModel.Attributes to decorate properties with
While creating a (custom) content in Drupal, I have three vocabularies. But these make
When I create a custom content type using the admin panel (as explained at
I am creating custom content pages using this function in my template file function
i'm creating custom title for activity by disabling standard one and managing everything myself.
I'm creating a custom file type in AIR, which is a zip file under
I'm relatively new at creating custom content for Sharepoint 2010 and have been having
I have a type Content (from a custom CMS) that must not be validated
I am creating a custom control. The contents of the control will differ a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.