2

I am new to SmartTarget 2011 and have a couple of questions:

  1. Can we specify "NamespaceName.ClassName' for ImplementingClass if the claim processor is in the .Net dll?

  2. Does the claim processor always be in Java instead of .NET (by implementing ClaimProcessor interface)? The reason I am asking this is because everywhere I am seeing it being written in Java. To me it seems we can write in .NET as well. Please confirm.

1 Answer 1

3

On the Content Delivery side of Tridion APIs that you call, can normally be called from .NET and Java. But plugins that you create and Tridion calls, are normally in Java only (unless you do your own interop).

For #2: as far as I know you can only write ClaimProcessors in Java.

6
  • So how it finds the java class if the implementionclass is specified as com.tridion.... do the jar file need to have the same name as the cartridge file to reach the class ?
    – user932
    Mar 25, 2014 at 13:22
  • I would recommend reading a bit more about how it works - your question seems to be based on wrong assumptions (I never had to use com.tridion for my claims). Eric Huiza has some good stuff (erichuiza.blogspot.co.uk/2012/07/…), and of course so does the documentation (sdllivecontent.sdl.com/LiveContent/content/en-US/…).
    – Nuno Linhares
    Mar 25, 2014 at 13:54
  • And here's an example of a claim processor I wrote: github.com/NunoLinhares/TridionContextEngineWrapper/blob/master/…
    – Nuno Linhares
    Mar 25, 2014 at 13:56
  • Ok. I saw your implementation class as "com.sdl.tridion.context.personalization.SetClaimsAsCharacteristics", which must be in some jar file. How ADF finds that particular jar file.
    – user932
    Mar 25, 2014 at 14:08
  • 1
    Frank: "For #2: as far as I know you can only write ClaimProcessors in Java. " Your assumtion is correct.
    – Jan H
    Mar 26, 2014 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.