in my Apex method I used the following lines:
box.Toolkit boxToolkit = new box.Toolkit();
String oppBoxFolderId = boxToolkit.getFolderIdByRecordId(o.Id);
List<Account> accounts = [SELECT Id, Name, BoxFolderIdOpportunity__c
WHERE Id =: o.AccountId];
Account oppAcc = accounts;
Boolean movedFolder = boxToolkit.moveFolder(oppBoxFolderId, oppAcc.BoxFolderIdOpportunity__c);
The error message I receive is the following:
Method does not exist or incorrect signature: void moveFolder(String, String) from the type box.Toolkit
I looked at the documentation here https://developer.box.com/guides/tooling/salesforce-toolkit/methods/#movefolder but I am not sure why SF thinks moveFolder does not return any value. Can anyone spot the problem?
Please sign in to leave a comment.