You need to sign in to do that
Don't have an account?
SS Karthick
Fetch the reocrd based on the topic name
Hi Everybody,
I want to fetch the records based on the topic name ..
For Example
I have 15 contacts ..10 contacts are associated with the topic name sample1 and others are sample2
Wanna fetch the records associated with the topic name sample1
Please Help!
I want to fetch the records based on the topic name ..
For Example
I have 15 contacts ..10 contacts are associated with the topic name sample1 and others are sample2
Wanna fetch the records associated with the topic name sample1
Please Help!
Here is sample code:
You can use either of the two ways, but dont use both
All Answers
then your possible SOQL query will be -
select id,Name from Contact where topic_name__c='test1'
See how I have used it to get my records in List -
If you want to just get Contacts, after you query, just use the first three characters of EntityId to get specific Object records. Eg: 003 for contact
Thanks for your response..
but i cant understand how to get the contacts
Can you give me some example
Here is sample code:
You can use either of the two ways, but dont use both
Can you tell me the process of following code
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_id.htm
Can you tell me how to the topic names based on the contact name?
Reverse order(1 contact have 15 topic name )
wanna fetch 15 topic name
Thanks in advance
Karthick