I want to add a record to a Sharepoint List, with Text etc it works!!!
>>> but NOT with a Foto/Image - Hyperlink works ok ...
the code lines with Gewerk:"PicYes 1" .. 2. 3..4 DO not work. There is a reference to a picture !
buffBild.Image is an image on the screen;
ThisItem.FOTO is an image in a gallery
4 trails - ONLY "PicYes 0" will be stored in the list.
In the Sharepoint are PICTURE and FOTO from the typ of Image
Code:
If (Connection.Connected;
Set (Hyl; "http://www.wigglestatic.com/product-media/5360096540/Shimano-XTR-M9000-11-speed-Cassette-Cassettes-And-Freewheels-CSM9000140.jpg");;
Collect(TestFirstList; {Title:"MyBlApp" & Text(Now()); Gewerk:"PicYes 3"; PICTURE: buffBild.Image});;
Collect(TestFirstList; {Title:"MyBlApp" & Text(Now()); Gewerk:"PicYes 4"; PICTURE: ThisItem.FOTO});;
Collect(TestFirstList; {Title:"MyBlApp" & Text(Now()); Gewerk:"PicYes 1"; FOTO: buffBild.Image});;
Collect(TestFirstList; {Title:"MyBlApp" & Text(Now()); Gewerk:"PicYes 2"; FOTO: ThisItem.FOTO});;
Collect(TestFirstList; {Title:"MyBlApp" & Text(Now()); Gewerk:"PicYes 0"; HYL: Hyl})
;
"xx FOTO:upImage.Image")
Result in the Sharepoint ... see TestFirstList
