I'm trying to have a button in my VFP that'll add a Note (AttachedContentNote) to my custom object.
This button is using this code onclick:
I've included these js files (Don't even know if I do it right??? Is there a best practise on this?):
<script src="/EXT/ext-3.0.0/ext-core.js"/> <script src="/jslibrary/1487809120000/sfdc/Chatter.js"/> <script defer="true" src="/jslibrary/1487809120000/sfdc/ChatterDefer.js"/>