Meet us at Drupa 24. Dusseldorf/Germany. May. 28 - Jun 7.
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 : Tuesday, January 5, 2016 1:00:30 AM(UTC)
jee88

Rank: Member

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

Thanks: 11 times
Hi,

Using Query string api we can specify printColorSpace , renderExt , etc.. Same like I need to specify arguments while using Iframe api.

Eg:

Code:
productDefinition = {
            surfaces: [
                {
                    printAreas: [{
                        designFile: "file_1",
                        safetyLines: [{
                            margin: 9,
                            color: 'rgba(0,255,0,255)',
                            altColor: 'rgba(255,255,255,0)',
                            stepPx: 5,
                            widthPx: 1
                        }]
                    }]
                }]

In this product definition how can I give such arguments?

I have given same query string arguments in this iframe definition but it didn't work.

I need to specify different printColorSpace and renderExt arguments in each product defenition, how I do that with iframe ???

Edited by moderator Tuesday, January 12, 2016 9:34:38 PM(UTC)  | Reason: Not specified

Kate D.  
#2 Posted : Thursday, January 7, 2016 12:56:40 AM(UTC)
Kate D.

Rank: Advanced Member

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

Was thanked: 14 time(s) in 13 post(s)
Hi jee88,

Well, you could specify these parameters as the third parameter of loadEditor, but we have found the bug and this feature doesn't work. We will fix it to the next release.

Thanks for the bug report. I will keep you updated

Best regards,

Kate Danilova

Aurigma Inc.

thanks 1 user thanked Kate D. for this useful post.
jee88 on 1/7/2016(UTC)
jee88  
#3 Posted : Thursday, January 7, 2016 2:21:54 AM(UTC)
jee88

Rank: Member

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

Thanks: 11 times
Hi,

Now I am calling customer canvas from another solution using query string api, But I can only render editor page with download button. How can I implement approval page and download page view within that mvc razor view. Finish design button and approval button scripts added like customer canvas solution but it didn't work.

Kate D.  
#4 Posted : Thursday, January 7, 2016 4:07:06 AM(UTC)
Kate D.

Rank: Advanced Member

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

Was thanked: 14 time(s) in 13 post(s)
jee88,

Instructions for initializing of CC editor on your page you can find here:

http://customerscanvas.c...roduct-customization.htm

To implement approval page you should:

1. Create html-file (your approval page).

2. Bind your approval button with your approval page.

3. Call the getProofImages method. See this article:

http://customerscanvas.c...ion.htm#approvingProduct

It return the object containing the proof images links.

4. Pass these links as the src parameters of IMG tag on your approval page.

To implement download page you should:

1. Create html-file (your download page).

2. Bind your download button with your download page.

3. Call the finishProductDesign method. See this article:

http://customerscanvas.c...htm#renderingHiresOutput

It return the object containing the hi-res output link.

4. Display this hi-res output link on your download page.

I have created the simple html-file, which demonstrates how it works. You can get it here:

https://drive.google.com...NDRZMDQ/view?usp=sharing

Hope it helps.

Best regards,

Kate Danilova

Aurigma Inc.

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