Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9038603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T09:31:39+00:00 2026-06-16T09:31:39+00:00

I am trying to use the Zoho Creator API to get an XML file

  • 0

I am trying to use the Zoho Creator API to get an XML file with records that can be accessed within a new HTML document and have specific values from the XML file inserted. See code here in the jsfiddle http://jsfiddle.net/vm5m6/

if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
     xmlhttp.open("GET","https://creator.zoho.com/api/xml/uownrealestate/view/Agent_Roster_View?    authtoken=***scope=creatorapi",false);
xmlhttp.send();
xmlDoc=xmlhttp.responseXML; 
  document.write("<table border='1'>");
var x=xmlDoc.getElementsByTagName("record");
for (i=0;i<x.length;i++)
 { 
document.write("<tr><td>");
document.write(x[i].getElementsByTagName("value")[0].childNodes[0].nodeValue);
document.write("</td><td>");

}
document.write("</table>");

i was also considering using Google Fusion Tables to do this as well. If anyone has any suggestions for pulling very simple data from an easily organized external database please let me know.

I also tried this but read somewhere that it will not work if the xml is on another domain

 $(function() {
   var xml =     'https://creator.zoho.com/api/xml/uownrealestate/view/Agent_Roster_View?authtoken==creatorapi'
   $(xml).find("record").each(function() {
  var stateName = $(this).find("Agent_Name").text();

  alert("State: " + stateName );
   })});    
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T09:31:40+00:00Added an answer on June 16, 2026 at 9:31 am

    First, don’t post your authtoken in a public Forum. Please replace it with asterisks. It’s very sensitive.

    Second, the View seems to return the response right. I tried to query the View and got the XML response. I guess you will need some experts’ advice on iterating the XML response

    There are some help links for your reference.

    1. https://forums.zoho.com/topic/unleash-your-zoho-creator-html-views-using-zcml
    2. https://github.com/srhyne/ZCML/

    There is also a way to store the View data in a JSON object. Sample URL below

    <script src="https://creatorexport.zoho.com/userName/appName/json/Agent_Roster_View/privateKey/variable=myData"></script>
    

    The above script will store the View data in a JSON object. To generate the private key for Views, you can refer to my post at https://kbase.creator.zoho.com/views/how-to-generate-feed-url-for-views#json

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying use this code to get image resolution from file bool GetImageSizeEx(const char
I am trying use open graph API to publish an action. URL that I
i'm trying use facebook API to upload photo in my fan page. I downloaded
I'm trying use self-signed certificate (c#): X509Certificate2 cert = new X509Certificate2( Server.MapPath(~/App_Data/myhost.pfx), pass); on
I'm trying use mod_rewrite to rewrite URLs from the following: http://www.site.com/one-two-file.php to http://www.site.com/one/two/file.php The
I'm trying use Places API from Google frmo a node.js server This is the
I'm trying use Google APIs Client Library for Python to rename drive file, here
I'm trying use jQuery to modify the HTML of the WordPress [caption] shortcode, whose
I'm trying use eco for client-side templating. I have multiple .eco templates that I'd
I am trying use the new server side plug-in feature for TFS 2010. (I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.