cancel
Showing results for 
Search instead for 
Did you mean: 

Create Custom Content

krups
Champ in-the-making
Champ in-the-making
Hi there,

I have my custom model.
I have got its share and web configurations.
I don't know the way to create custom content using share interface.
Can someone please help me?

Thank you in advance
8 REPLIES 8

amandaluniz_z
Champ on-the-rise
Champ on-the-rise
Hi,

You have different ways of doing that.

Hope it helps.
Regards,
Adei

krups
Champ in-the-making
Champ in-the-making
Hi Adei,

Thank you for your reply.
Actually I want to create custom content by click on create content button on alfresco share.
Is there any way to achieve this?

Thank you once again

amandaluniz_z
Champ on-the-rise
Champ on-the-rise
You need to configure Share for that…

You need to add your custom type to the create-content tag in share-documentlibrary-config.xml (ideally extending it). Adding your type as the itemid and configuring the forms for creation of that type (share-config-custom.xml)

Then your custom type would appear in the "Create Content" menu.

krups
Champ in-the-making
Champ in-the-making
Hi Amanda,

Thank you for your reply. It helped me.
I have another question.
I want to provide a form to user to create custom content (which can be done by share configurations).
But when user submit, I would like to generate pdf/word document having all field names and its values filled out.
Is it possible to do?

mitpatoliya
Star Collaborator
Star Collaborator
Hi Krups,
Are you able to achieve your above requirement. Because I just come across one such requirement so if you could help me on that.

Hi Mits,

What is your requirement?

Do you want to have a form for custom content type and once the form is filled populate the form data in a word document? Is this something you are planning to achieve?

Hi Ramesh Thanks for your response,

Actually I have a word-document which is kind of template which needs to be copied and different folders. But when I copy them in folder there is one field inside that document which I need to update based on one of the property of folder under which it is being uploaded.
For Instance I want to add name of folder under which that word document is being uploaded. So, main challenge here is to edit the content of word document and replace place holder with that folder name.

romschn
Star Collaborator
Star Collaborator
You will have to use the API through which you can edit the word document. Take a look at Aspose API through which you will be able to achieve your requirement.