Difference between revisions of "Macros"

From OpenKM Documentation
Jump to: navigation, search
m (Enable macros)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{TOCright}} __TOC__
 
{{TOCright}} __TOC__
  
Fast action allows users to simplify repetitive operations in one click. Operations are defined in configuration parameters. When OpenKM detects fast action is available in some folder, document or mail automatically the fast action button is enabled and user with one click executes the operation.
+
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 fast action
+
* [[File:Fast_action.png]] → Execute macro
 +
 
 +
== Enable macros ==
 +
See [[Community extensions]] section how to enable macros in your OpenKM.
  
 
== Properties ==  
 
== Properties ==  
In fastaction.action property can define the actions.
+
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
 
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
  
[[File:Fastaction_001.png|center|900px]]
+
[[File:Fastaction_001.png|center]]
  
 
== Example ==
 
== Example ==
The images example covers move a document from /okm:root/origin to /okm:root/destination.
+
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
 
The file /okm:root/origin/test/invoice-1023.odt is into folder /okm:root/origin and has fast action button enabled
 +
  
 
[[File:Fastaction_002.png|center|900px]]
 
[[File:Fastaction_002.png|center|900px]]
  
After executing fast action
 
  
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.
+
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.
 +
 
 +
 
 +
[[File:Fastaction_003.png|center|900px]]
  
[[File:Fastaction_003.png]]
 
  
 
[[Category: User Guide]]
 
[[Category: User Guide]]

Latest revision as of 09:13, 13 April 2013

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.

  • Fast action.png → Execute macro

Enable macros

See Community extensions section how to enable macros in your OpenKM.

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

Fastaction 001.png

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


Fastaction 002.png


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.


Fastaction 003.png