Navision 2009 Addin queries (Send and receiving the data)
abhishekpareek
Member Posts: 150
Hi everyone,
I have few queries related to navision 2009 addins i.e,
1) Whether it is possible to send the data from navision 2009 sp1 by using addin to third party control. I want to send the data in loop. I want to send the field name and field values one by one before initializing the controls through addins.
2) After calling the controls , I want to send back the data in string format, through addin only. Data is more then 1024 hence it means that I have to send it loop and then I nedd to add at the navision end.
Whether two points mention below are achievable?
Thanks for help in advance!
Regards,
Abhishek pareek
I have few queries related to navision 2009 addins i.e,
1) Whether it is possible to send the data from navision 2009 sp1 by using addin to third party control. I want to send the data in loop. I want to send the field name and field values one by one before initializing the controls through addins.
2) After calling the controls , I want to send back the data in string format, through addin only. Data is more then 1024 hence it means that I have to send it loop and then I nedd to add at the navision end.
Whether two points mention below are achievable?
Thanks for help in advance!
Regards,
Abhishek pareek
0
Comments
-
Bind the add-in to a BigText variable, then you don't have to cope with multiple roundtrips.Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0 -
Whether Big Text variable can support more then 1024 size. Actually , I would be having large amount of data to be sent accross.0
-
BigText can easily hold more than 1024 bytes - and unless you are looking at several MB's of data that would be my preferred way.
Second option would be to use the event - meaning that the control would call the event on the service tier and ask for data, incrementing a counter to ask for data. Note that every event here is a roundtrip between server and client and is executed on the main UI thread, thus blocking the UI:
Third option would be for your control to spawn up a worker thread connecting to Web Services and fetching data on the side - not blocking the UI at all - this is however a bit more complicated.Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0 -
It would be great if you can give one example about how to send the data in chunks to control addin events.
I am very new to this addin thing and very less help is available for this data sending and receiving part.
Regards,
Abhishek Pareek0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 327 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions