I have one form to be edited from both web and client - each platform has its own frameset. How do I tell it to display the form in my web frameset vs. the client frameset? The form launch property does not seem to allow computing a value.
Subject: How to switch frameset for web vs. client?
I suggest that you don’t use the Auto Frame property.I guess that you trigger the form from somewhere else outline, button, hotspot, action or a view.
If you are launching the form using @formulas, test for client type using @ClientType and then use @SetTargetFrame
ex. @If(@ClientType = “Notes”;@SetTargetFrame(“Your Notesframe”);@SetTargetFrame(“Your Webframe”));
@Command([Compose];“Your Form”);
If you are opening a document from a view or embedded view there is an event called Double click or Single click (believe that these events can be used on the Web), evaluate your client and direct then to the correct frame, these events should evaluate to your frame name.
Hope this can give you some ideas!
//Bengt
Subject: How to switch frameset for web vs. client?
Create two forms. One for the Notes client and one for the web client. Give them the same name. Then from the designer’s pane, you can right click on the form and hide it from either client. So, when the form is requested, Domino will display the one it needs.
Subject: No way to handle with 1 form?
Damian…thank you for the solution. I was hoping to keep just one copy of the form design in the database to prevent me from making a change in one design and not the other.
Thanks again!
Subject: RE: No way to handle with 1 form?
That works for framesets as well, you know – give your framesets the same name and let the client hides on the Design Note Properties sort it out.
Subject: How to switch frameset for web vs. client?
What is different between the web and Notes frameset? Different number of frames? Different sizes?