-
How can I relate Activity to a second object in Salesforce?
The activity has a 'related to' field that links it to an object of various types. I need to link each activity to a Campaign, but also to an Opportunity. However, Activity custom fields don't let me add a lookup relationship in Salesforce.
Log In to reply.
Popular Salesforce Blogs

How to pass Date field from Salesforce Lightning Component to Apex Controller?
We can't directly pass the Date field value from Lightning Component to its Apex Controller. What we need is to: Capture the value of Date…

Manage Ideas in Your Salesforce Community With IdeasPro
Ideas are the most powerful force imaginable. And you never know when you could stumble upon one. In the previous blog post, we talked about online…

How does Salesforce Address the Security Challenges of Generative AI for CRM?
OpenAI released ChatGPT in November 2022 and attracted worldwide attention with its capability to deal with challenging language understanding and generation tasks in conversations. OpenAI…
Popular Salesforce Videos
How to Report on the Reports in Your Salesforce Org
Do you want a list of all the reports in your Salesforce org? Would you like to see a list of reports and the last…
How to Write Your First Apex Program? | Salesforce Tutorial
Apex is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements on the Lightning platform server in conjunction…
Introduction to Salesforce Nonprofit Cloud for Program Management
Each nonprofit’s mission and the program is unique, but with Salesforce’s highly configurable and customizable platform, you can manage your entire program from one central…