AnsweredAssumed Answered

How to add attachments to notes through php code?

Question asked by James Palmisano on Aug 1, 2016
Latest reply on Aug 2, 2016 by André Lopes


  I need to know how to add attachments to a note bean through php. 


So I imagine that it would be something like 


$bean = BeanFactory::getBean("Notes");

//assume I have the attachment already

$bean->attachments = someAttachment;


but when I echoed out the notes bean to json I didn't see a field there for attachments.  Only filename and file_meme_type.  I would assume that there would be a url or something involved too. 


Please help!  Matt Marum Francesca Shiekh Angel Magana

   Best Regards  

  James P.