We help IT Professionals succeed at work.

display documents using web client

IceMountain
IceMountain asked
on
Medium Priority
332 Views
Last Modified: 2013-12-18
Hi,

I know it can be done using @ClientType in "Hide-When" formula for Notes client and web client on the same form. However, I find that the form looks very cluttered with the additional fields and text.

I'm wondering if this can be done: Create another form for web client on the same database. When the document is opened, the form that is used to open the document depends on the client type.

Thank you for any advice.
Comment
Watch Question

Application Engineer
Commented:
Yes, you can do this easily.
Just use the same name for both forms and set the properties of one form to be used for the client only and the other form to be used for the web only.
This way the correct form will be used when the document is accessed from the client or the web, without need for any extra fields on either form.
To set this property, open the properties box from the list of forms in designer, then check on the third tab (the design tab) for which client you want to hide this form.
You'll notice in the list of all forms that the checkmark under Notes or Web disappears so you can see what forms can be used where.
If you need further assistance, just let me know.

Regards,
Jerrith

Commented:
I should not use the same name or alias for more than one form. I use de @WebClient formula in the postopen event to define which form is to be used. If there are requests to come from users which only refer to the webclient, you only have to adjust the right form.

Hope i helped out,
Pafrok
Jean Marie GeeraertsApplication Engineer

Commented:
Welcome to EE Pafrok !!

The advantage of using the same form name is that you don't have to do any extra coding, domino will decide itself what form to use when he finds two forms with the same name, one for web and one for client use.
As for only needing to update one of two forms for web specific changes, this is equally valid when using the same form name.

Anyway both options are valid, I just prefer my solution.
IceMountain,

Some of these questions have been open for some time. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.

http://www.experts-exchange.com/jsp/qShow.jsp?ta=apache&qid=20244080 12/05/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=dbgen&qid=20176058 08/29/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=linux&qid=20104970 04/12/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=linux&qid=20163211 08/04/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=11950339 11/22/00  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20014301 12/28/00  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20029438 01/10/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20074928 02/08/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20079924 02/19/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20122138 05/22/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20124947 05/26/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20136581 06/16/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20142793 06/28/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20144554 07/02/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20168831 08/15/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20208718 10/24/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20226597 11/04/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20096626 03/25/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20108210 04/21/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20184032 09/17/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20206133 10/23/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20227517 11/05/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20078009 02/14/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20084634 02/27/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20093489 03/18/01  

Please note that an Easy question is normally considered to be worth 50 points.

Thanks,

Netminder
Community Support Moderator
Experts Exchange
Admin notified of user neglect. Force/accepted by

Netminder
Community Support Moderator
Experts Exchange

Explore More ContentExplore courses, solutions, and other research materials related to this topic.