Using the new 2013 Developer Toolkit to deploy code to CRM 2013 Online

CRM 2013 SDK is out and I comes with the new developer toolkit for Visual Studio 2012. If you just want to have a play and still don’t have CRM 2013 on premises, here is how you can start to play with some 2013 new features:

  1. Subscribe to CRM online
  2. Download CRM 2013 SDK
  3. Unpack the SDK file and go to SDK > Tools > DeveloperToolkit
  4. Install the developertoolkit and open Visual Studio 2012
  5. Go to File > New > Project. You will see a new set of templates under Dynamics CRM

IMG1

  1. Select “New Visual Studio Solution Template for Dynamics CRM 2013”.
  2. That action will generate a CRM solution with the most common CRM components and prompt you to enter credentials. Here is where it gets a little tricky. For CRM Online, you will enter “disco.crm5.dynamics.com” regardless of your url.
  3. Select HTTPS and click “Connect”
  4. Enter your 360 user login ( It should look like loginid@yourcrmsite.onmicrosoft.com)
  5. Click Log on
  6. At this point if you login you should be able to select your organisation and solution
  7. Click OK.

IMG2

Once your login succeed, you should see this CRM Object Explorer:

IMG3

If you expand a branch like “Entities”, you should see all the entities available on your Crm.

IMG4

Before you can use the Deploy command, remember you need to do a few tweaks. First, Create a Strong Name Key for Any Plugin or Workflow you create. (Please bear in mind that once you decide to use this for real development, you may want to add an appropriated name to your components before you deploy. Remember also that it’s not a good idea to use the Deploy feature of the developer toolkit to release code on later stages like UAT and Production)

IMG5

You will also need to change the “RegisterFile.crmregister” Isolation level of any component that is set to anything but “sandbox”. Remember even though workflows are now allowed as long as deployed on the sandbox.

IMG6

If you build and Right Click CRMPackage, you should have a successful deploy

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s