Skip to content

Latest commit

 

History

History
96 lines (76 loc) · 2.26 KB

filterassociates.md

File metadata and controls

96 lines (76 loc) · 2.26 KB
uid title keywords so.generated so.date so.topic so.envir
filterassociates
filterassociates
mdo
provider
mdo provider
filterassociates
true
03.19.2021
reference
onsite
online

"filterassociates" MDO List

Associate list for the Filter dialog. This associate list differs from the standard list in two ways: a) It contains even former employees (you may wnat to filter in our out their activites, even though they have gone); and b) It is of type Selectable, with the currently selected associates marked as such.

Implemented by the FilterAssociateProvider class. The name of the MDO list is 'filterassociates'.

Additional Attributes

Description Name Example Value
Associates linked to this heading heading_id 2
Associates belonging to this user group (primary or secondary groups) group_idx 2
Associates that are members of this project project_id 231

Separator: ;

Sample Request

GET /api/v1/MDOList/filterassociates
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("filterassociates", forceFlatList: true);
foreach (var item in listProvider.RootItems) {
    Console.WriteLine("{0} {1} {2} {3}", 
         item.Id, ResourceManager.ParseInlineResources(item.Name), item.StyleHint, item.ExtraInfo);
}

Sample Output

Id Name StyleHint ExtraInfo
11 Adm0
12 Adm1
13 Adm2
14 Adm3
15 Adm4
16 Adm5
1 Admin Adminson
63 AdmNS02 NetServer
2 Arne Arnesen
3 Brede Bredesen
4 Cato Carlsson
5 Donald Duck
6 Erik Eide
7 Frode Freestad
8 Geir Grønbeck
9 Hans Hansen
10 Ingrid Istad
86 Johan Jensen
87 Kjell Jensen
81 Listadm Listadm
84 Localuser2 Localuser2

Related MDO Lists

  • "filterassociatesheadings"
  • "filterassociatesheadingswithallitem"
  • "filterassociatesheadingswithallitemwithnoselection"
  • "filterassociatesheadingswithnoselection"
  • "filterassociateswithallitem"
  • "filterassociateswithallitemwithnoselection"
  • "filterassociateswithnoselection"