1

what is api of Task ? i want to create page same as show in image .

i need task field in my page so anyone help me to know what is task API name ?

"select id, Subject, Who.Name,IsTask,ActivityDate,Status, Priority,What.Name, Owner.Name from task."

It's not worked

7
  • 1
    can you share your current code and highlight where its failing and give us the error you are getting Jul 1, 2015 at 6:20
  • in above query all the field worked except IsTask ? now i'll only fetching data from task . Jul 1, 2015 at 6:22
  • select id, Subject, Who.Name,IsTask,ActivityDate,Status, Priority ^ ERROR at Row:1:Column:30 No such column 'IsTask' on entity 'Task'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names. Jul 1, 2015 at 6:23
  • i don't know API of task , i just want to know API name of task ? Jul 1, 2015 at 6:24
  • possible duplicate of How to query custom fields on Activity? Jul 1, 2015 at 6:38

1 Answer 1

1

Activities list all Tasks and Events. So you need to query both Task and Event objects. The Task column does not represent a field on the object, it rather indicates whether the activity record is a task or not (it's an event).

Not the answer you're looking for? Browse other questions tagged .