AppSuite:Modifying forms by using extension points: Difference between revisions

From Open-Xchange
No edit summary
 
(62 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Summary:''' This articles covers how to apply different changes to forms via modifying its extensionpoints and extensions.
The content on this page has moved to https://documentation.open-xchange.com/latest/ui/customize/forms.html


==available extensionpoints==
Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition.
 
<pre class="language-javascript">
// get all available extensionpoints
require('io.ox/core/extensions').keys();
</pre>
 
<pre class="language-javascript">
// you can filter down the list by using regular expression
_(require('io.ox/core/extensions').keys()).filter(function (point) {
    if (/io.ox\/contacts\/edit/.test(point)) {
        return point;
    }
});
</pre>
 
<pre class="language-javascript">
// get all available keys of a known extensionpoint
require('io.ox/core/extensions').point('io.ox/contacts/edit/personal').keys();
</pre>
 
<pre class="language-javascript">
// get a single extension by using regular expression
_(require('io.ox/core/extensions').point('io.ox/contacts/edit/personal').all()).filter( function (extension) {
    if (/title/.test(extension.id)) {
        return extension;
    }
});
</pre>
 
[[Category:AppSuite]]
[[Category:UI]]

Latest revision as of 09:30, 22 May 2017

The content on this page has moved to https://documentation.open-xchange.com/latest/ui/customize/forms.html

Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition.