Salesforce integration with php

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

Afternoon,

I am currently having an issue displaying data from newly added fields within my php page?

Here is an example. [http://cvm.org.uk/salesforce/sport-details?id=003D000001r6G3tIAE][1]





contact where id = '%s'", $_GET['id']);
$response = $mySforceConnection->query($query);
foreach($response->records as $record) { ?>
FirstName." ".$record->LastName ?>
150px" height="150px" hspace="10px" vspace="10px" align="left"/> 160px !important;" width="367" border="0" align="center">

Basic Information

1">Football Club: Football_Club__c ?> << Missing information
1">Home Town: MailingCity ?>, MailingState ?>





Basic Information

1">About FirstName ?>: Publicity_Description_del__c ?>
1">Email:

Email ?>

Join Football_Club__c ?> Football Group << Missing information

Missing data is the in the image and where shown on webpage.

Any advice? :S

Many thanks Kirsty

profilepic.png
manpreet 2 years ago

It looks like you're using SOAP. If the fields are, as you say,

newly added fields

One reason could be that your WSDL files are out of date. To download this, go to

Setup > Develop > API

Choose either the Partner or Enterprise WSDL file to download (if you're unsure, downloading both shouldn't hurt) and replace the files in your 'soapclient' folder.

The WSDL files effectively describe objects, fields et al. So if this is out of date and those objects and fields aren't described, they can't be accessed.

Edit: It may be worth updating your soapclient folder by going here and downloading the latest version (don't forget to re-replace the WSDL files).


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community