Adding View Icons to Notes

I have a client that uses 3 of the default icons that you can call by their icon number in notes.

The field that contains these icons is a number field, and won’t accept a text value for additional icons.

Is their any way to add icons to the list of available Notes icons?

I tried renaming the file to match the scheme of the notes icons but it didn’t work.

Thanks,

J.R.

Subject: Adding View Icons to Notes

I have a client that uses 3 of the default icons that you can call by their icon number in notes.

Ok, so you’re talking about designing a view then.

The field that contains these icons is a number field, and won’t accept a text value for additional icons.

Huh!? You’re in a form? Then how are you referring to an icon by number? In pass-through html? Please provide details as to where you’re writing code, and provide the code.

Subject: RE: Adding View Icons to Notes

I think perhaps James means a column when he says field. In that case, you would need a separate column with a text value for the text value of an image resource. This can be a list as well. For example, in a database I use, there are two columns next to each other. The first has the formula

@If (Speaker = “Yes”; 160; 0):@If (Blogger = “Yes”; 163; 0):@If (CULT = “Yes”; 148; 0)

and the second has the formula

@Trim(@If (Penumbra = “Yes”; “penumbratiny.gif”; “”):@If (OpenNTF = “Yes”; “OpenNTF.gif”; “”))

but they both show icons.

Subject: RE: Adding View Icons to Notes

I think you’re right; I missed the word “additional” in his post, although I was looking for something just like that.

Subject: Adding View Icons to Notes

The icon no. is stored in the document.

I need to know how to add new icons to the default list.

Subject: RE: Adding View Icons to Notes

You don’t. You add image resources to the database and call them by filename in the icon column. You would need to rewrite parts of the Notes client in order to add numbered icons to the Lotus-supplied collection. If you want to avoid any computation in the view column, then you should usea text field and nothing but custom icons (you can grab the Lotus icons from the \domino\icons subdirectory on your workstation and import them into the database as image resources – all the filenames start with “vwicn”).

Subject: RE: Adding View Icons to Notes

thanks Stan … that answered the question.

I will have to change the programming that was done on the

column modification that was made to the mail template in order to do what you suggest. But I am sure that is the correct way to proceed.

Thanks again