You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm uploading and attaching files to a node which could have multiple image atteached but when a i do nodeUpdate, Services overwrite previous images references with the just uploaded one, not adding to them.
I also tried to update a node with an array of fids but only the first in the array is attached.
Hi,
I'm uploading and attaching files to a node which could have multiple image atteached but when a i do nodeUpdate, Services overwrite previous images references with the just uploaded one, not adding to them.
I also tried to update a node with an array of fids but only the first in the array is attached.
Here the code i'm using:
To attach multiple file i tried to pass a test array of fids in fidLangDict like:
NSDictionary *fidLangDict = [NSDictionary dictionaryWithObject:files] forKey:@"und"];
where files is:
where those fids already exist in my drupal database.
Another problem is when i create node with nodeSave and no images attached.
An upload and attach to that node doesn't work at all.
Can you help me to solve this issue?
The text was updated successfully, but these errors were encountered: