AnsweredAssumed Answered

Issue while saving the content in Alfresco Share

Question asked by ganmaku on Nov 17, 2010
Latest reply on Nov 22, 2010 by ganmaku
Hi Team,
I have created a custom type and added few metadata.

I have added neccessary fields to the share-form-config.xml file under the <config evaluator="model-type" condition="cm:content"> in order to show those metadata to the Create content page.

I have added the following piece of code to the webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\documentlibrary\include\toolbar.lib.ftl file in order to display the create content menu to the Document Library page.

        <div class="create-content">
            <a rel="" href="create-content?mimeType=text/xml&amp;destination={nodeRef}&amp;formId=kms-form2" class="yuimenuitemlabel">
            <span class="xml-file">Creer Document</span>
            </a>
       </div>
I am getting the following error while saving the content:
Failed to create content: org.alfresco.repo.forms.FormException: 10170103 Failed to persist form for 'cm:content' as 'alf_destination' data was not provided.
Any help would be highly beneficial for me!!!

Outcomes