diff --git a/datamodels/2.x/itop-attachments/main.attachments.php b/datamodels/2.x/itop-attachments/main.attachments.php
index 394febd329..b9e9a336b9 100755
--- a/datamodels/2.x/itop-attachments/main.attachments.php
+++ b/datamodels/2.x/itop-attachments/main.attachments.php
@@ -20,6 +20,10 @@ define('ATTACHMENT_DOWNLOAD_URL', 'pages/ajax.document.php?operation=download_do
class AttachmentPlugIn implements iApplicationUIExtension, iApplicationObjectExtension
{
+ const ENUM_GUI_ALL = 'all';
+ const ENUM_GUI_BACKOFFICE = 'backoffice';
+ const ENUM_GUI_PORTALS = 'portals';
+
protected static $m_bIsModified = false;
public function OnDisplayProperties($oObject, WebPage $oPage, $bEditMode = false)
@@ -243,7 +247,7 @@ EOF
$oPage->add('