I am using the code below to show an icon in place of the status of a document, in a view column on the web.
When I look at the view from the client, I can see the icon fine. When I look at the view from the server, all I see is an empty square. Any ideas…
“” + @Replace (Status; “In Work”:“Sent”:“In Transit”;
“<img src="/icons/vwicn012.gif" width="13" height="11" />”:
“<img src="/icons/vwicn179.gif" width="13" height="11" />”:
“<img src="/icons/vwicn073.gif" width="13" height="11" />”) + “”
Subject: Notes icons not showing in web view…
I assume you’re making things that complex because you’re treating the view contents as HTML ('cause if you aren’t, this is way more complex than it needs to be). I suspect there’s a path problem. Rather than a relative path, try a full one: “http://your.server.com/icons/vwicn123.gif ”
hcl-bot
September 10, 2004, 10:33am
3
Subject: RE: Notes icons not showing in web view…
Not having a lot of luck with this. I’m in a 5 to 6 upgrade with an app that references the icon folder in a formula -
@If (ThisScreen=
“PeopleSearch”:“TeamSearch”;
“Tab_Search_On.gif”;
ThisScreen=
“PeopleSearch”:“PersonForm”:“PeopleSearchTemplate”:“PeopleIndex”:“PeopleByTeam”:
“TeamSearch”:“TeamForm”:“SubTeamForm”:“TeamSearchTemplate”:“TeamsIndex”:“TeamsByLocality”;
“Tab_Search_Off.gif”;
“/icons/ecblank.gif”)
Checking the source of the html on display in the browser and the URL is rendered as:
http://servername/application.nsf//icons/ecblank.gif .
I’ve tried using the full URL in the formula and the server still inserts the full db path in front!
Same app on 5 renders the same code as /icons/ecblank.gif.
Anyone know of a workround/explanation?