NAV Client and Service Tier Crash using Events - system.reflection.ambiguousmatchexception

Hi,

I wanted to use an event from a page e.g. OnOpenPage

Of course, there is a standard one built into NAV but it only returns the “Rec” variable and I wanted to set some global variable in the base code which I can’t pass as a parameter with the in-built published event (it would be useful if you could get sight of the publishers global variables here but you can’t as far as I can see?)

So I thought I would be “clever” and publish my own event from the OnOpenPage trigger section with the parameter I wanted i.e an additional publisher to the in-built publisher from the same section.

NAV definitely “does not like this” and crashes the client and the service tier – although the compiler accepts it.

The windows event log gives a clue … talks about events and "Ambiguous match found"

So basically - don't try this at home!

Comments

  • Peter+is1Peter+is1 Member Posts: 174
    Hi,

    Did you create a second [OnOpenPage] event (with that name)? That would rightfully crash it. :)
    If you still need a 'setup' how to do this let us know.
    \\
    The truth exists in seven versions.
Sign In or Register to comment.