# Customize the Pop-Up Filter
The plugin opens a pop-up window in PowerPoint with a search filter and a folder tree in the left sidebar. By default, only supported files of type image
are displayed and can be searched for.
- The automatic filter comes with a condition in the search renderer of 4App Object Picker. It assures no files are offered that are not supported for the plugin.
- The folder tree comes with a layout change of 4App Object Picker.
Please note: When customizing, make sure you keep both condition for the mimetype restriction and change content for the folder tree.
# Change the Search Renderer
The original search renderer default.4aprenderer
can be found here: modules/file/object_renderer/search/object_selection
.
You can change/overwrite this configuration by storing a new configuration at the specified location in your custom folder.
Please note: It is important to include the condition for the mimetype in a new configuration, otherwise any files (including files that cannot be inserted into a presentation), will be displayed.
<search_additions>
<additions>
<condition>
<sql>mimetype IN ('image/jpeg', 'image/png', 'image/bmp', 'application/vnd.openxmlformats-officedocument.presentationml.presentation')</sql>
</condition>
</additions>
</search_additions>
# Change the Layout
The folder tree (PID tree) comes via a layout change of 4App Object Picker and improves the searching across many files. The original layout change default.4aplayout_c
can be found here: modules/file/layouts/object_selection/powerpoint/
.
You can change/overwrite this configuration by storing a new configuration at the specified location in your custom folder.
Please note: The way you alter this change differs depending on your Core Engine version.
# Changing With Core 3.10
- Copy the default change to the specified location in your custom folder.
- Make your changes, e.g., add further components like the saved search component.
- Assure that all other changes from the default
default.4aplayout_c
are adopted to your new change. They are absolutely necessary for the function of the plugin.
# Changing From Core 4.0
- Create a new change configuration at the specified location in your custom folder.
- Only define you desired change (no copying of the default change required).
- With tag
<changes extends>
you need to specify the parent layout change.
Further Documentation
- Find more information about layout changes from Core version 4.0 here (opens new window).