Hi Mits,
No other exception.But I fould out the issue. In my custom model,I have mentioned the property as d:text. There is no property of type"d:content:.So the "preview" as well as "View in browser" is not workingas the webpreview is coded for d:content in Alfresco.
<type name="my:document">
<title>My BaseContent </title>
<parent>cm:content</parent>
<properties>
<property name="my:customId">
<title>Custom Id</title>
<type>d:text</type>
</property>
<property name="my:uniqueText">
<title>Unique Text</title>
<type>d:text</type>
</property>
</properties>
</type>
But if i changed the as mention below,preview and "view in browser" is working fine.
<type name="my:document">
<title>My BaseContent </title>
<parent>cm:content</parent>
<properties>
<property name="my:customId">
<title>Custom Id</title>
<type>d:content</type>
</property>
<property name="my:uniqueText">
<title>Unique Text</title>
<type>d:content</type>
</property>
</properties>
</type>
So can you tell me if there any way to change the code of preview and view in browser for d:text instead of d:content?That can solve my problem.
Thanks,
Sradha