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

"suggesteddocument" MDO List

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

SuggestedDocumentProvider creates a MDO list of suggested documents in the database.

Implemented by the SuggestedDocumentProvider class. The name of the MDO list is 'suggesteddocument'.

Additional Attributes

Description Name Example Value
Include deleted records ShowDeleted True
Suggested docs for a given stage link SaleTypeStageLinkId 1234
Suggested docs for a given stage link ProjectTypeStatusLinkId 4321

Separator: &

Sample Request

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

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("suggesteddocument", 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
1 Invitations
2 Write report
3 Write quote doc
4 Write a letter

Related MDO Lists

  • "suggesteddocumentheadings"
  • "suggesteddocumentheadingswithallitem"
  • "suggesteddocumentheadingswithallitemwithnoselection"
  • "suggesteddocumentheadingswithnoselection"
  • "suggesteddocumentwithallitem"
  • "suggesteddocumentwithallitemwithnoselection"
  • "suggesteddocumentwithnoselection"
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top