function get_folderid_by_externalid($externalid) {
        try {
            $param = new \Panopto\SessionManagement\GetFoldersByExternalId($this->auth, array($externalid));
            $folders = $this->smclient->GetFoldersByExternalId($param)->getGetFoldersByExternalIdResult();
        } catch(Exception $e) {
            throw new SoapFault('client', $e->getMessage());
        }
        if (count($folders)) {
            return $folders[0]->getId();
        }
        return false;
    }