Working with Multi-tenancy in Visual Stuidio

คำตอบ Working with Multi-tenancy in Visual Stuidio

ตอบทั้งหมด

  • 12 มีนาคม 2551 16:09
    เจ้าของ
     
     
  • 12 มีนาคม 2551 16:57
    ผู้ดูแล
     
     

     

    Organization myOrg = new Organization();

    myOrg.UniqueName = "TestOrg";

    myOrg.FriendlyName = "Display Name for TestOrg";

    myOrg.SqlServerName = "testsql"; // Replace this with the name of your sql server.

    myOrg.SrsUrl = "http://localhost/ReportServer"; // Replace this with the name of your SRS Server URL.

    myOrg.BaseCurrencyCode = "USD";

    myOrg.BaseCurrencyName = "US Dollar";

    myOrg.BaseCurrencySymbol = "$";

     

     

    see http://blogs.msdn.com/crm/archive/2008/01/18/multi-tenancy-in-crm-4.aspx

     

    Regards,

    Imran

     

    http://microsoftcrm3.blogspot.com

     

  • 12 มีนาคม 2551 23:07
    ผู้ดูแล
     
     
    In a multi-tenant environment you're better off downloading the WSDL from the customization area in the CRM web application for the relevant organisation, and building a proxy class using the wsdl command line tool. Let us know if you need more detail on how to do this

     

  • 13 มีนาคม 2551 0:05
    ผู้ดูแล
     
     คำตอบ
    Hi Christian,

    unfortunately http://localhost/orgname/... is no good as it gives back default WSDL.

    The correct endpoint for a particular organisation is:

    http://localhost/MSCrmServices/2007/CrmServiceWsdl.aspx?uniquename=OrgName

    "Politically correct" method of getting custom WSDL endpoint is to open CRM and to navigate to

    Settings->Customization->Download Web Services Description Files


    Hope this helps

    George

  • 13 มีนาคม 2551 8:28
     
     

    Having to download the WSDL from CRM just takes to long to do. I like the http://localhost/MSCrmServices/2007/CrmServiceWsdl.aspx?uniquename=OrgName

    option more . Thank you.