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

  • SEARCH
  • Home
  • 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 3795836
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T13:08:40+00:00 2026-05-19T13:08:40+00:00

Hi wondering if someone can help me – I am trying to make a

  • 0

Hi wondering if someone can help me – I am trying to make a Ajax call to retrieve some json data. The data comes back fine but I am unable to retrieve any of the data. The JSON I am working with is :

    {
 "X_lconn_userid" : "dbb8fac0-42e4-102e-9409-b38b9530f95e",
 "uid": "JonathanPopoola",
 "key": "06b4b957-4941-4d68-80c4-83306c551740",
 "fn": "Jonathan Popoola",
 "photo": "https://dc3-epag-03.tm-gnet.com/profiles/photo.do?key=06b4b957-4941-4d68-80c4-83306c551740&lastMod=1295913640000",
 "adr": {"work": {"locality": "", "region": "", 
  "country_name": ""}},
 "tel": {"work": "0207 293 3000"},
 "email": {  "internet": "Jonathan.Popoola@trinitymirror.com", "X_notes": ""},
 "title": "",
 "employeeTypeDesc": "", 
 "org": "", 
 "X_building_name": "Canary Wharf",
 "X_building_floor": "23",
 "X_office": "",
 "X_blogUrl": "",
 "X_inDirectory": "true",

 "X_bizCardShowPhoto": true,
 "X_bizCardSTAwareness": false,
 "X_bizCardSecureSTAwareness": true,
  "X_bizCardLocation": {  "unsecure": "" , "secure":  ""},
  "X_bizCardSTInputType": "email",
 "X_bizCardSTStatusMsg": true,
 "X_STChatAction": true,
 "X_STCallAction": true,
 "X_bizCardServiceLinks": [{"name":"blogs","js_eval":"generalrs.label_personcard_blogslink","href":"https:\/\/dc3-epag-03.tm-gnet.com\/blogs\/roller-ui\/blog\/dbb8fac0-42e4-102e-9409-b38b9530f95e"},{"name":"quickr","js_eval":"generalrs.label_personcard_quickrlink","href":"https:\/\/dc3-epag-03.tm-gnet.com\/quickr\/allfiles\/people\/Jonathan.Popoola@trinitymirror.com"},{"name":"profiles","js_eval":"generalrs.label_personcard_profilelink","href":"https:\/\/dc3-epag-03.tm-gnet.com\/profiles\/html\/simpleSearch.do?searchFor=dbb8fac0-42e4-102e-9409-b38b9530f95e&searchBy=userid"},{"name":"activities","js_eval":"generalrs.label_personcard_activitieslink","href":"https:\/\/dc3-epag-03.tm-gnet.com\/activities\/service\/html\/mainpage#dashboard%2Cmyactivities%2Cuserid%3Ddbb8fac0-42e4-102e-9409-b38b9530f95e%2Cname%3DJonathan Popoola"},{"name":"dogear","js_eval":"generalrs.label_personcard_dogearlink","href":"https:\/\/dc3-epag-03.tm-gnet.com\/dogear\/html?userid=dbb8fac0-42e4-102e-9409-b38b9530f95e"},{"name":"communities","js_eval":"generalrs.label_personcard_communitieslink","href":"https:\/\/dc3-epag-03.tm-gnet.com\/communities\/service\/html\/allcommunities?userid=dbb8fac0-42e4-102e-9409-b38b9530f95e"},{"name":"wikis","js_eval":"generalrs.label.personcard.wikislink","href":"https:\/\/dc3-epag-03.tm-gnet.com\/wikis\/home\/search?uid=dbb8fac0-42e4-102e-9409-b38b9530f95e&name=Jonathan Popoola"},{"name":"files","js_eval":"generalrs.label_personcard_fileslink","href":"https:\/\/dc3-epag-03.tm-gnet.com\/files\/app\/person\/dbb8fac0-42e4-102e-9409-b38b9530f95e"}],
 "X_allowEvalLabel": true
}

The code I am currently using is:

    function getvCard (uid) {
   //will need to build url and include uid for live server !
   $.ajax ({
   type: "GET",
   url: "http:\/\/cw-epuip-d01.tm-gnet.com:10040/EnhancedTheme/themes/html/Enhanced/js/modules/jpopoola.json", 
   dataType: "application/json",
   timeout: 10000,
   success: function(data){
    console.log(data.photo);

   },
   error: function(e, xhr) {
    console.log("error" + e);
   }
  });

Could anyone shed some light how I can access a item within the JSON data.

Thanks in advance.

  • 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-05-19T13:08:40+00:00Added an answer on May 19, 2026 at 1:08 pm
    dataType: "application/json",
    

    should be

    dataType: "json",
    

    ..and there is no need to escape the // within the url.

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

Sidebar

Related Questions

I'm having trouble getting some data.... I was wondering if someone can help me,
just wondering if someone can help me make this code work properly and be
I was wondering if someone can maybe help me, I am trying to upload
I'm wondering if someone can help me with this. I am currently trying to
I'm just wondering if someone can help me understand how to make the best
I was wondering if someone can help me out - working on a bit
I was wondering if someone can help me out with this issue. I have
I am wondering if someone can explain why dispatching back to the main queue
Wondering if someone could help me. I have next to no knowledge with Ajax,
I'm wondering if someone can help me with this. I have three TabPanels depending

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.