Domino 9 und frühere Versionen > ND6: Entwicklung
Anhänge über den Webauftritt
umi:
Ich nehme mal an das pfeil2.jpg ist die Image Ressource und Du willst das Icon als Link darstellen, zumindest hat das meine Kristallkugel so gesagt.
dann könnte es wie folgt aussehen:
--- Code: ---_att:=@attachmentNames;
_linkAnfang:={<a href="/} + @Webdbname+ {/0/} + @text(@DocumentUniqueID)+{/$File/} + _att + {" target="_blank" >};
_linkEnde:={</a>};
_imageRessource:={<img src="/} +@webdbname +{/pfeil2.jpg" alt=" " border="0" />};
_html := _linkAnfang+_imageRessource+_linkEnde;
_html
--- Ende Code ---
Haage:
ja genau, das war die bildressource. Habe den Code wie folgt noch mal geändert, so dass Bild und Attachment eine Einheit bilden:
_att:=@attachmentNames;
_linkAnfang:={<a href="/} + @Webdbname+ {/0/} + @text(@DocumentUniqueID)+{/$File/} + _att + {" target="_blank" >};
_linkEnde:={</a><br><br>};
_imageRessource:={<img src="/} +@webdbname +{/PDF.jpg" alt=" " border="0" /><br>};
@Implode(_html := _linkAnfang+_imageRessource+_att+_linkEnde;
_html)
So sieht es im WEB dann ganz nett aus. Danke noch mal!!!
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln