Rank: Newbie
Groups: Member
Joined: 1/15/2016(UTC) Posts: 5
|
Hi Team, I have different text layers in my PSD file. When the user edits and save, I need to get the latest values from these layers. I am using iframe api to load the customercanvas(hosted seperately) from my site.I could not find any way to access the layer values from my client site. Any help is appreciated. Rohith Edited by user Friday, January 15, 2016 5:47:03 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)
|
Hi rohithpm, The finishProductDesign method returns the userChange parameter, which contains latest values from all text layers. Code:
editor.finishProductDesign({
proofMaxHeight: maxProof.height,
proofMaxWidth: maxProof.width
})
.then(function (result) {
console.log(JSON.stringify(result.userChanges));
});
Best regards, Kate Edited by user Monday, January 18, 2016 3:06:31 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 1/15/2016(UTC) Posts: 5
|
Hi Kate,
Thanks for the reply. Is there a way to get the values from SaveProduct method.
Because I want the values on Save.
Thanks Rohith
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 10/20/2015(UTC) Posts: 52
Was thanked: 14 time(s) in 13 post(s)
|
rohithpm,
Unfortunately, the SaveProduct method doesn't return the userChanges parameter. It returns only returnToEditUrl and stateId parameters.
Best regards, Kate
|
|
|
|
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.