Highlighted

Can You Please tell how can i embed a drive url in location url field i want to show a drive file in

New Here ,
Aug 27, 2020

Copy link to clipboard

Copied

I want to embed a google drive file in adobe view sdk so please tell me method to do it. what should i write in file url . Url that i get from google drive??

 

TOPICS
How to, View PDF

Views

30

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Can You Please tell how can i embed a drive url in location url field i want to show a drive file in

New Here ,
Aug 27, 2020

Copy link to clipboard

Copied

I want to embed a google drive file in adobe view sdk so please tell me method to do it. what should i write in file url . Url that i get from google drive??

 

TOPICS
How to, View PDF

Views

31

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 27, 2020 0
Adobe Community Professional ,
Aug 27, 2020

Copy link to clipboard

Copied

Google Drive doesn't prove direct URLs to the PDF. You'll need to write some code to retrieve the PDF bytes using the Drive API. The Drive URL will give you the File ID to use in the API call but it isn't useful other than that. Once you have the bytes of the PDF, you can pass that into them Embed API "content" property as a Promise that resolves to a ByteArray.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 27, 2020 0
New Here ,
Aug 30, 2020

Copy link to clipboard

Copied

Please can you tell me whole process to view drive document with adobe view
sdk

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 30, 2020 0
Most Valuable Participant ,
Aug 30, 2020

Copy link to clipboard

Copied

YOU need to write code using the Google Drive API. Once you have done that and retrieved the bytes you can use this as noted.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 30, 2020 0
Resources