01-04-2022 02:17 AM
Hi,
I have some questions on the search . I want to search properties managepermissionermissionName = "FAIS". how i can do that?
search syntax:-
PATH:"//app:company_home/cm:AHMAD"
01-04-2022 03:14 PM
Always use FTS. Refer the documentation: https://docs.alfresco.com/search-services/latest/using/
Here are some examples:
Approach 1 [Search on the repository with exact match]:
=@managepermission:permissionName:"FAIS" another example based on name: =@cm:name:"AHMAD"
Approach 2 [Search on the site (here site name is 'test') documentlibrary with exact match]:
PATH:"/app:company_home/st:sites/cm:test/cm:documentLibrary//*" AND =@managepermission:permissionName:"FAIS" Based on name: PATH:"/app:company_home/st:sites/cm:test/cm:documentLibrary//*" AND =@cm:name:"AHMAD"
Approach 3 [Search on the site (here site name is 'test') documentlibrary and specified content type with exact match]:
PATH:"/app:company_home/st:sites/cm:test/cm:documentLibrary//*" AND (TYPE:managepermission:managepermission AND =@managepermission:permissionName:"FAIS") PATH:"/app:company_home/st:sites/cm:test/cm:documentLibrary//*" AND (TYPE:cm:content AND =@cm:name:"AHMAD")
Explore our Alfresco products with the links below. Use labels to filter content by product module.