Meet us at Drupa 24. Dusseldorf/Germany. May. 28 - Jun 7.
Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
rohithpm  
#1 Posted : Monday, February 1, 2016 10:48:25 PM(UTC)
rohithpm

Rank: Newbie

Groups: Member
Joined: 1/15/2016(UTC)
Posts: 5

Hi Team,

I am using customer canvas with iframe API. The user has different products (PSD templates) and need to CREATE as well as EDIT them. Each template has some text layers.

Scenario

The user creates a product (say productid=1) by filling the text layer values

The user need to create another product (say productid=2 but with the same template).

Issue

When the user loads the canvas for productid=2, the values are loaded from the product with productid=1.

It is loading from the “cc-product<GUID>” session.

That means session is based on the template. Is there any way to base the session on template+productid? Or can the session be turned off?

Thanks

Rohith

Kate D.  
#2 Posted : Wednesday, February 3, 2016 4:33:16 AM(UTC)
Kate D.

Rank: Advanced Member

Groups: Member
Joined: 10/20/2015(UTC)
Posts: 52

Was thanked: 14 time(s) in 13 post(s)
Hi rohithpm,

You need to disable the restoreProductOnReloadEnabled parameter in the clientConfig.json.

Code:
"restoreProductOnReloadEnabled": false

So, the product will be reverted on reloading.

Best regards,

Kate

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.