moveFolder() does not exist?
Hello,
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
FROM Account
WHERE Id =: o.AccountId];
Account oppAcc = accounts[0];
Boolean movedFolder = boxToolkit.moveFolder(oppBoxFolderId, oppAcc.BoxFolderIdOpportunity__c);
boxToolkit.commitChanges();
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?
Many thanks!
サインインしてコメントを残してください。
コメント
1件のコメント