Skip to main content

Posts

Showing posts from March, 2012

How to create new (missing) columns for entities in your Data Export Service Azure SQL database

CRM 4.0: Query Parameters for new Activity records

In the blog of St├ęphane Dorrekens he wrote about the ability to use query parameters in CRM 2011 and CRM 4.0.

As for CRM 4.0 there is a limitation for custom parameters as well as the usage of activity field names as query parameters for new activity records.

If you create a new activity in CRM 4.0 it usually redirects to e.g. "/activities/appointment/edit.aspx".

With this url you cannot add a query parameter like "subject=Test Appointment" or any other field like you could do for accounts or other entities in CRM 4.0.

To workaround this issue you can use this approach instead to reach your final goal:

You must use the URL "/userdefined/edit.aspx?etc=4201".

Now you can set the "etc"-parameter to the correct object type code.
(/sdk/list.aspx to find out the right code)

After this you can use the same technique like for accounts, contacts, etc. (e.g. subject="Test") to prefill the new activity.