-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving attachment data & retrieving. #169
Comments
Hi @hashg. I have gotten attachments to work. It turns out there is a typo in the readme. In order to get attachments working properly, you have to rename your
To add attachments, the process is as described in the readme (just note the "s" in the Now, to answer your question regarding the displaying and retrieving said attachments: you can accomplish this with an
Of note, this works because a base64-encoded string is a valid value for I hope that helps! |
@srsgores Super! Can you make a PR for the readme? I will merge it. |
@ntodd Thanks |
I'm trying to attach and retrieve the data back using ember-pouch "attachment". But after saving the data, there are issues reading the attachment data which is returned as "undefined".
Repo
Currently my repo implements :
without any
attachmentssingle file
to attachmentCode
Using ember-cli-file-picker addon to "Upload files"
.hbs
route/actions
Scenarios I'm trying to understand :
without any
attachmentssingle file
to attachmentmutiple files
to attachmentadd more files
to attachmentRemove file/s
from attachmentRetrieve file/s
from attachmentI'm stuck @
Retrieve file/s
from attachment. I've a doubt my save mechanism scrambles the model data.[Edit: More info + format]
The text was updated successfully, but these errors were encountered: