manipulate file content

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2011 12:53 PM
Hello,
I know that Alfresco can search the contents of a file but I have the next doubt: is possible manipulate, modify or restrict some part of the contents of a file using Alfresco or with some configuration or extension?
Thanks and regards,
I know that Alfresco can search the contents of a file but I have the next doubt: is possible manipulate, modify or restrict some part of the contents of a file using Alfresco or with some configuration or extension?
Thanks and regards,
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2011 09:43 AM
Yes, you could implement your own custom action or custom behaviour dedicated to parse contents and change the body of the content internally.
This type of changes could be implemented using policies interfaces related to the services of the Alfresco API.
Alfresco Java API consists of a group of Spring beans that are based on policies that are events that could be extended to bind your own custom behaviour.
The behaviour can be written using the Alfresco Java API or the Alfresco Javascript API:
http://wiki.alfresco.com/wiki/Policy_Component
Custom Actions:
http://wiki.alfresco.com/wiki/Custom_Actions
Hope this helps.
This type of changes could be implemented using policies interfaces related to the services of the Alfresco API.
Alfresco Java API consists of a group of Spring beans that are based on policies that are events that could be extended to bind your own custom behaviour.
The behaviour can be written using the Alfresco Java API or the Alfresco Javascript API:
http://wiki.alfresco.com/wiki/Policy_Component
Custom Actions:
http://wiki.alfresco.com/wiki/Custom_Actions
Hope this helps.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 06:42 PM
Hello Piergiorgio, thanks for your answer.
According to the information that I have reviewed: My requirement is possible but is not simple with Alfresco. In my case would have to maintain a database for metadata of the contents (title, structure, paragraphs, etc) for editing content with the "Component Policies" of Alfresco and this would be a problem when updating versions of Alfresco.
However, for simple cases the "component policies" could be very useful. In the link http://wiki.alfresco.com/wiki/Services_Framework#Component_Policies there is examples of policies for Node component and CheckOutCheckIn component but there is not for the content. Where I can find information about the events supported to define policies on the content in Alfresco?
Does anyone have any example or tutorial for implementing policies in alfresco?
Thanks in advance,
According to the information that I have reviewed: My requirement is possible but is not simple with Alfresco. In my case would have to maintain a database for metadata of the contents (title, structure, paragraphs, etc) for editing content with the "Component Policies" of Alfresco and this would be a problem when updating versions of Alfresco.
However, for simple cases the "component policies" could be very useful. In the link http://wiki.alfresco.com/wiki/Services_Framework#Component_Policies there is examples of policies for Node component and CheckOutCheckIn component but there is not for the content. Where I can find information about the events supported to define policies on the content in Alfresco?
Does anyone have any example or tutorial for implementing policies in alfresco?
Thanks in advance,
