SPFileCollection.Add() error when i want to upload a picture in my library

Brass Contributor

Hi, 

I have a picture library.

I have modified the layout body with JSON 

anthonyleduc_0-1612339042647.png

 

But now i can't upload a picture and if i click save, i have the error SPSFileCollection.add()

Is there a workaround o fix this error ?

 

My JSON code 

 

{

    "sections": [

        {

            "displayname": "Renseignements photo",

            "fields": [

                "Nom",

                "Mots clés",

                "Résolution",

                "Nom"

            ]

        },

        {

            "displayname": "Environnement",

            "fields": [

                "Secteur",

                "Situation",

                "Genre",

                "Plateau technique",

                "centre"

            ]

        },

        {

            "displayname": "Obligations",

            "fields": [

                "Copyright",

                "Formulaire droit à l'image",

                "Avez-vous ajouté le formulaire ?",

                "Aperçu",

                "Centre",

                "Date de prise du cliché",

                "Titre",

                "Case à cocher de sélection",

                "Champ obligatoire",

                "Largeur de l'image",

                "Hauteur de l'image",

                "Description"

            ]

        }

    ]

}

 
0 Replies