Is there a way to fire off the audience compilation process through c# Specifically, if I wanted to compile just one audience but not the rest, is it possible to do this through code
Thanks in advance for any help offered.
Dez
Is there a way to fire off the audience compilation process through c# Specifically, if I wanted to compile just one audience but not the rest, is it possible to do this through code
Thanks in advance for any help offered.
Dez
Programmatic Audience Compilation
yanivpinhas
Actually, it seems that the audience compilation is possible through the object model. The AudienceJob class has a static method called RunAudienceJob that provides a way to start and stop incremental and full compilation. Althoug, it requires some parameters I can't find.
Here is the SDK :
-
args
-
Takes the following four arguments:
-
ApplicationID
-
Flag: 1 = start, 0 = stop (required)
-
Flag: 1 = full, 0 = incremental (optional, default = 0
-
Audience name (optional; if null or not supplied, all audiences are run)
Return Value An AudienceJobReturnCode value indicating the status code.I have no clue about where to find the ApplicationID parameter. The AudienceJobReturnCode is an integer between 1 and 6 identified by a constant that make me think to C++...
huysmans
Still looking for some help on this one.
Thanks,
Dez
jcm21
quoting from the SDK:
"Compiling audiences is not supported in the object model."
Sorry!
libra08
Ishai,
Thanks for the response. I was wondering if this was the case since I havent been able to find any support on how to do it anywhere. Guess I'll continue with the method I'm working on to fire off the exe file that runs the process instead.
Thanks again,
Dez
Thanh Duong
Anyone
Dez