• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using PDF Embed API on multiple domains

New Here ,
Nov 29, 2022 Nov 29, 2022

Copy link to clipboard

Copied

Hello! I have a PDF brochure that I want to share with our travel partners to embed on their website. It would be distributed on 100+ unique domains (abc.com, xyz.com, etc). From what I can tell, the only way to do this is laborious: I'd need to create an individual project for each domain and then provide a unique custom embed code for that domain.

 

Am I missing something? Is there any way I can use one single embed code for all websites? Or open the embed up so it's not locked to a specific domain? Seems so limiting....

TOPICS
How to , PDF Embed API

Views

1.0K

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
community guidelines
New Here ,
Dec 13, 2022 Dec 13, 2022

Copy link to clipboard

Copied

Anyone have any ideas? Thank you 😊

Votes

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
community guidelines
Adobe Employee ,
Dec 14, 2022 Dec 14, 2022

Copy link to clipboard

Copied

Well, typically people don't have to push the code to 100+ unique domains. That being said, if you want to host the Embed yourself, and use an iFrame on those other sites, that could work. 

Votes

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
community guidelines
New Here ,
Jan 12, 2023 Jan 12, 2023

Copy link to clipboard

Copied

should allow at least 2 different domains. 1 for staging and 1 for a production site. if the staging/dev site is on another domain you have to use 2 different keys.

Votes

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
community guidelines
Adobe Employee ,
Jan 12, 2023 Jan 12, 2023

Copy link to clipboard

Copied

You can always stores keys in environment variables. Also, if your dev/staging/production are all something.foo.com (dev.foo.com, staging.foo.com, www.foo.com), you can just make a key for foo.com.

Votes

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
community guidelines
New Here ,
Feb 01, 2023 Feb 01, 2023

Copy link to clipboard

Copied

Is this still the case for the PDF Embed API? I keep getting a 400 response when trying to enter a list of domains:

"Invalid domain provided"

Votes

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
community guidelines
Adobe Employee ,
Feb 01, 2023 Feb 01, 2023

Copy link to clipboard

Copied

LATEST

Correct. Enter one domain for one credential.

Votes

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
community guidelines
Resources