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
|
|
|
|
Rank: Advanced Member
Groups: Member
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.htmIt 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
|
1 user thanked Kate D. for this useful post.
|
|
|
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.