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

What's the best way to embed a library template?

Explorer ,
Dec 14, 2015 Dec 14, 2015

Hello - I'd like to be able to embed a document in a page so that our customers can fill out additional information, and then sign the agreement. I had thought that this was possible through the creation of a widget, but I don't see a way to link a library template file to a widget. Using the v20 of the SOAP API, the response I see when trying to create a widget using a Library Template is:

["errorCode"]=>

    string(10) "MISC_ERROR"

    ["errorMessage"]=>

    string(51) "Library templates are not permitted as input files."



Is the only solution to download the actual document, then re-upload it through the widget creation request as  a 'file' parameter? That seems like a really poor design choice, for multiple reasons (bandwidth, for one).

572
Translate
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

correct answers 1 Correct answer

Explorer , Dec 21, 2015 Dec 21, 2015

After some testing, I think I have found a solution. I can create a widget template in the admin, then use that widget url to create a personalWidgetUrl, that I can then put into the iframe. The only problem I've found is some undocumented API errors:

Unexpected API error response on createPersonalUrlWidget() request

Translate
Explorer ,
Dec 21, 2015 Dec 21, 2015
LATEST

After some testing, I think I have found a solution. I can create a widget template in the admin, then use that widget url to create a personalWidgetUrl, that I can then put into the iframe. The only problem I've found is some undocumented API errors:

Unexpected API error response on createPersonalUrlWidget() request

Translate
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