You need to sign in to do that
Don't have an account?
nathanael.m
Apex Google Doc Attachment
Given a contract I can get a list of attached Notes and Attachments using the following queries:
[SELECT Id, Name FROM Attachment WHERE ParentId=:contract.Id]
[SELECT Id, Title FROM Note WHERE ParentId=:contract.Id]
I combed through the schema and api documentation and I've been unable to find a way to retrieve a list of attached Google Docs.
Any Idea's?
[SELECT Id, Name FROM Attachment WHERE ParentId=:contract.Id]
[SELECT Id, Title FROM Note WHERE ParentId=:contract.Id]
I combed through the schema and api documentation and I've been unable to find a way to retrieve a list of attached Google Docs.
Any Idea's?
I've been able to find a way to retrieve a list of attached Google Docs, but i can't filter by the parent object....
Juan.
Juan, how were you able to retrieve a list of attached Google Docs?
This still appears to be an unsupported feature.
Finally figured this out: you have to contact Salesforce.com support to have API Access to the GoogleDoc object enabled for a given org.
I've posted more details over on Salesforce StackExchange:
API Access to GoogleDoc Attachments
Cheers,
Zach McElrath