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



Go to last post Go to first unread
#1 Posted : Sunday, January 31, 2016 11:57:22 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 1/29/2016(UTC)
Posts: 1

How do I load a state Id using the Iframe API?

configuration = {

initialMode : 'Advanced',

lang : 'en',

state : $("#stateID").val(),

userId : $("#memberID").val(),

widgets : {FinishButton: {mode: "Disabled"}},


var editor = CustomersCanvas.IframeApi.loadEditor(iframe, productDefinition, configuration);

This is not working - although the state is saved in the Customer Canvas Admin...


Edited by user Sunday, January 31, 2016 12:02:42 PM(UTC)  | Reason: Not specified

Kate D.  
#2 Posted : Monday, February 1, 2016 4:52:46 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)

Just put the stateId parameter as a string instead the ProductDefeniciton argument of the loadEditor functions as follows:


CustomersCanvas.IframeApi.loadEditor(iframe, "e092a510-efaf-4263-a150-33f23e49eef2" , configuration})

Hope it helps.

If the problem still exists, please send me your source code (html-file) and I will try to fix it.

Best regards,


Users browsing this topic
Similar Topics
Load stateId with iFrame API - How do I load a state Id dynamically using the Iframe API? (Discussions – Customer's Canvas)
by benadams 4/18/2018 3:35:40 PM(UTC)
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.