

vilaca
Member
@VgAF
•
Joined Déc 2023 •
Active 9 months ago
Forum Replies Created
Bonjour Emmanuel,
j’ai trouvé finalement,
<div>
<div>Set( imgJSON, JSON(Image4.Image,JSONFormat.IncludeBinaryData));</div>
<div>Switch(Mode,</div>
<div> “VIEW”,</div>
<div> If(CountRows(CameraPhotos) <=30, Collect(CameraPhotos, {Nb:CountRows(CameraPhotos),Photo:imgJSON})),</div>
<div> “NEW”,</div>
<div> If(CountRows(CameraPhotos) <=30 ,Collect(CameraPhotos,{Nb:CountRows(CameraPhotos),Photo:imgJSON})) </div>
<div> ;)</div>
</div>
<div>l’avantage de photo en json, vu que la prise de photo est dynamique, je ne sais pas combien de photo l’utilisateur va faire, je la structure donc en json et la resort du json quand il y a le besoin.</div>