Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
How to search by item type in L8.02?
Dan_Duffy
Does anyone know how to search for something by item type? For example, "dog" in folders only or document only?
Find more posts tagged with
Comments
Carlos__del_Costillo_(LatAurAdmin_(Delete)_2030086
You have to specify the integer valuo of the type you want to search. I don't know where in the documents is this info, but you can find it when Administering privileges (restrict the creation of something in the admin.index) When you restrict something in the upper left appears the integer you need.Bye
Kristy_Smith_(SCorUser4_(Delete)_1430871)
You can find item types in Builder by selecting Tools... Application Globals. The global variables that start with $Type are item types and their integers. Documents are 144, Folders are 0, Tasks are 206, etc.
Paul_Eddie_(PEddie_(Delete)_801545)
Well, if you are searching for a folder named dog, you would do the following:[region "OTSubType"]"0" AND "dog"for a document with the word cat in its contents:[region "OTSubType"]"144" AND "cat"Cheers,Paul
Dan_Duffy
Thank you for the response. I needed to know what regionto search against and what datatype it took. After testingI concluded that a search against OTSubType must be bysub type integer, there is no translation of the systemconstants e.g. $TypeFolder. Much obliged.