Difference between revisions of "Macros"
Line 1: | Line 1: | ||
{{TOCright}} __TOC__ | {{TOCright}} __TOC__ | ||
− | Macros allows users to simplify repetitive operations in one click. Operations are defined in configuration parameters. When OpenKM detects macro is available in some folder, document or mail automatically the | + | Macros allows users to simplify repetitive operations in one click. Operations are defined in configuration parameters. When OpenKM detects macro is available in some folder, document or mail automatically the macro button is enabled and user with one click executes the operation. |
− | * [[File:Fast_action.png]] → Execute | + | * [[File:Fast_action.png]] → Execute macro |
== Properties == | == Properties == |
Revision as of 11:59, 24 May 2012
Contents |
Macros allows users to simplify repetitive operations in one click. Operations are defined in configuration parameters. When OpenKM detects macro is available in some folder, document or mail automatically the macro button is enabled and user with one click executes the operation.
Properties
In macro.actions property can define the actions.
For example move any subfolder into origin folder to destination folder will be defined as [origin_path,destiantion_path] as can see in next image. The
Example
The images example covers move a document from /okm:root/origin to /okm:root/destination.
Property macro.actions value is /okm:root/origin,/okm:root/destination
The file /okm:root/origin/test/invoice-1023.odt is into folder /okm:root/origin and has fast action button enabled
After executing macro the file /okm:root/origin/test/invoice-1023.odt has been moved to /okm:root/destination/test/invoice-1023.odt. In case folder /okm:root/destination/test not exists OpenKM will create automatically with correct grants.