diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js
index 2f0ae6b899f4b11188e7d648380713c9c0509de9..bf35e19d9a395d42dd6b3167ea219a7c0f2c71ee 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/common/search/AbstractEntitySearchCriteria.js
@@ -62,6 +62,14 @@ define([ "require", "stjs", "as/dto/common/search/AbstractObjectSearchCriteria",
 			var BooleanPropertySearchCriteria = require("as/dto/common/search/BooleanPropertySearchCriteria");
 			return this.addCriteria(new BooleanPropertySearchCriteria(propertyName));
 		};
+		prototype.withSampleProperty = function(propertyName) {
+			var SamplePropertySearchCriteria = require("as/dto/common/search/SamplePropertySearchCriteria");
+			return this.addCriteria(new SamplePropertySearchCriteria(propertyName));
+		};
+		prototype.withVocabularyProperty = function(propertyName) {
+			var ControlledVocabularyPropertySearchCriteria = require("as/dto/common/search/ControlledVocabularyPropertySearchCriteria");
+			return this.addCriteria(new ControlledVocabularyPropertySearchCriteria(propertyName));
+		};
 		prototype.withTag = function() {
 			var TagSearchCriteria = require("as/dto/tag/search/TagSearchCriteria");
 			return this.addCriteria(new TagSearchCriteria());