public void updateDialog(QBDialog dialog, File inputFile) throws QBResponseException { QBFile file = QBContent.uploadFileTask(inputFile, true, (String) null); dialog.setPhoto(file.getPublicUrl()); updateDialog(dialog, (QBCustomObjectUpdateBuilder) null); }