locked
Access System-Wide Settings Programmatically RRS feed

  • Question

  • Can CRM system-wide settings be accessed through the SDK?  I have a custom public-facing site connected to CRM that allows file uploads; I need to 1) check the file size limit (using the email attachment limit set in CRM system settings) and 2) check the blocked file extensions list in system settings.

    I know that these settings alone in CRM will prevent a file too large or a blocked file from being uploaded successfully into CRM, but I would like to trap it and return my own message and other logic.  I am using CRM 2011.

    Wednesday, April 6, 2011 6:48 PM

Answers

  • The properties you are looking at are these

    Entity: Organization

    Properties: BlockedAttachments, MaxUploadFileSize

     

    Search Organization Entity Metadata inside the SDK for more details


    Manny Grewal || Australia
    • Proposed as answer by Manny Grewal Wednesday, April 6, 2011 11:46 PM
    • Marked as answer by dbs5150 Thursday, April 7, 2011 4:42 PM
    Wednesday, April 6, 2011 11:46 PM

All replies

  • The properties you are looking at are these

    Entity: Organization

    Properties: BlockedAttachments, MaxUploadFileSize

     

    Search Organization Entity Metadata inside the SDK for more details


    Manny Grewal || Australia
    • Proposed as answer by Manny Grewal Wednesday, April 6, 2011 11:46 PM
    • Marked as answer by dbs5150 Thursday, April 7, 2011 4:42 PM
    Wednesday, April 6, 2011 11:46 PM
  • YOU ARE THE MAN-NY!  Thanks, this is exactly what I was hoping for.

    Thursday, April 7, 2011 4:45 PM