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... Helpjavascript:__doPostBack('forum$ctl03$PostReply','') Edited by user Sunday, January 31, 2016 12:02:42 PM(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, Just put the stateId parameter as a string instead the ProductDefeniciton argument of the loadEditor functions as follows: Code:
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, 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.