No querystring neither file content for saving back a doc
Hi to all,
I have a problem saving a document when I call Writer's remote API.
First of all I make this request:
- https://exportwriter.zoho.com/remotedoc.im
- ?url=[my web site]/tmp1.doc
- &apikey=[my api key]
- &output=url
- &mode=normaledit
- &filename=tmp1.doc
- &lang=it
- &id=23234
- &format=doc
- &saveurl=[my web site]/Save.aspx
Then I use output url in a frame and Zoho Writer Editor appears loading correctly my file (tmp1.doc).
After that, I edit my file adding some text and I click on Zoho Writer's button save.
My page Save.aspx get the response of Zoho request and it's ok.
According to this sample, code inside Save.aspx is this one:
- protected void Page_Load(object sender, EventArgs e)
- {
- System.IO.StreamWriter writer;
- string logMessage = "";
- HttpPostedFile returnFile = null;
- string filename = "";
- string percorso = System.Web.HttpContext.Current.Request.MapPath(System.Web.HttpContext.Current.Request.ApplicationPath);
- try
- {
- returnFile = Request.Files["content"];
- filename = Request.QueryString["filename"];
- Request.Files["content"].SaveAs(percorso + filename);
- }
- catch
- {
- }
- Label1.Text = Request.QueryString.Count;
- Label2.Text = Request.Files.Count;
- }
My problem is that Questring is empty as the collection of files in the request.
I've made something wrong, could someone help me to understand what this problem is due to?
Thanks in advance,
Roby
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.