• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

"exporttemplate" MDO List

Some tooltip text!
• 1 minute to read
 • 1 minute to read

MDO provider for the list of template files for the 'export to file' function in the Selection Task pane. These are .sxf files found in so_arc/template, as well as in the so_arc/<username> directory of the current user.

Impersonation is used if specified by the config file to access the document directories.

The file name is returned as the list item name, while the full path is in the extrainfo.

Implemented by the ExportTemplateProvider class. The name of the MDO list is 'exporttemplate'.

Sample Request

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

Sample Code

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

Related MDO Lists

  • "exporttemplateheadings"
  • "exporttemplateheadingswithallitem"
  • "exporttemplateheadingswithallitemwithnoselection"
  • "exporttemplateheadingswithnoselection"
  • "exporttemplatewithallitem"
  • "exporttemplatewithallitemwithnoselection"
  • "exporttemplatewithnoselection"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top