Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jee88  
#1 Posted : Wednesday, January 13, 2016 4:04:17 AM(UTC)
jee88

Rank: Member

Groups: Member
Joined: 10/19/2015(UTC)
Posts: 21

Thanks: 11 times
Hi,


I need an example for iframe api saveProduct() editor function. My need is to save current canvas product draft in to specified location. How I can do that? please replay with an example.

Edited by user Wednesday, January 13, 2016 4:06:47 AM(UTC)  | Reason: Not specified

Kate D.  
#2 Posted : Friday, January 15, 2016 4:48:01 AM(UTC)
Kate D.

Rank: Advanced Member

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

Was thanked: 14 time(s) in 13 post(s)
First, you need to explore this article: https://customerscanvas....rameApi-introduction.htm

It provides an overview how iFrameApi works.

In this article you will find the example including the saveProduct() method.

This method returns a product state identifier (stateId) and a URL, which allows you to return to editing the product in the designer (returnToEditUrl).

So, all states with information about products store in the /UserDataFolder/someUserId/states/ folder, where someUserId is the name of special user.

You can find this state on the relevant stateId (a name of the state equal stateId).

Hope it helps.

Best regards,
Kate
thanks 1 user thanked Kate D. for this useful post.
jee88 on 1/15/2016(UTC)
Users browsing this topic
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.