def checkFieldMappings(self, param):
        field_mappings = param.value
        over_fields = []
        fields_warning = ('The following visible field name(s) are' +
                         ' over 10 characters and will be shortened' +
                         ' automatically by ArcGIS: ')
        for idx, val in enumerate(range(field_mappings.count)):
            if field_mappings.getVisible(idx) == 'VISIBLE':
                field = field_mappings.getNewName(idx)
                if len(field) > 10:
                    over_fields.append(field)
        if over_fields:
            param.setWarningMessage(fields_warning + ", ".join(over_fields))
        else:
            param.clearMessage()
Prompts the user to choose funtionality to be demonstrated.
dataset/ETHPy150Open CityOfPhiladelphia/arc-open/arc_open/convert.py/Convert.checkFieldMappings--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-build/python-libs/gdata/samples/docs/docs_example.py/DocsSample.Run