(spec, column_id=None, root_doc=False)
return {
        "type": "expression",
        "column_id": column_id,
        "display_name": field_name[0],
        "datatype": get_form_indicator_data_type(data_type),
        "expression": expression
    }
Return a data source indicator configuration (a dict) for the given
    form meta field and data type.
Return a data source indicator configuration (a dict) for the given
    form meta field and data type.
Return a data source indicator configuration ( a dict ) for the given form meta field and data type .
def make_form_meta_block_indicator(spec, column_id=None, root_doc=False):
    """
    Return a data source indicator configuration (a dict) for the given
    form meta field and data type.
    """
    field_name = spec[0]
    if isinstance(field_name, str):
        field_name = [field_name]
    data_type = spec[1]
    column_id = column_id or field_name[0]
    expression = {
        "type": "property_path",
        "property_path": ['form', 'meta'] + field_name,
    }
    if root_doc:
        expression = {"type": "root_doc", "expression": expression}
    return {
        "type": "expression",
        "column_id": column_id,
        "display_name": field_name[0],
        "datatype": get_form_indicator_data_type(data_type),
        "expression": expression
    }
def make_form_meta_block_indicator ( spec , column_id = None , root_doc = False ) : field_name = spec [ 0 ] if isinstance ( field_name , str ) : field_name = [ field_name ] data_type = spec [ 1 ] column_id = column_id or field_name [ 0 ] expression = { "type" : "property_path" , "property_path" : [ 'form' , 'meta' ] + field_name , } if root_doc : expression = { "type" : "root_doc" , "expression" : expression } return { "type" : "expression" , "column_id" : column_id , "display_name" : field_name [ 0 ] , "datatype" : get_form_indicator_data_type ( data_type ) , "expression" : expression }