NAV 2013 R2 Javascript AddIn acces to SourceExpr

lukaskohlerlukaskohler Member Posts: 2
edited 2013-10-21 in NAV Three Tier
Hi

I have a NAV 2013 R2 JS AddIn. How can I access the value of the field defined in the `SourceExpr` property of the Field that has declared my AddIn in the `ControlAddIn` Property?

So, I wanna access the `value` of the AddIn. How can I do this from the JS code?

Thanks for help

Lukas

Comments

  • jjbravojjbravo Member Posts: 19
    I don't think you're supposed to be able to anymore the way they designed it.

    I'd recommend using the model of events to handle this, so when the ControlAddInReady is called then call your set value function and update your addin. If you change a value on the page, then call the same function.

    John
Sign In or Register to comment.