Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5258 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hey, all.

I'm trying to pull in values using the PHP API from a related database and it doesn't echo. Here's the code:

echo '',

ucwords(strtolower(

$record->getField('A to x02A to x01A_PERSON LdrPsnOne::b01A_PsnNmFirst') . " " .

$record->getField('A to x02A to x01A_PERSON LdrPsnOne::b01A_PsnNmLast'))),' ',

$record->getField('b04A_LdrTitle'),'

',

$record->getField('A to E_DELEGATEUNIT DelUnitOne::b04E_DelUnitDesc'),'

';

$count = $count + 1;

The fields in bold don't echo out, but the others do.

Occurrence names for bolded fields go through two related databases, 02 and 01. I have made connections to those databases and it still doesn't return. Is there something different I need to do when I am pulling values from a related database than I do when I'm just pulling values from a related table in the same file?

Also, if you make a connections to database a, and database a has connections to databases b, c, and d, do I have to make connections to b, c, and d manually, or does web publishing make the connections automatically, as it would with the client?

Let me know if I need to provide further information. Thanks so much for the help with this.

Michael

  • 2 weeks later...
Posted

The PHP API has access to any (and only) field(s) on the layout you hook it to, so my first guess is that the fields in question aren't on the layout.

This topic is 5258 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.