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
Viraj MViraj M 

Can i have log a call/ meeting for custom object in salesforce

Lokesh KumarLokesh Kumar
Hi Viraj,

Please share complete requirement and in details so that it would be easy for us to support you.

Thanks
Lokesh
 
Viraj MViraj M

Can i have log a call/ meeting for a custom object in salesforce. I am new to salesforce

I mean here can we add log a call for custom object, I checked we can use activities object, but i am not sure if i change the layout of this screen, i think it will affect layout if this is used in account/Lead Objects.

So i was thinking can i create the same screen in VF for my custom object or can i use existing activities object?


if any more detail is required on this please let me know
 
Lokesh KumarLokesh Kumar
Hi Viraj,

You can add it on the Custom Object by enabling Activities Properties for your custom Object and it will add Related List for the same. No Problem you can test in Sandbox or any developer Org.

Refer below link.
https://help.salesforce.com/articleView?id=000232901&type=1

https://success.salesforce.com/answers?id=90630000000h2nJAAQ

https://help.salesforce.com/articleView?id=tracking_activities_for_custom_objects.htm&type=0

Thanks
Lokesh
Viraj MViraj M
I have enabled activities for my custom object...I added custom field in activities but now this field is shown under all activity list of standard object and other custom object... I want to know is there any solution to show custom field only for my custom object.. I know record type is one solution but in this user has to select record type manually is there any other solution ?
Lokesh KumarLokesh Kumar
You have to restrict Custom Fields on Object Activities by Hiding it from the Related List or through Permission Control.

Lokesh
Viraj MViraj M
I m New to salesforce..so can u share one example with me Thanks
Lokesh KumarLokesh Kumar
Go to your Page Layouts for the Objects like Account and Contacts to remove custom fields from the page Layout Go to Activities Related List and edit it as per the requirement.

Prefer below screenshot to remove the custom fields.

User-added image

Thanks
Lokesh
Viraj MViraj M
HI,

Thanks for the reply, But this is to display on Account Detail Page, I am talking about when we create new call log then my custom field should be displayed for editing and this field should not display for the standard object when they log a call from the account page. 

User-added image
Lokesh KumarLokesh Kumar
In that case, create different page layout and assign that to the specific profile or record Type.
 
Viraj MViraj M
This related list is not based on Specific profile. It is based on My custom detail page specific. So can you please let me know how can i achieve this.