Abhishek Arora
Adobe Employee
Abhishek Arora
Adobe Employee
Activity
‎Sep 13, 2021
01:15 AM
Hi,
You can create one client id for "xx.com" and it should work for all your subdomains, and if you wist to separate out between dev and prod env then please create one for "dev.xx.com" and another for "xx.com" and use it accordingly. Let us know if it doesn't work for you.
Thanks.
... View more
Adobe Employee
in Acrobat Services API Discussions
‎May 24, 2021
03:59 AM
2 Upvotes
‎May 24, 2021
03:59 AM
2 Upvotes
Hi harsh201,
Sorry for being late here. To answer your question rendered PDF is not being stored on Adobe servers and infact it doesn't even reach to Adobe servers, it remains on user machine itself.
To display PDF, we are using URL.createObjectURL (https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL), it generates such blob url and for each URL generated by URL.createObjectURL the browser stores a URL -> Blob mapping internally.
Hope it helps. Let me know if more information is required.
Thanks,
Abhishek
... View more
‎Apr 10, 2021
09:42 AM
Thanks for reporting it, looks like it is a bug which we will target to fix in coming release.
... View more
‎Feb 19, 2021
04:39 AM
Thanks for reporting the errors. We have noted it down and will work on fixing them in the coming release. Though these errors are completely harmless (can be ignored) and only show up when developer tool is opened.
... View more
‎Sep 11, 2020
06:18 AM
Hi, You can use getSelectedContent viewer API to get the selected text after receiving the PREVIEW_SELECTION_END event. API is documented in Viewer API section of documentation.
... View more
‎Jun 19, 2020
06:30 AM
Hi, Thanks for trying out View SDK. Currently auto populating the form fields is not supported. We will add this feature request to our product roadmap. Thanks.
... View more
‎Jun 03, 2020
11:56 AM
Please create the API key for "phadp.org" then it should work for both variations of the domain. Thanks.
... View more
‎May 19, 2020
12:42 AM
Thanks for reporting the issue, we will target to fix it with our next release of View SDK.
... View more
‎May 12, 2020
09:49 AM
Looks like you are passing PDF URL which is on different subdomain (notice no "www." present in PDF URL). Please try PDF URL as "https://www.shcsfarmington.org/Newsletter_050420.pdf" and check. Thanks.
... View more
‎May 11, 2020
10:05 PM
Sure, I agree CORS mechanism is not a simple one. But with View SDK usecase, it won't be a big problem to solve. Let's take your use case and try to solve for that. To proceed I will need some extra info but anyway let me list down all the cases. As you will be creating your own html file using View SDK (as you have shown above in your test code), now solving the CORS problem will boil down to where are you going to host this html file.
Given your PDF files resides at www.mydomain.org
1. If you host html file on same domain (www.mydomain.org ), then it will just work and you won't get into any CORS issue at all.
2. If you plan to host html file on different domain/subdomain (www.mydomain2.com or www.subdomain.mydomain.com) then the PDF files need to provide the header which allow CORS, mainly indicating that these other domain can read PDF content. On how to do it, is going to depend on how are you stroing the PDF files on www.mydomain.org.
Let me know if it helps.
... View more
‎May 11, 2020
11:33 AM
Thanks for trying out the View SDK, CORS is mechanism used by browsers for controlling the access to your resources (your PDF file in this case), more details about it can be found here https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS. When View SDK try to render the PDF file, it first downloads the file from the provided location, which requires CORS need to be enabled. It can be easily achieved by 2 ways:
1. Enable the CORS header on your resource where you want to use it. Above link can help you in that.
2. Or keep the PDF Viewer and resource on the same domain. For example, if your PDF file is present at https://abc.com/news/xyz.pdf then your PDF viewer should be same domain (for example at https://abc.com/viewer/test.html).
Let us know if it helps or any other information is required. Thanks.
... View more
‎May 07, 2020
07:16 AM
Currently it is not possible to hide it by custom css as well. Thanks.
... View more
‎May 07, 2020
03:49 AM
Thanks for trying out the SDK, currently disabling search functionality is not available. We have noted it down to consider for future release.
... View more
‎Mar 31, 2020
03:10 AM
Hi, Thanks for raising the point. Ideally it should work, can you provide more information here so that we can see why is it not working. Following information will help: client Id, domain on which you are using it, how are you invoking the SDK and any error if you are seeing in developer console. Thanks.
... View more
Adobe Employee
in Acrobat Services API Discussions
‎Mar 06, 2020
06:34 AM
1 Upvote
‎Mar 06, 2020
06:34 AM
1 Upvote
Thanks for the update, its good to know that it worked for you. SDK do recongnizes subdomains but browser do put some restrictions while downloading file content, for example around CORS means if file serving domain is different from where it is used then CORS need to be enabled while serving the file.
... View more
‎Mar 05, 2020
03:42 AM
Looks like file location (https://cookbooks.vintagecooking.live/pdf/test.pdf) which you have provided in the code snippet is not reachable. If for a valid file location you keep getting the error then please do let us know. Thanks.
... View more
‎Feb 17, 2020
06:41 AM
It is not expected, but looks like the client id which you are using is not authorized with the domain in discussion. Now to answer why it is working in normal browser but not in Incognito node, it is a bug in View SDK in very corner scenario. We will fix it in coming release. Thanks for reporting it.
... View more
Adobe Employee
in Acrobat Services API Discussions
‎Feb 14, 2020
02:48 AM
1 Upvote
‎Feb 14, 2020
02:48 AM
1 Upvote
Hi, its good that you got it working. But in your commented piece of code looks like you are passing the client id including delimiters "<" & ">", which was creating the problem.
... View more