Movatterモバイル変換


[0]ホーム

URL:


The latest Alfresco documentation has moved to the Hyland Documentation Portal. Click here for the latest versions:support.hyland.com.
In: content-servicesIn: All docs
Close
Alfresco Content Services

Overview of in-process Share extension points

An extension point is an interface that a developer can use to customize the Share web application in a supported way. There are a number of extension points that can be used to do things like adding custom pages, hiding content on existing pages, display custom metadata, modify the menu, and so on.

Read through theGetting started guide to get up to speed on the difference between in-process and out-of-process extensions.

To fully understand the extension points it is a good idea to first read through the
Share Architecture section.

Also, you should get familiar with theAlfresco SDK as it is the recommended way of developing Share extensions.

The Share extension points can be grouped into three different categories:

  • Declarative - XML configuration that requires no coding
  • Programmatic - Code that adds new functionality
  • Override - Code that overrides default behavior of Share

The following table lists all the extension points that are available to you when customization the Share web application:

Extension Point NameDescriptionCategorySupport Status
Share ConfigurationA lot of customizations to the Share UI can be done via configuration, get familiar with what can be achieved with configuration before attempting any programming customizations.DeclarativeFull Support
Form ControlsWhen defining a form the form controls for each field controls how the field is displayed and handled.ProgrammaticFull Support
Form ProcessorsForm processors control the persistence of form data and the generation of the form template for a specific item such as a node, task, type, or action. Custom Form Processors can be implemented to support a new kind of item.ProgrammaticFull Support
Form Processor FiltersForm filters can be used to intercept a form processor’s persist form data call and generate form template call. “Before” and “After” method hooks are available in the filter to control form data persistence and form template generation.ProgrammaticFull Support
Form Field Validation HandlersA validation handler is a small JavaScript function that gets called by the forms runtime when a field value needs to be validated.ProgrammaticFull Support
EvaluatorsComponent visibility in the Share user interface can be controlled by Evaluators.Declarative and ProgrammaticFull Support
Site PresetsA site preset contains the initial configuration for a Share site, such as the site Dashboard layout.DeclarativeFull Support
Share ThemesThe Share web application comes with a number of themes that can be used to set the look and feel of the application. It is also possible to create your own custom UI themes.DeclarativeFull Support
Document LibraryThe Document Library page has several extension points that can be used to customize its behavior, such as actions.Declarative and ProgrammaticFull Support
Surf Extension ModulesSurf Extension Modules are the main tool to use when adding, updating, or hiding content in the Share User Interface (UI). They can be deployed and un-deployed during runtime. A module is defined in XML and stored in thesite-data/extensions directory.Declarative and ProgrammaticFull Support
Surf Web ScriptsWhen you look under the covers of the Share web application you will notice that most of the functionality is implemented as Surf Web Scripts. This is true for both Pages and Dashlets.Declarative and ProgrammaticFull Support
Surf Web Script JavaScript Root ObjectsA number of JavaScript root objects are available when you are implementing a controller for a Surf Web Script, such aspage andremote. Sometimes you might have custom Java code that you want to call from JavaScript controllers, this is possible by adding custom JavaScript root objects.ProgrammaticFull Support
Surf PagesThe Alfresco Share web application is built up of a main menu from which you can navigate to a number of pages.Declarative and ProgrammaticLimited Support (Use Aikau Pages instead)
Surf DashletsThe Share web application has a special page called Dashboard, which contains windows (think Portlets) of content called dashlets.Declarative and ProgrammaticLimited Support (Use Aikau Dashlets instead)
Surf WidgetsThe Share web application is built up of a main menu, pages, and dashlets. The pages and dashlets are mainly processed on the server side as web scripts. When client side processing is needed in the form of browser JavaScript and CSS then this is contained in Widgets.ProgrammaticFull Support
Aikau MenusThe main menu of Share is implemented with the new Aikau UI development framework.ProgrammaticFull Support
Aikau PagesThe Share web application is built up of a main menu from which you can navigate to a number of pages. These pages are implemented mostly in the Surf development framework. However, a number of pages, such as search, have been converted and implemented with the new Aikau development framework, see architecture section.Declarative and ProgrammaticFull Support
Aikau DashletsThe Share web application has a special page called Dashboard, which contains windows of content called dashlets. Currently most of these dashlets are Spring Surf dashlets, but they will eventually be converted to Aikau dashlets.Declarative and ProgrammaticFull Support
Aikau WidgetsAikau pages are built up of widgets. There are two types of widgets, presentation widgets and service widgets. These JavaScript widgets are Dojo classes. A widget can have its own CSS, HTML, and Properties.ProgrammaticFull Support
Modifying OOTB CodeMost of the Share UI functionality can be traced back to a web script in one place or another. Sometimes it is useful to be able to override the controller or template of one of these out-of-the-box web scripts. Same things goes for other out-of-the-box code for things like pages and dashlets.OverrideFull Support viaSurf Extension Modules

Edit this page

Suggest an edit on GitHub
By clicking "Accept Cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.View Cookie Policy.

[8]ページ先頭

©2009-2025 Movatter.jp