6

I'm following the SmartTarget documentation here (login needed) as I would like to select a published component as the content for a given promotion.

It's a little confusing:

  1. The interface shows to enter them in the format 7707,7719 etc (assuming 7707 is really component tcm:2-7707 etc).
  2. The documentation wants a 'secondid' based on the id/template id combo eg: tcm_9-11-1104-16_tcm_9-919-32

I've used the preview area of SmartTarget to get my secondid values, and I've entered them into the promotion and I'm not getting any results. I've checked the promo triggers by looking in a specific location.

I've tried combinations of values:

  • With tcm id (with / without colon, hypen, type etc)
  • Without tcm id (with / without colon, hypen, type etc)
  • Secondids
  • Both / all at the same time

I'm starting to think it's a bug in the system, or there is something terribly wrong with me!

I'm using ST 2011 SP 3, Thanks in advance.

  • 1
    The documentation link in your question is linking to area51.stackexchange.com/proposals/38335/tridion. Typo? – Jan H Nov 13 '13 at 13:41
  • Do you see the promotion and the items in Fredhopper's preview window? Or does it already go wrong there? – Peter Kjaer Nov 13 '13 at 15:49
  • these items are in there. – johnwinter Nov 13 '13 at 16:17
  • 1
    So what you are saying is that in Fredhopper's preview, your promotion is firing and the Component Presentations show up. But when retrieved through SmartTarget, neither the Promotion nor the CPs are showing up? In that case, you should check that the correct triggers are being sent and also check if the problem is with rendering the CPs (check CD log files and SiteEdit markup) – Peter Kjaer Nov 15 '13 at 12:42
5

From your question I understand that you want to set up a promotion which uses a list of hand picked items to return for your promotion.

In the field you need to enter a comma separated list of secondid values, in the tcm_9-1104-16_tcm_9-919-32 format. This format effectively is a reference to a specific component presentation. The fist part of the id is the component id, the second part of the id is the compontent template id.

The Business Manager GUI suggest to enter a list of id's like 7707,7719 since you could have any data as promotional items in the system. The component presentations ids stored in the secondid field are what you are looking for and they happen to be a bit longer than the 7707 example.

In the Business Manager preview you can enable the triggers used by your promotion so you can test what the promotion returns.

Update: Also see the documentation Defining promotion action (login required). Apparently you can also choose to enter a separated list.

If you select Handpicked list, enter item IDs, the value of an item's secondid attribute. You can find out the secondid by opening the Preview Page. The format of a content item's secondid is, for example, tcm_9-1104-16_tcm_9-919-32. Add each content item ID on a separate line.

  • +1. As another Handpicked example we have tcm_69-2781-16_tcm_69-6322-32 in one of our training environments. Is there an extra "11" in your example (after the first tcm_9), Jan? – Alvin Reyes Nov 13 '13 at 13:58
  • Well spotted Alvin. I think the extra 11 is a typo in the manual, copied by John an me. It should be the "tcm_9-1104-16_tcm_9-919-32" format. The id "tcm:9-11-1104-16" would not be a valid TCM id in Tridion. i added a comment in the manual and updated the answer. – Jan H Nov 13 '13 at 14:04
  • Hi Jan, I'm using the preview to copy my secondid value, this is correct and it still isn't working - check point '2' in my question. thanks. I've tested the triggers in the promo manager and it works with components from a location, just never by secondid. thanks – johnwinter Nov 13 '13 at 14:06
  • Is it published and in the right publication? Can you find the item in the business manager? – Alvin Reyes Nov 13 '13 at 17:52
  • @JanH, I only caught the typo because I was just about to post an answer. :-) You're too fast. – Alvin Reyes Nov 13 '13 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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