I am trying to use footprints in XPM with a custom made claim, for a Smart Target promotion.

That claim is created when I pass a querystring parameter to any page in the website.

Promotion works well, and I get the expected results. My problem is when trying to overwrite the claim using XPM footprint.

I have followed these steps to configure it: http://blog.trivident.com/2014/12/creating-custom-footprints/

I see the footprint in XPM but when I apply a value, my promotion doesn't update. I always get the fallback content or the promotion for the claim value I established before; Current claim value is never overwritten using footprint (or at least I never get the appropiate promotion).

Any idea of what I am missing?

Thank you.

This is what I have done (hope it isn't too long):

To create my claim, first I created a processor that sets the value using querystring; if I don't get the parameter, claim is not set:

public void onRequestStart(ClaimStore claimStore)
    throws AmbientDataException


      Map<String, String[]> paramValues = (Map)claimStore.get(WebClaims.REQUEST_PARAMETERS, Map.class);
      String equipo = "";
      if (paramValues.containsKey("equipo")) {
        equipo = ((String[])paramValues.get("equipo"))[0];
        this.LOG.debug("TeamClaimProcessor : Retrieved equipo: " + equipo);
        claimStore.put(TeamClaims.TEAM_VALUE, equipo);

      catch (Exception e)
        this.LOG.error(e.getMessage(), e);

Value of URI:

public class TeamClaims
  public static final URI TEAM_VALUE = URI.create("taf:claim:team:value");

I created a config file for my claim:

    <?xml version="1.0" encoding="UTF-8"?>
<CartridgeDefinition Version="6.1" Uri="taf:cartridge:team" Description="Team cartridge."
        <ClaimDefinition Uri="taf:claim:team:value" Scope="SESSION" Description="Equipo elegido por el usuario" />


        <ClaimProcessorDefinition Uri="taf:claimprocessor:team" ImplementationClass="com.tridion.fecron.ambientdata.TeamClaimProcessor"
                            Description="Claim processor that gets team.">

                    <ClaimDefinition Uri="taf:claim:team:value" />



Then I added that config file to cd_ambient_conf.xml in my website (it is a Tomcat-Java based website), and I add my claim to the GloballyAcceptedClaims:

     <Claim Uri="taf:claim:team:value"/>

I added this to the app smarttarget_conf.xml file:


In fredhopper instance, I added the claim to the trigger-types.xml file:

<trigger-type basetype="text" url-param="tm_value" name="Team Value">
    <list-of-values multiselect="true">

Then I created my promotions based on that trigger.

When I enter my page using ?equipo=madrid I get the Madrid promotion, etc. So far it works fine.

To add the footprint to XPM I added to C:\Tridion\web\WebUI\Editors\SiteEdit\Configuration\SiteEditEditor.xml

<footprint ID="equipo" controlID="FootprintRadio" Icon="footprint.sessionlength" />

And to C:\Tridion\web\WebUI\Models\SiteEdit\Configuration\SiteEditModel.xml

<footprint ID="equipo" claimUri="taf:claim:team:value">
                            <value>Equipo de futbol</value>
                            <value>Equipo elegido por el usuario</value>
                            <value text="" default="true">
                            <value text="madrid">
                            <value text="barcelona">
                            <value text="athletico">

Footprints are there when I access to XPM. But when I apply a value, my promotion keeps showing the same content, no matter what I choose.

  • How did you validate the claimstore never gets overwritten ?
    – user219
    Jul 1, 2015 at 13:19
  • Muy promotion doesn't get the right content. It does if I enter the web app under the right conditions but not using footprints. Jul 2, 2015 at 4:23
  • 1
    Did you add your claim to the GloballyAcceptedClaims element in the cd_ambient_conf.xml? I see this is also explained in the blog post you mentioned, but this is I think what allows XPM Footprints to overwrite a claim value. Jul 2, 2015 at 6:32
  • Yes, I did, under <Security> section Jul 2, 2015 at 6:36
  • Can you update your question with the changes you made, feels almost like a typo or miss configuration in one of them.
    – user219
    Jul 2, 2015 at 7:00

1 Answer 1


The problem seemed to solve when I added this in Security section of cd_ambient_conf.xml:


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.