Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 2.33 KB

relationssearchlistprovidersaledocumentpassive.md

File metadata and controls

63 lines (46 loc) · 2.33 KB
uid title keywords description so.generated so.topic so.envir
relationssearchlistprovidersaledocumentpassive
relationssearchlistprovidersaledocumentpassive
mdoprovider mdo provider relationssearchlistprovidersaledocumentpassive
Serve the active and passive texts of relations, with a given table as source (active) or destination (passive).
true
reference
onsite, online

"relationssearchlistprovidersaledocumentpassive" MDO List

Serve the active and passive texts of relations, with a given table as source (active) or destination (passive).

To facilitate relation searching, we need to provide a way to choose which relation we would like to find. This provider supplies one list (dynamically named) for each table that is used as a source or destination (relationdefinition --> relationtarget).

Each relation target combination supplied by relationtarget causes the relationdefinition to appear in the correct direction, in the list for a table. Each such list is always flat.

Implemented by the RelationsSearchListProvider class. The name of the MDO list is 'relationssearchlistprovidersaledocumentpassive'.

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("relationssearchlistprovidersaledocumentpassive", 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
10

Related MDO Lists

  • "relationssearchlistprovidersaledocumentpassiveheadings"
  • "relationssearchlistprovidersaledocumentpassiveheadingswithallitem"
  • "relationssearchlistprovidersaledocumentpassiveheadingswithallitemwithnoselection"
  • "relationssearchlistprovidersaledocumentpassiveheadingswithnoselection"
  • "relationssearchlistprovidersaledocumentpassivewithallitem"
  • "relationssearchlistprovidersaledocumentpassivewithallitemwithnoselection"
  • "relationssearchlistprovidersaledocumentpassivewithnoselection"