Das Notes Forum
Domino 9 und frühere Versionen => Administration & Userprobleme => Thema gestartet von: MrMagoo am 14.01.03 - 16:45:42
-
Hallo zusammen!
Frage: ist es möglich ein Bild, welches in Notes in einem RichtText Feld hochgeladen wurde, in einer Ansicht anzuzeigen?
-
Nein, das funktioniert nur mit Bildressourcen
-
danke
-
Es sei denn, es ist eine Web-Ansicht. Dann geht das
-
wie geht es denn im einer Webansicht? das feld wird bei der Auswahl in der Spalte nicht angezeigt
-
z.B. so (als Spaltenformel)
dbpath := @ReplaceSubstring (@Subset (@DbName; -1); "\\"; "/");
bild :=@Trim(@Subset(@AttachmentNames;1));
"[<html><head><style type=\"text/css\"><!-- a:link { text-decoration:none; font-weight:bold; color:#c0c0ff; } a:visited { text-decoration:none; font-weight:bold; color:#8080ff; } a:hover { text-decoration:none; font-weight:bold; color:white; } a:active { text-decoration:none; font-weight:bold; color:white; } --> </style> </head><body><table width=\"100%\"><tr><td width=\"100%\"><div style=\"font-family:Verdana; font-size:10pt;\"><b>" + Bezeichnung + " (Preis: " + @Text(Preis) + ")</b></div><div style=\"font-family:Verdana; font-size:8pt;\"><br><br>" + @If(Beschreibung!="";Beschreibung + "<br><br>";"") + @If(@Text(bild)!="";
"<img src=\'/" + dbpath + "/0/" + @Text(@DocumentUniqueID) + "/$FILE/" +
bild + "\'>" + " €</div></td></tr></table><hr noshade color=\"#194A77\" size=\"1\"></body></html>]";"")
-
thx