Skip to content

Commit 8af7697

Browse files
committed
add filtering section
1 parent 3f3446a commit 8af7697

File tree

4 files changed

+29
-20
lines changed

4 files changed

+29
-20
lines changed

content/extensions/filtering.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Filtering UI extensions
2+
3+
You may want to create UI extensions that are only available to certain user groups or for specific products. This can be achieved by filtering UI extensions based on user groups and product selection.
4+
5+
### Filter UI extension by user groups
6+
7+
You can filter the user groups allowed to see and execute an UI extension by using the permissions tab on the UI extensions creation/edition form.
8+
9+
[![ui-extension-permissions.png](../img/extensions/ui-extensions/ui-extension-permissions.png)](../img/extensions/ui-extensions/ui-extension-permissions.png)
10+
11+
### Filter UI extension by product selection
12+
You can filter the products that can be selected by an UI extension by using the product selection tab on the UI extensions creation/edition form.
13+
14+
[![ui-extension-product-selection.png](../img/extensions/ui-extensions/ui-extension-product-selection.png)](../img/extensions/ui-extensions/ui-extension-product-selection.png)
15+
16+
::: panel-link FAQ [Next](/extensions/faq.html)
17+
:::

content/extensions/positions.md

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,53 +35,44 @@ Extension position determines where your extension appears within the Akeneo PIM
3535
### Positions list
3636

3737
#### pim.product.header
38-
[![pim-product-header.png](../img/extensions/ui-extensions/positions/pim-product-header.png)](../img/extensions/ui-extensions/positions/pim-product-header.png)
39-
4038
This position refers to the header of a simple product or a variant edit page.
39+
[![pim-product-header.png](../img/extensions/ui-extensions/positions/pim-product-header.png)](../img/extensions/ui-extensions/positions/pim-product-header.png)
4140

4241
#### pim.product-model.header
43-
[![pim-product-model-header.png](../img/extensions/ui-extensions/positions/pim-product-model-header.png)](../img/extensions/ui-extensions/positions/pim-product-model-header.png)
44-
4542
This position refers to the header of a root model edit page.
43+
[![pim-product-model-header.png](../img/extensions/ui-extensions/positions/pim-product-model-header.png)](../img/extensions/ui-extensions/positions/pim-product-model-header.png)
4644

4745
#### pim.sub-product-model.header
48-
[![pim-sub-product-model-header.png](../img/extensions/ui-extensions/positions/pim-sub-product-model-header.png)](../img/extensions/ui-extensions/positions/pim-sub-product-model-header.png)
49-
5046
This position refers to the header of a sub product model edit page.
47+
[![pim-sub-product-model-header.png](../img/extensions/ui-extensions/positions/pim-sub-product-model-header.png)](../img/extensions/ui-extensions/positions/pim-sub-product-model-header.png)
5148

5249
#### pim.product.tab
53-
[![pim-product-tab.png](../img/extensions/ui-extensions/positions/pim-product-tab.png)](../img/extensions/ui-extensions/positions/pim-product-tab.png)
54-
5550
This position refers to the tab of a simple product or a variant edit page.
51+
[![pim-product-tab.png](../img/extensions/ui-extensions/positions/pim-product-tab.png)](../img/extensions/ui-extensions/positions/pim-product-tab.png)
5652

5753
#### pim.product-model.tab
58-
[![pim-product-model-tab.png](../img/extensions/ui-extensions/positions/pim-product-model-tab.png)](../img/extensions/ui-extensions/positions/pim-product-model-tab.png)
59-
6054
This position refers to the tab of a root model edit page.
61-
62-
#### pim.sub-product-model.tab
6355
[![pim-product-model-tab.png](../img/extensions/ui-extensions/positions/pim-product-model-tab.png)](../img/extensions/ui-extensions/positions/pim-product-model-tab.png)
6456

57+
#### pim.sub-product-model.tab
6558
This position refers to the tab of a sub product model edit page.
59+
[![pim-product-model-tab.png](../img/extensions/ui-extensions/positions/pim-product-model-tab.png)](../img/extensions/ui-extensions/positions/pim-product-model-tab.png)
6660

6761
#### pim.category.tab
68-
[![pim-category-tab.png](../img/extensions/ui-extensions/positions/pim-category-tab.png)](../img/extensions/ui-extensions/positions/pim-category-tab.png)
69-
7062
This position refers to the tab of a category edit page.
63+
[![pim-category-tab.png](../img/extensions/ui-extensions/positions/pim-category-tab.png)](../img/extensions/ui-extensions/positions/pim-category-tab.png)
7164

7265
#### pim.product-grid.action-bar
73-
[![pim-product-grid-action-bar.png](../img/extensions/ui-extensions/positions/pim-product-grid-action-bar.png)](../img/extensions/ui-extensions/positions/pim-product-grid-action-bar.png)
74-
7566
This position refers to the action bar of the product grid. It is used to add actions that can be applied to multiple products at once.
7667

7768
::: warning
7869
For the moment, you can't use UI extensions with more than **500** selected products & product models.
7970
:::
71+
[![pim-product-grid-action-bar.png](../img/extensions/ui-extensions/positions/pim-product-grid-action-bar.png)](../img/extensions/ui-extensions/positions/pim-product-grid-action-bar.png)
8072

8173
#### pim.activity.navigation.tab
82-
[![pim-activity-navigation-tab.png](../img/extensions/ui-extensions/positions/pim-activity-navigation-tab.png)](../img/extensions/ui-extensions/positions/pim-activity-navigation-tab.png)
83-
8474
This position refers to the tab of the activity navigation. It is used to add custom tabs in the activity navigation of the PIM.
75+
[![pim-activity-navigation-tab.png](../img/extensions/ui-extensions/positions/pim-activity-navigation-tab.png)](../img/extensions/ui-extensions/positions/pim-activity-navigation-tab.png)
8576

86-
::: panel-link FAQ [Next](/extensions/faq.html)
77+
::: panel-link Filtering [Next](/extensions/filtering.html)
8778
:::
99.1 KB
Loading

tasks/build-doc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,8 @@ gulp.task('build-extensions', ['clean-dist','less'], function () {
761761
var pages = {
762762
'overview.md': "Overview",
763763
'ui-extensions.md': "UI Extensions",
764-
'position.md': "Positions",
764+
'positions.md': "Positions",
765+
'filtering.md': "Filtering",
765766
'faq.md': "FAQ",
766767
};
767768

0 commit comments

Comments
 (0)