Passing strongly typed data to a JavaScript control add-in

  • Post comments:11 Comments
  • Reading time:3 mins read

Many cool things often go undocumented. I’ve just stumbled upon one of those, and it comes in handy to close this year of blogging.

Imagine this situation: you have a server-side .NET object, that you want to pass on to the client. With the .NET System.Windows.Forms-based objects, you have to make the object serializable, deploy the object to the client-side Add-in folder, and then set the RunOnClient property on the C/AL variable to Yes.

However, if the client is not .NET-based, if it is a cross-client JavaScript-based one. You may think that it’s not possible to pass the custom object on to JavaScript code. And you may be wrong.

(more…)

Continue ReadingPassing strongly typed data to a JavaScript control add-in

Mystery laptop: the conclusion

  • Post comments:19 Comments
  • Reading time:2 mins read

I never really expected that my post about my laptop outperforming an 8-headed dragon of a server would draw that much attention: record number of first-day reads of any blog post on my blog ever (134), and record number of comments (11 comments, by 5 people, me included). Not a big deal, but I believe you deserve a conclusion, to know how it all ended.

To be honest, it didn’t.

(more…)

Continue ReadingMystery laptop: the conclusion