RTF to PDF save is not working
We are using coldfusion to post an http request. We pass the hidden form fields as described in the documentation:
the code follows
<cfhttp url="https://exportwriter.zoho.com/remotedoc.im" method="post">
<cfhttpparam type="formfield" name="url" value="https://www.oururl.com/Payment_Plan_Template.rtf">
<cfhttpparam type="formfield" name="apikey" value="our API Key">
<cfhttpparam type="formfield" name="output" value="url">
<cfhttpparam type="formfield" name="mode" value="normaledit">
<cfhttpparam type="formfield" name="filename" value="Payment_Plan_Template_3.pdf">
<cfhttpparam type="formfield" name="lang" value="en">
<cfhttpparam type="formfield" name="id" value="12345678">
<cfhttpparam type="formfield" name="format" value="pdf">
<cfhttpparam type="formfield" name="saveurl" value="https://www.oururl.com/save_doc.cfm">
</cfhttp>
This code generates the following error:
RESULT=FALSE ERROR_CODE=1842 WARNING=Imported file extension not supported
Now, according to the documentation the "format" parameter defines the output format and "pdf" is allowable. Also, the filename parameter is passed to the postback page "save_doc.cfm", but we never get there because the zoho writer is throwing the above error on post.
We realize that the Export control exports the document to a pdf, but then you have to interact within the browser to save the file. what we were expecting was that the "Save" button would write out the file to pdf. Naturally, the file would have to be treated as a binary file, but why not?
Bill
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Zoho Office Integrator: Moving to the all-new Zoho Sheet
We introduced the latest version of Zoho Sheet—Sheet 5—in early 2019. This new version consists of a new user interface, improved performance, and an array of useful features. As a part of this, we will upgrade our Remote API integrations to the new version's editor interface on February 29, 2020. Update: The remote API integrations upgrade to the new version's interface will be done on April 15, 2020. Here are some exciting enhancements the new version of Sheet offers for our API users: An AI-powered
Businesses prefer Zoho Office Integrator over Microsoft WOPI - Here's why
Businesses often have difficult decisions to make when building web applications that provide document management capabilities for their users. For example, what's the best solution to integrate with online office editors— Zoho Office Integrator or Microsoft
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.