Skip to main content
Participating Frequently
October 10, 2017
Question

Issue with URL links in publish online

  • October 10, 2017
  • 6 replies
  • 5311 views

I have created a test interactive document with links to product DG012 on our company website.

https://indd.adobe.com/view/da74b2d3-46b2-40cf-99e2-8201ddc6248a

When the link is clicked from publish online it opens the page but seems to disable all scripts that run on the website. e.g. search field and add to cart no longer functions on that page.

The website itself functions correctly if you navigate to the link manually ( http://www.lockhart.co.uk/Table-Service-and-Buffet/Buffet-Display/Display-Stands/Rafters-Fusion-1-2-Board~p~DG012 ).

On closer inspection it seems to be an iframe issue -

If I go into chrome developer tools i get the following errors:

The key "target-densitydpi" is not supported.

cast_sender.js:76 Uncaught DOMException: Failed to construct 'PresentationRequest': The document is sandboxed and lacks the 'allow-presentation' flag.

    at V.P (chrome-extension://pkedcjkdefgpdelpbcmbmeomcjbeemfm/cast_sender.js:76:87)

    at Object.chrome.cast.P (chrome-extension://pkedcjkdefgpdelpbcmbmeomcjbeemfm/cast_sender.js:91:165)

    at g.VI.g.h.init (https://www.youtube.com/yts/jsbin/player-vflgfcuiz/en_US/base.js:5981:519)

    at xAa (https://www.youtube.com/yts/jsbin/player-vflgfcuiz/en_US/remote.js:34:60)

    at yAa (https://www.youtube.com/yts/jsbin/player-vflgfcuiz/en_US/remote.js:35:8)

    at window.chrome.window.chrome.cast.window.chrome.cast.isAvailable.window.__onGCastApiAvailable (https://www.youtube.com/yts/jsbin/player-vflgfcuiz/en_US/remote.js:35:374)

    at chrome.cast.ea (chrome-extension://pkedcjkdefgpdelpbcmbmeomcjbeemfm/cast_sender.js:94:152)

Rafters-Fusion-1-2-Board~p~DG012:1 Blocked form submission to '/cart/add' because the form's frame is sandboxed and the 'allow-forms' permission is not set.

Rafters-Fusion-1-2-Board~p~DG012:1 Blocked form submission to '/search' because the form's frame is sandboxed and the 'allow-forms' permission is not set.

When clicked the link opens in a new window so I am not sure how to go about editing the code behind the sandbox element.

Any advice would be greatly appreciated.

Thanks

Chris

This topic has been closed for replies.

6 replies

Participating Frequently
July 16, 2019

Has anybody resolved this, we've just had the same issue.

Diane Burns
Inspiring
July 18, 2019

As brian-bedesign​ said, this issue has been resolved. The last time I tried, it worked. By that I mean a Publish Online document had a link to a PDF on a server, and it opened the PDF window correctly.

Can you please let us know the platform and browser that's giving you trouble? Also, if you could post the Publish Online document, that would be helpful to test in other browsers. Thanks.

Robbo75
Participant
February 8, 2019

As of Feb 2019, we're having the same issue.  We have a PDF being published online. There's a button on the PDF that leads to a Contact Us page on our website, which opens with no issues.  When you try to fill out the form, it's blocked due to no allow-forms in the sandbox.

This is causing a problem for us. If we can't link it back to a form for people to express interest in our offering, we're not achieving our goal for the document. 

Hoping to hear an update on this soon.

Participating Frequently
February 11, 2019

Are you referring to an interactive pdf parked on a website somewhere, or an .indd document pushed to Adobe's server using Publish Online?

It seems Adobe has addressed this iframe/sandbox with Publish Online docs. Forms seem to works on my publish online documents now, when they didn't about a year ago (same exact docs, no updates).

Could it be something with the facebook url you're pointing to?

Brian

Participant
May 28, 2018

A client just pointed out this exact issue on a site we have a book published online for.

Is there any update or workaround anyone has found on this?

Patrick

Diane Burns
Inspiring
May 30, 2018

Can you let me know if this (temporarily) resolves it:

Right-mouse click on the link and then choose Open in new Tab.

This has avoided the iFrame issue in other cases, I'd like to know your result.

Thanks.

Participant
June 1, 2018

Diane,

Right click and Open In New Tab works, but that's because when you open a link that way, it's ignoring the iframe codes that are causing the problem directly from the published document.

That's however not a practical solution to tell lots of viewers to open in new tab - the code on the published document page needs to be improved to not restrict opening the link in a new tab - either by dropping the restriction (which then creates a security risk) or by improving the options on the published document to have some API style features where you can allow particular domains to be 'whitelisted' for a document.

Patrick

Participant
November 9, 2017

We have been facing the same issue and after extenssive testing we have found the cause. Within the adobe published page there is an iframe in sandbox mode. the sandbox mode does not allow forms and as a result it breaks the form submissions. I am trying to work out why this impact pages that are linked from and open in a new tab but I have confirmed that adding allow-forms to an iframe will fix this issue.

Hopefully Adobe will be able to push a fix for this. amaaroraBobLevine

amaarora
Community Manager
Community Manager
November 9, 2017

Hi,

Can you please report the issue here.Adobe InDesign Feedback

Please add all relevant information.

-Aman

Participant
November 9, 2017

Updated the bug report earlier today. Thank you

amaarora
Community Manager
Community Manager
October 10, 2017

Hi,

This issue suprises me.

I tried opening the published online document on my mobile using Safari and Chrome; by clicking the item (#4) you mentioned it took me to the website.

Fortunately, all operations on that website including Add to basket, search funtion, live chat etc work fine.

Did i misunderstood the question? Do you mean that you are not able to "get" input values from the webpage once it is opened from the published online document?

-Aman

Participating Frequently
October 10, 2017

the plot thickens, I assume it was on an iphone if you have safari?

I just tried on my Samsung S8 in chrome and the button + search field are disabled.

I then tried on my colleagues iphone 7 in safari the button works but search field is disabled.

amaarora
Community Manager
Community Manager
October 10, 2017

Hi,

Tried on iphone and safari and chrome. Search isnt disabled for me...

Chrome screen:

Safari screen:

-Aman

BobLevine
Community Expert
Community Expert
October 10, 2017

Have you tried with more than one browser?

Participating Frequently
October 10, 2017

I have tested on chrome on both mac and pc which both have same issue with the add to cart button and search field.

Firefox seems to have same issues as chrome but interestingly in safari the add to cart button functions but the search field is still disabled.

BobLevine
Community Expert
Community Expert
October 10, 2017

Someone else posted a similar problem the other day. With that one it was a PDF link that didn't work on Safari.

Something's buggy somewhere but I don't know where.