Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

is the "modelID" the correct ID that i should use when i upload a file?

New post

Comments

1 comment

  • Murtza

     I think you might be using our iOS SDK since modelID is a concept specific to it. As you mentioned, you can use the modelID property to get the value for id from the file object. modelID is the convention that our iOS SDK uses to refer to a Box item id, such as a folder id or a file id. Here is how to get a file id and folder id using our iOS SDK.

     

    NSString *fileID = file.modelID;
    NSString *folderID = folder.modelID;

     

    0
    Comment actions Permalink

Please sign in to leave a comment.