AnsweredAssumed Answered

'View in Browser' for share custom model

Question asked by sradha on Sep 4, 2012
Latest reply on Oct 1, 2012 by sradha
Hi,

I have created a custom model node-type and model-type of my:document.After that while create a content using the custom model ,the preview is coming as" the document has no content".Also i am trying to click on "View in browser" button ,it is showing error as :-

Web Script Status 404 - Not Found

The Web Script /alfresco/s/api/node/content/workspace/SpacesStore/84613df7-20c5-4277-967c-5b0639be6a54/Sample has responded with a status of 404 - Not Found.

404 Description:   Requested resource is not available.

Message:   08040002 Unable to locate content for node ref workspace://SpacesStore/84613df7-20c5-4277-967c-5b0639be6a54 (property: {http://www.alfresco.org/model/content/1.0}content)
   
Exception:   org.springframework.extensions.webscripts.WebScriptException - 08040002 Unable to locate content for node ref workspace://SpacesStore/84613df7-20c5-4277-967c-5b0639be6a54 (property: {http://www.alfresco.org/model/content/1.0}content)


Can anybody put some light on it?

Outcomes