Closed ishrek closed 8 years ago
You can use: MSSharePointItem *item = [[MSSharePointItem alloc] init]; item.name = @"ABCDEF"; item.type = @"Folder";
[self.client.files add:item callback:^(MSSharePointItem *item, MSOrcError *error) {
NSLog(@"%@",item);
}];
If you want to create folder in sub-folder, you can use: [[[[self.client.files getById:self.currentDocumentId] asFolder] children] add:item callback:^(MSSharePointItem item, MSOrcError error) { NSLog(@"%@",item); }];
What @tranhieutt is OK if you're using Files. You can also create folders for Outlook and it's different.
Which API are you using? (SharePoint, Outlook, etc)
Thanks!
@ishrek , this issue is solved. Could you close this issue?
How to create folder in office 365. Please help me