Hi,I have developed a web-based application.My problem is when a user log in,he can see his/her company logo in that home page.Actually i have catagorised the users by company name.and uploaded logo for each company.
and there is a view where there are 4 columns,
1-company
2-user name
3-password
4-company logo
so how can i do that,i mean how to check the user ID n password and when it validate,then the users company logo will show the user’s home page.
Pls suggest me if possible,give the code for that.
Why donot you make first and second column username and password respectively.when user login , pass userid/password as array in getDocumentByKey method and get the document handle.When you will get handle, just make an hyperlink for image embed in document and show tht link in page.
Hi RisiActualyy i m new in lotus development,I dont know how to check user id n password by getDocumentID key method n how it will link the logo.If possible send me details code,so that i will be helpful.
Waiting reply.If possible send a demo database in my Id-
If the user has logged in against the domino server, then @username will give you the name of the currently logged on user. Use this in a computed for display text field to lookup the logo name from a view and to construct the HTML for an <IMG SRC= with the appropriate file path.