You need to sign in to do that
Don't have an account?
vagish
How to access LastModifiedDate of Parent from Note object?
Hi,
I have been trying to access LastModifiedDate of Parent object of a Note record, but ended up with no luck. Here is what I am trying-
Select Id, Title, Parent.Type, Parent.LastModifiedDate from Note
It throws an error-
Select Id, Title, Parent.Type, Parent.LastModifiedDate from Note
^
ERROR at Row:1:Column:32
No such column 'LastModifiedDate' on entity 'Name'. 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.
Apart from System fields, I am able to access all the parent fields from the same query.
Can anyone suggest if we have any way for this purpose?
Thanks,
Vagish
I have been trying to access LastModifiedDate of Parent object of a Note record, but ended up with no luck. Here is what I am trying-
Select Id, Title, Parent.Type, Parent.LastModifiedDate from Note
It throws an error-
Select Id, Title, Parent.Type, Parent.LastModifiedDate from Note
^
ERROR at Row:1:Column:32
No such column 'LastModifiedDate' on entity 'Name'. 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.
Apart from System fields, I am able to access all the parent fields from the same query.
Can anyone suggest if we have any way for this purpose?
Thanks,
Vagish
You can access last modified field like this but you can fetch ParentId using following query and further query Parent object to get last modified Date.
Select Id, Title, Parent.Type, ParentId from Note
Please mark this solution as best if it helps!
Thanks
1. Can we get the value jsut in 1 query, like we can access other parent fields easily. (now it seems like we can't)
2. If we can't, then what is the reason of this inconsistency?