Developer forum

Forum » Ecommerce - Standard features » Create new CustomerProductList from API

Create new CustomerProductList from API

Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi,

I've managed to create a couple of CustomerProductLists from the API, but how is the PublishedId calculated?

I cannot make my lists show up on the frontend, when using it with impersonation. Yes, I have checked that the list is connected to the ID of the impersonated user :)

--
Best regards
Kurt Moskjaer Andersen


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Kurt.

The id is calculated by calling CustomerProductList.GneratePublishedId - and yes it comes with a missing e!!

After creating the list, make sure to call ClearCache(userid) for the user.

Votes for this answer: 1
 
Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Perfect, thanks Nicolai :)

/Kurt

 

You must be logged in to post in the forum