Difference between revisions of "Javascript API"

From OpenKM Documentation
Jump to: navigation, search
m
Line 1: Line 1:
There're several UI javascript function public exposed. In some OpenKM customization cases is interesting accessing some public UI javascript functions ( take a look at this video [http://www.openkm.com/es/openkm-extensibilidad.html tab embeded web application] )
+
There're several UI javascript function public exposed. In some OpenKM customization cases is interesting accessing some public UI javascript functions ( take a look at this video [[http://www.openkm.com/es/openkm-extensibilidad.html tab embeded web application]].
 +
 
 +
== General Functions ==
 +
* jsI18n(String) - Returns frontend trasnlation where String is the translation key
 +
* jsOpenWikiPage(String) - Open wiki page where String is wiki title
 +
* jsOpenUserTaskInstance(String) -
 +
* jsOpenPath(String, String) - Open some path in OpenKM UI. First String is folder path, second string is document path.
 +
* i18n(String) - Returns frontend trasnlation where String is the translation key ( deprecated )
 +
* openWikiPage(String) - Open wiki page where String is wiki title ( deprecated )
 +
* openPath(String, String) - Open some path in OpenKM UI. First String is folder path, second string is document path. ( deprecated )
 +
 
 +
== Specific Cryptography Functions ==
 +
* cryptographyLoaded() - Hide UI status indicating cryptography applet is yet loaded.
 +
* digitalSignatureEnded() - Indicates digital signature has finished.
 +
* digitalSignatureCanceled() - Cancelling digital signature has been canceled.
 +
* startDigitalSignature() - Start digital signature.
  
 
[[Category: Extension Guide]]
 
[[Category: Extension Guide]]

Revision as of 09:20, 27 August 2012

There're several UI javascript function public exposed. In some OpenKM customization cases is interesting accessing some public UI javascript functions ( take a look at this video [tab embeded web application].

General Functions

  • jsI18n(String) - Returns frontend trasnlation where String is the translation key
  • jsOpenWikiPage(String) - Open wiki page where String is wiki title
  • jsOpenUserTaskInstance(String) -
  • jsOpenPath(String, String) - Open some path in OpenKM UI. First String is folder path, second string is document path.
  • i18n(String) - Returns frontend trasnlation where String is the translation key ( deprecated )
  • openWikiPage(String) - Open wiki page where String is wiki title ( deprecated )
  • openPath(String, String) - Open some path in OpenKM UI. First String is folder path, second string is document path. ( deprecated )

Specific Cryptography Functions

  • cryptographyLoaded() - Hide UI status indicating cryptography applet is yet loaded.
  • digitalSignatureEnded() - Indicates digital signature has finished.
  • digitalSignatureCanceled() - Cancelling digital signature has been canceled.
  • startDigitalSignature() - Start digital signature.