function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Barry LastBarry Last 

App Config Details

Hi,

I am building an application that reads back details from an external website.

I have created all of the needed objects that hold the data that I need to conect:

Object Administration:
Url, admin_Username, admin_Password.

User Details:
EXT_Username, EXT_Password

I can get hold of the custom userfields from the Global User but am unable to get hold of the URL.

This URL can not be fixed as it varies as the site being connected to as a sub URL from each Company.

Does anyone know how I can convert the URL to a Company Global Variable or how to use S-Controls to get the default record from the Object.

Thanks
mddean17mddean17
Hi, does anyone have any good ideas on this one?
 
One thought I had is to define a custom Config object with fields and default field values. Then use the meta data api to retrieve these as config variables for my code. But what's the overhead of getting this info this way versus a soql query for a Config record? Is field meta data cached? I just hate having to query for this potentially thousands of times a day.
 
Thanks