views:

921

answers:

1

hi

i trying to create a "quick campaign" in code, but i don't find a class to do that.

I found the way to create a list and add users to that list. But i can't continue, because i don't know the way.

Anybody can help me?

Thank's


Hola

Estoy intentando crear una campaña expres, pero no encuetro la clase para hacerlo (o la manera).

He conseguido crear una lista de marketing y añadir usuarios. Pero no se como continuar.

Se agradece cualquier ayuda.

Gracias!

A: 

Hello, this is an old post but I thought I'd reply anyway.

The 'quick campaign' entity in CRM is called 'bulkoperation'. The Quick Campaign Wizard only creates activity records of other types, such as phone calls or tasks. The bulk operation is that which actually performs the action of distributing the campaign. A quick campaign is not a standard CRM entity.

As far as I know, you can't create a bulkoperation record using code - there is no 'Create' method for this class. I assume this is because the bulk operations are tied to the CRM platform too tightly.

The closest way to simulate creating a quick campaign, I would suggest, is to perform the actions of the Quick Campaign Wizard using code and create the associated activities that the Wizard would normally create. That, or use the Campaign entity, which can be managed with code.

Search the CRM SDK for the bulkoperation class for more information.