You need to sign in to do that
Don't have an account?
idan ashtamker
Get site from contact
Hey, I added sites tab, and every contact has a linked site in his "Contact Detail"
now I'm trying to get the site in my code.
I'm using enterprise wsdl, in c#, like this:
SforceService sfs = new SforceService()
sfs.query("SELECT Site__c FROM Contact where MobilePhone like '9999999999'");
but I can't get the site atrribute from the queryResult. obviously I cant see the site in records[i].site
Am I doing it right? any other method I can use?
thanks
now I'm trying to get the site in my code.
I'm using enterprise wsdl, in c#, like this:
SforceService sfs = new SforceService()
sfs.query("SELECT Site__c FROM Contact where MobilePhone like '9999999999'");
but I can't get the site atrribute from the queryResult. obviously I cant see the site in records[i].site
Am I doing it right? any other method I can use?
thanks
Best Answer chosen by idan ashtamker
idan ashtamker
OK, I generated the wsdl from the client account, and added it again, and got it :)