Function _templatizeFieldNamePrivate

  • Private

    templatize field name when referenced like this: {{fieldName}} checks each field name from the layer

    Parameters

    • name: string

      the field name to templatize

    • layer: any

      json of layer being cloned

    • itemID: string

      id of the item that contains the current layer

    • basePath: string

      path used to de-templatize while deploying

    Returns string