-1

I added a button on Account object. When I click on that button it will open a VF page.

When I click on the link it will take to the google drive.

My question is when I add link to the VF page and click on save is it possible to attach that link to the Notes and Attachment related list so that user can view that doc by opening that link ?

I know this is already there in salesforce standard functionality but i want to customize this.

closed as off-topic by Adrian Larson, Sebastian Kessel, Mohith Shrivastava, Vigneshwaran G, Ratan Paul May 19 '16 at 3:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: SSCCE.org" – Adrian Larson, Sebastian Kessel, Mohith Shrivastava, Vigneshwaran G, Ratan Paul
If this question can be reworded to fit the rules in the help center, please edit the question.

2

To show a GoogleDoc in the Notes and Attachments related list, you need to insert an Sobject GoogleDoc with parentID set to the parent object and url set to the URL of the document in Google's cloud.

Full sobject documentation

Enabling Google Docs for Salesforce doc

Note that once enabled, the Google Docs option appears on every Notes and Attachments related list.

0

you can write a trigger on account object and create a note in it. Add the google docs link to content of note.

Not the answer you're looking for? Browse other questions tagged or ask your own question.