Domino 9 und frühere Versionen > Entwicklung
Unterschiedliche Ansichtsktionen in R4 und R5
Glombi:
Ich habe noch was entdeckt: Wenn ich mir im Designer die Ansichtseigenschaft ansehen, gibt es ein $ACTIONS und ein $V5ACTIONS.
Und dann noch $DesignerVersion = "5".
Also wurde die Ansicht wohl mal mit einem 5er Client gespeichert. Warum dann allerdings die Aktionen verdoppelt wurden- nach R4 und R5 aufgeteilt - ist mir schleierhaft.
Hat einer eine Idee, wie ich das $V5ACTIONS wegbekomme? Als Datentyp steht da RICHTEXT.
Andreas
Glombi:
In der KBASE gibt es was dazu:
Title:
Form Actions Can Disappear in R5 Clients if Database Is Designed in Both R4 and R5
Product:
Platform(s): Lotus Notes > Lotus Notes > 6.x, 5.x, 4.x
Platform Independent
Document Number: 1089958 Date: 04.12.2003
This document is based on the following :
About SPRs
SPR Number SPR Status SPR Fixed Release
MJS48WHHW
PMOL45TL5A Not a Bug
Resolved/Fixed Not Applicable
Notes Client 4.6.6
Problem
Form actions can disappear in Domino R5 Designer if the database is being designed in both Notes R4 and Domino R5 Designer.
This same issue can occur if, for example, a database is being designed in both Domino 5.x Designer and Domino 6.x Designer.
Example Scenario:
A database is originally created in Notes R4, then some design work is done in Domino R5 Designer. Some further design work, specifically the adding of Form level Actions, is carried out in R4. When the database is now viewed in R5 Client or Designer, these actions are not visible.
Also, the following error message may occur while a database administrator is loading Compact and replicating with other servers:
"Document has invalid structure"
Notes is functioning as designed. Design interoperability between R4 and R5 is not supported. Once the design is touched using the R5 Designer, design elements can no longer be edited using 4.x. All design changes from then on must be made with R5.
Workaround:
A new design element must be created using Domino R5 Designer. Open the design element from a Notes R4 Client and copy the formula, or code, into a Memo. Mail this memo to a user who has a Domino R5 Designer installed. From the R5 Designer create the new design element and paste in the formula or code. Delete the old design element.
Supporting Information:
When a form is saved in R5, a $V5Actions field will be created on the form. This can be viewed via the form's design properties. An enhancement request was submitted to Lotus Quality Engineering requesting that a warning message be displayed when R4 notices the $V5Actions field. This enhancement was implemented in Notes 4.6.6 Client (and above).
Excerpt from the Lotus Notes and Domino Release 4.6.6 QMR fix list:
Client
*SPR# PMOL45TL5A - Post an error that warns R4.6.6 Designer users when they are working on databases containing R5 design elements that, if they save the design, they will lose these elements (such as Action Bar information and JavaScript). [4.6.6]
Note: If a change (within supported guidelines) to the Person or Group form of the Domino Directory does not appear to Notes 4.x Clients then refer to the following document for additional information: "Usage of the New Forms, '46Person' and '46Group' in the R5 Domino Directory" (#1088532).
Glombi:
So, jetzt habe ich die Lösung - aus der Lotus Developer Domain:
http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/d9142b28b88bdc4b852569970050b67f?OpenDocument
Andreas
g202e:
Weiss zufällig jemand ob diese Probleme auch in der Konstellation R5/6 auftreten?
Habe eine Datenbank in den Händen, wo die Einträge für Designerversion auf "6" lauten.
Wir verwenden jedoch in der Firma R5!
Zumindest um diese hässliche Warnung zu unterdrücken, wäre es günstig, wenn ich diese Einträge loswerde.
Kan das weitere (nachteilige) Folgen haben, oder kann ich den Code bedenkenlos auf die Datenbank loslassen?
Glombi:
Den ganzen Code darfst Du nicht auf die DB loslassen, da ja darduch $V5Actions gelöscht wird.
Du könntest lediglich den Teil mit der $DesginerVersion verwenden - das aber unbedingt vorher mal mit einer Testdatenbank durchtesten!
An den Aktionen hat sich in R6 ja auch einiges geändert, es gibt aber kein $V6Actions, wie ich gesehen habe. Eine in R6 eingefügte Aktion wird auch in R5 angezeigt. Aber ob es andere Einschränkungen gibt, weiß ich momentan nicht.
Andreas
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln