update, automatically, the properties of records in my Alfre
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2011 05:55 AM
Hi,
I want to update, automatically, the properties of records in my Alfresco RM share with script.
the scenario is as follows:
as soon as I receive a file in a directory (this file contains keys separated by commas: IdDossier, IdDossier,……), I have to look all aspects including IdDossier contained in this file and then update another property of these aspects (EtatDossier)
Thanks for your time
I want to update, automatically, the properties of records in my Alfresco RM share with script.
the scenario is as follows:
as soon as I receive a file in a directory (this file contains keys separated by commas: IdDossier, IdDossier,……), I have to look all aspects including IdDossier contained in this file and then update another property of these aspects (EtatDossier)
Thanks for your time
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2011 03:27 AM
Hi, yes there is.
Please start by taking a look at how "rules" and "actions" work. Using them means you can make sure that actions are being triggered when files arrive into a folder when certain rules apply to that content. What you basically want to do is to make sure that your own repository action (that parses the incoming file and performs the properties & aspects updates) is being runned.
Go to http://docs.alfresco.com/ and…
1. navigate to the following section for more details on how to setup rules for a folder so that your action is being triggered:
Alfresco Documentation > Using Alfresco > Using Alfresco Share > The Document Library page component > Working with folders
Using rules
2. navigate to the following section for more details on how to setup your own action.
Alfresco Documentation > Customizing and extending > Developing against the Alfresco repository > Alfresco repository extension points
PS. For a more detailed description on how to create custom actions see:
http://wiki.alfresco.com/wiki/Custom_Actions
PS2. There is also a set of out of the box actions that let you update properties and aspects but since you need to parse the file you have to write that code your self.
Please start by taking a look at how "rules" and "actions" work. Using them means you can make sure that actions are being triggered when files arrive into a folder when certain rules apply to that content. What you basically want to do is to make sure that your own repository action (that parses the incoming file and performs the properties & aspects updates) is being runned.
Go to http://docs.alfresco.com/ and…
1. navigate to the following section for more details on how to setup rules for a folder so that your action is being triggered:
Alfresco Documentation > Using Alfresco > Using Alfresco Share > The Document Library page component > Working with folders
Using rules
2. navigate to the following section for more details on how to setup your own action.
Alfresco Documentation > Customizing and extending > Developing against the Alfresco repository > Alfresco repository extension points
PS. For a more detailed description on how to create custom actions see:
http://wiki.alfresco.com/wiki/Custom_Actions
PS2. There is also a set of out of the box actions that let you update properties and aspects but since you need to parse the file you have to write that code your self.
