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.