Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs






July, 2004
SMTWTFS
    01 02 03
04 05 06 07 08 09 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Search the weblog





























Genii Weblog


Civility in critiquing the ideas of others is no vice. Rudeness in defending your own ideas is no virtue.


Mon 5 Jul 2004, 03:35 PM
I have heard this question many times, but never seen a really good answer that I remember.
Is there a way to get a handle to the selected document in an embedded view?
Rune Carlsen posted an answer to this very question in the Business Partner forum, and I think it is worth re-posting for others to use:

In a embedded view, there is a "target frame (single click)" event: 



In this, you can add a formula to catch the unid of the document: 

@SetEnvironment("DocUNID" ; @Text(@DocumentUniqueID))

Now, you can do what ever you want on this document, as you have the UNID. At least in @formulas... 

Best regards;
Rune Carlsen

Copyright © 2004 Genii Software Ltd.