does anyone know where I can find the reference to forms6.nsf in the inotes6.ntf template ? I need to customize a database based on the inotes6 template but I don’t want all users using inotes6 to be impacted. I thought to duplicate the forms6.nsf ,rename it and customize it and then create a inotes6bis.ntf that could reference this new “forms6.nsf” but i can’t find where this reference is !
Subject: inotes6.ntf and forms6.nsf reference
The reference seems to live (at least partly), in the database Icon note of the template file.
Open iNotes6.ntf in Designer, go to Other->Database Resources->Icon, look at the properties for the icon note, and you should see a path to “iNotes/Forms6.nsf” in the $FormsTemplateFile item.
However, I have no idea if changing this value will automatically accomplish anything. I’ve only played around with it on R5, and unsuccessfully. But R5 doesn’t have the expectation of a mixed environment (different-versioned mail files, and hence different-versioned Forms files) whereas R6 does.
If your server is not mixed environment, you could try faking it “mixed,” and use a rigged iNotes5.ntf/Forms5.nsf for your customization purposes. If your server is mixed R5/R6.5 already, but you never had an R6.0.1(?) moment, you could try doing the same with the short-lived iNotes60.ntf file, but I think iNotes60.ntf just uses Forms5.nsf so that wouldn’t actually help. (To find version numbers for iNotes60.ntf, just google that filename exactly, with the 0 after the 6, and see also if you can find any mention of the Forms file used by this template.) (And, too, I’m so not an admin … I have no idea how upgrades work, and if this would work if you didn’t actually go through an upgrade process, etc.)
Note that the $FormsTemplateFile item lives on the Icon note of the Forms5 and Forms6 databases as well, and would, I presume, need to match the template’s Icon note.
And, just as a reminder, there’s always some kind of doom-and-gloom warning about the dangers of tinkering with iNotes so let that voice be in your head right now, at least if you don’t have an extra server lying around to do this tinkering.
I would be interested to know if you have any success in this area, or if anyone else has thoughts on where the iNotesMailFile/iNotesFormsFile hook is established. On R5 at least, I just decided the reference must be hard-coded somewhere under-the-covers, but maybe not. (I copied Forms5 as NewForms into iNotes directory [Notes copy, ie new replica id], sync’d Icon note info between NewForms and my NewTemplate, rebooted server, and everything still routed through Forms5, even direct URL calls to ?OpenForm in NewForms.) (Though I was able to determine, at least, that the NewForms wasn’t even being recognized as a special-case Forms file: triggering a general error internal to NewForms resulted in a text dump of the compiled/encoded strings on the NewForms $$ReturnGeneralError form, rather than the results of executing those code strings.)
Also, I vaguely remembered having run across some reference to a notes.ini setting to differentiate between (something like) inotes_wa_defaultformslocation and inotes_wa_otherformslocation, but I was never able to find this again, so I’m sure I either imagined it or I’m getting the variable names completely wrong.
good luck, r
Subject: I’ll try. thnak you Very Much