cancel
Showing results for 
Search instead for 
Did you mean: 

Edit content properties

rcortesr
Star Contributor
Star Contributor
Hi,

When I create a new content I would like to set only the custom properties. I want delete the following properties: title, description an author.

I think that is posible editing edit-content-properties.jsp.
How I can do it?

Thanks.
15 REPLIES 15

kevinr
Star Contributor
Star Contributor
another question: what is the name of the property edit in line?
Too I would like to hide this attribute.

app:editInline

Thanks,

Kevin

rcortesr
Star Contributor
Star Contributor
Hi,

I have used app:editInline but the property does not hide!!!
This is my code:
<config evaluator="node-type" condition="fac:factura">
      <property-sheet>
                <show-property name="title" show-in-edit-mode="false" show-in-view-mode="false"/>
         <show-property name="description" show-in-edit-mode="false" show-in-view-mode="false" />
         <show-property name="author" show-in-edit-mode="false" show-in-view-mode="false" />
       <show-property name="modifier" show-in-edit-mode="false" show-in-view-mode="false" />
       <show-property name="created" show-in-edit-mode="false" show-in-view-mode="false" />
         <show-property name="modified" show-in-edit-mode="false" show-in-view-mode="false" />
         <show-property name="creator" show-in-edit-mode="false" show-in-view-mode="false" />
         <show-property name="accessed" show-in-edit-mode="false" show-in-view-mode="false" />
        <show-property name="editInline" show-in-edit-mode="false" show-in-view-mode="false" />

       <show-property name="fac:NIF_Proveedor" />
         <show-property name="fac:Fecha_Factura" />
         <show-property name="fac:Numero_Factura" />
         <show-property name="fac:Base_Imponible" />
         <show-property name="fac:Impuestos" />
         <show-property name="fac:Total" />
         <show-property name="fac:Nombre_Proveedor" />
         <show-property name="fac:NIF_Cliente" />
         <show-property name="fac:Descripcion_Cliente" />
<show-association name="fac:signOff" />
<show-child-association name="fac:processSteps" />
      
      </property-sheet>
   </config>

Using the prefix app the problem is the same.
Someone can help me?

Thanks

gavinc
Champ in-the-making
Champ in-the-making
It depends what you mean by hiding, which part?

In the document details dialog there is a link that says Allow Inline Editing, is this what you mean? If so, this is separate from the property sheet and can be hidden through configuration.

If it is within the property sheet you mean then app:editInline should work.

rcortesr
Star Contributor
Star Contributor
I would like to hide this attribute when I am creating a document and when I am viewing the properties of this document.

gavinc
Champ in-the-making
Champ in-the-making
What you suggested you had should have worked, i have tried the following in a test web-client-config-custom.xml file and the property was hidden:

<config evaluator="node-type" condition="content">
   <property-sheet>
      <show-property name="app:editInline" show-in-edit-mode="false" show-in-view-mode="false" />
   </property-sheet>
</config>

Granted this is for the cm:content type but the same should apply to your custom type too.

rcortesr
Star Contributor
Star Contributor
It is already working perfectly.
Thanks for all.