i need using a script in view action button, in a view in database A, that is embedded in a form in database B, to retrieve NotesDatabase object of this B database
i.e. when i open database B and open any document that will display embedded view from database A and then i click a view action from this embedded view (db A), i need a reference to database B.
does anyone have any idea how to do it using LS and without setting any info in notes.ini on document from db B open?