{{tag>Function Function_List Miscellaneous}} ====== DOMAIN ====== ===== Description ===== Returns the name of the current business space. In testing mode the test prefix is removed from the name, so the result is the same in testing mode and in operation mode. ===== Syntax ===== ''DOMAIN'' Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== None ===== Returns ===== **Text**: the name of the current business space ===== Example ===== DISPLAY MESSAGE DOMAIN() IF DOMAIN() = 'CRM' THEN ... ===== Related ===== [[ref:a_f:f:af:app_name|APP_NAME]], [[ref:a_f:f:af:bsv_version|BSV_VERSION]], [[ref:a_f:f:af:testing_mode|TESTING_MODE]]