Hello,
When I add new fields via REST in a list, they don't appear in the default view for that list.
Here is my code in case you need it:
public function creeChamp(nomListe:String, champ:String, type:int, requis:Boolean):void { ... postURL.data = JSON.stringify({ '__metadata': { 'type': 'SP.Field' }, 'Title': champ, 'FieldTypeKind': type,'Required': requis, 'EnforceUniqueValues': false,'StaticName': champ}); ... }
thanks