def create_layer_metadata(self, layer_name):

        if layer_name is None:
            self.layer_metadata = None
            return

        #self.layer_metadata = LayerMetadata(**dict(geonode_layer_name=layer_name))
        self.layer_metadata = LayerMetadata.create_metadata_using_layer_name(layer_name)