cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Share

rutaveejshah
Champ in-the-making
Champ in-the-making
I am new to alfresco share.I want to know that can I create a user using alfresco webservices in alfresco share?If not please provide another way to create a user in alfresco share dynamically.
Please answer as early as possible.
21 REPLIES 21

rutaveejshah
Champ in-the-making
Champ in-the-making
Thank you for your reply sir.
In my application i have a employee and their post and Roles.The roles of the employee are diffrent than in the alfresco.
I want to integarate both of them means the role of the alfresco and role of the alfresco.
What should i do for this?Can you just tell me which table is store the user permission details?
I need a guidance on this part.

rutaveejshah
Champ in-the-making
Champ in-the-making
What should i do to customize the upload document dialog box?
I want to add a new text box when i am uploading the document.
Please guide me on this way.

ddraper
World-Class Innovator
World-Class Innovator
There are 3 different uploaders, the basic (one file at a time) HTML uploader (/Slingshot/config/alfresco/site-webscripts/org/alfresco/components/upload/html-upload.get.html.ftl), the Flash uploader (/Slingshot/config/alfresco/site-webscripts/org/alfresco/components/upload/flash-upload.get.html.ftl) and the HTML5/Drag-and-drop uploader (/Slingshot/config/alfresco/site-webscripts/org/alfresco/components/upload/dnd-upload.get.html.ftl. The source locations of the FreeMarker template for each uploader WebScript is the value in the brackets. These are the files you'll need to either extend or edit to customize the dialog. Each uploader has it's own associated client-side JavaScript widget.

rutaveejshah
Champ in-the-making
Champ in-the-making
Thank you for your reply.
I have created a custom content type for this.
I want to see the content type at the time of file upload.
I am using the alfresco community edition 4.0.d.
I want to see in the  Flash uploader ..
Please give some guidance..
Thank You.

rutaveejshah
Champ in-the-making
Champ in-the-making
Thank you for your reply.
I am using alfersco share.
I have created a custom content type for this.
I want to see the content type at the time of file upload.
I am using the alfresco community edition 4.0.d.
I want to see in the  Flash uploader ..
Please give some guidance..
Thank You.

ddraper
World-Class Innovator
World-Class Innovator
I'm not sure I really understand what you're asking… are you asking that whenever you upload a new file that you automatically create is as your custom content type? Or do you want to infer a content type based on the MIME type of the file? Also, do you want this displayed after the file has been uploaded? Again… you're not being very explicit with your question so it's hard to provide assistance.

rutaveejshah
Champ in-the-making
Champ in-the-making
I am trying to create a new content type in the alfresco.
But when i am using that new content type i got the error like name space uri is not mapped with name space perifix.

Here my ne conent model code.

<?xml version="1.0" encoding="UTF-8"?>

<!– Definition of new Model –>

<model name="ccs:govModel" xlmns="http://www.alfresco.org/model/dictionary/1.0">

<!– Optional Meta-data about the Modal –>
   <description>Adding the Document Details </description>
   <author>RUTAVEEJ</author>
   <version>1.0</version>
   
<!– Imports are required to allow references to definitions in other models –>

<imports>
<!–  Import Alfresco Dictionary Definitions –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<!–  Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
</imports>

<namespaces>
<namespace uri="govModel.model" prefix="ccs"/>
</namespaces>

<types>
   <type name="ccs:doc">
        <title>Providing Meta-data to folder</title>
              <parent>cm:content</parent>
              <properties>
                 <property name="ccs:documentType">
                 <title>Document Type</title>
                 <description>Document Type</description>
                 <type>d:text</type>
                 <mandatory>true</mandatory>
               </property>
          </properties>
   </type>
</types>
</model>


Error i got is:-


Caused by: org.alfresco.service.namespace.NamespaceException: Namespace prefix ccs is not mapped to a namespace URI
   at org.alfresco.service.namespace.QName.createQName(QName.java:99)
   at org.alfresco.service.namespace.QName.createQName(QName.java:121)
   at org.alfresco.repo.jscript.ScriptNode.createQName(ScriptNode.java:3240)
   at org.alfresco.repo.jscript.ScriptNode.specializeType(ScriptNode.java:1614)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)

What should i do?
Please guide me..

ddraper
World-Class Innovator
World-Class Innovator
I'd suggest you read this forum post and the excellent articles that Jeff has written.

rutaveejshah
Champ in-the-making
Champ in-the-making
I read that article of jeff.From that only i got idea of how to rxtend the content model.
If you have any other suggestion please reply me.

rutaveejshah
Champ in-the-making
Champ in-the-making
I read that article of jeff.From that only i got idea of how to rxtend the content model.
If you have any other suggestion please reply me.