Contents
Can we create custom field on task object in Salesforce?
yes, you can add custom field to Task object. You need to add those fields to Activity object. [Setup–>Customize–>Activity–>Activity Custom Object].
How do you sync custom objects in pardot?
There are two ways to refresh metadata in Pardot:
- 1) Reverify your Account Salesforce connector (v1 connector) or use the “Sync Metadata” tool (v2 connector)
- 2) Click the refresh circular arrows next to the CRM Field Mapping menu when creating or updating a custom prospect field.
How to add custom fields to task object?
Added to Inspita’s comments. yes, you can add custom field to Task object. You need to add those fields to Activity object. [Setup–>Customize–>Activity–>Activity Custom Object]. Hope this helps. Added to Inspita’s comments. yes, you can add custom field to Task object. You need to add those fields to Activity object.
How to get object type of whatid task / event fields?
Yes that would also work. what tech note are you referring to? the URL in the previous post is dead… please let us know!!! The best way is to query for the type when you query for the Id, e.g. oh thanks, i ended up doing what another user posted and it worked!
How to get the whatid of an object?
You can do that by specifying that the WhatId is between the min and max Id values for that given object like so: Using this approach, all the heavy lifting is done at the database level and one doesn’t have to waste Apex CPU time doing the filtering. Unfortunately, the “like” operator isn’t supported on Id fields.
How to find the sobject associated with a field?
But just in case if someone is looking to find the sObject associated with polymorphic fields, You can use getSobjectType () method associated wtih ID’s to find out the type of sObject. This is more effieicent than describing the object and compairing key prefixes (Not sure if this was present way back in 2004 when this question was posted:) ).