Skip to main content
Inspiring
December 14, 2015
Answered

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

  • December 14, 2015
  • 1 reply
  • 619 views

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).

This topic has been closed for replies.
Correct answer nbennett25

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

1 reply

nbennett25AuthorCorrect answer
Inspiring
December 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