def create_design(self, name):
        """
        Create a report design based on an existing template.
        
        :param str name: Name of new report design
        :raises CreateElementFailed: failed to create template
        :rtype: ReportDesign
        """
        result = self.make_request(
            CreateElementFailed,
            resource='create_design',
            raw_result=True,
            method='create',
            params={'name': name})
    
        return ReportDesign(
            href=result.href, type=self.typeof, name=name)
def create_design ( self , name ) : result = self . make_request ( CreateElementFailed , resource = 'create_design' , raw_result = True , method = 'create' , params = { 'name' : name } ) return ReportDesign ( href = result . href , type = self . typeof , name = name )
Create a report design based on an existing template.
        
        :param str name: Name of new report design
        :raises CreateElementFailed: failed to create template
        :rtype: ReportDesign