Creating signature for service order
 
            
                
                    sadjad_1234@live.se                
                
                    Member Posts: 12                
            
                        
            
                    Hi!
My customer need to be able to put signatures on his service order in NAV. I'ts kind of easy to create that kind of functionality. You create a simple "Paint" application, put the DLL in the Service Order Header Page, save the signature as a BMP in a BLOB.
But my customer need that signature to be in visible in the standard NAV app, how can I archive that?
                My customer need to be able to put signatures on his service order in NAV. I'ts kind of easy to create that kind of functionality. You create a simple "Paint" application, put the DLL in the Service Order Header Page, save the signature as a BMP in a BLOB.
But my customer need that signature to be in visible in the standard NAV app, how can I archive that?
0                
            Comments
- 
            check this blog
 we have added same thing in Sales and Service orders
 https://blogs.msdn.microsoft.com/nav/2014/10/09/extensibility-for-the-microsoft-dynamics-nav-tablet-client/1
- 
            In nav 2016 you can use function CURRENTCLIENTTYPE to Check which client is calling the page. If tablet or phone client is calling set the signature control invisible.best regards
 Franz Kalchmair, MVP
 Alias: Jonathan Archer
 please like / agree / verify my answer, if it was helpful for you. thx.
 Blog: http://moxie4nav.wordpress.com/1
- 
            mohana_cse06 wrote: »check this blog
 we have added same thing in Sales and Service orders
 https://blogs.msdn.microsoft.com/nav/2014/10/09/extensibility-for-the-microsoft-dynamics-nav-tablet-client/
 Oh thank you, I will test your solution! I Googled alot here in Sweden but google never showed you link in the results and that's a shame! 
 I will get back to you with the result, will implement the signature in NAV 2016.In nav 2016 you can use function CURRENTCLIENTTYPE to Check which client is calling the page. If tablet or phone client is calling set the signature control invisible.
 That will come handy because I don't want the signature to be visible in the pc-client 0 0
- 
            mohana_cse06 wrote: »check this blog
 we have added same thing in Sales and Service orders
 https://blogs.msdn.microsoft.com/nav/2014/10/09/extensibility-for-the-microsoft-dynamics-nav-tablet-client/
 Hi Mohana!
 Just a small question. I'm a junior developer, just started with C/AL. Before that I've I was a C# developer. My question is how to correctly add the functions/Methods in the "The C/AL code" part on this page: https://code.msdn.microsoft.com/Extensibility-for-the-7600738d#content
 I mean, how do I create events like in the picture below or do they get createt somehow automatically? It dosent say where I should put this code?!    
 0
- 
            you need to declare the dotnet variables as global variables and set WithEvents property of the variable to yes
 then those events will be added1
- 
            mohana_cse06 wrote: »you need to declare the dotnet variables as global variables and set WithEvents property of the variable to yes
 then those events will be added
 Oh hi Mohana!
 Thanks for the explanation. I'm a juniora C/AL Developer, from the beginning im a C# developer so the NAV world i kind of new to me I have so far never needed to code outside of the C/AL environment until now. I have so far never needed to code outside of the C/AL environment until now.
 So what I did was that I added the BLOB file in the desired Table, which went fine.
 The problem that I got is with the page. There is some kind of problem which I don't really understand.
 When I import the page which comes with the solution, the try to compile it I get this "could not load type"-error in the picture below. And as you can see, there is no variable that is referenced to the "SignatureControl"-DLL file which Is strange...but still the events are still there...
 Se this picture below for the "could not load type"-error 
 Then I created a dummy page with a field which in the properties i assigned the SignatureControl-DLL which went fine. See the first picture below.
 Then tried to create a global variable which referenced the SignatureControl-DLL and then I got a error that might be the cause of the error I got regarding the "could not load type"-error above.
 Picture 1, properties for the page field: 
 Picture 2, creating the global variable & error: 
 So whats the real problem that cause these two errors? Did i put the Microsoft.Dynamics.Framework.UI.Extensibility.dll in the wrong folder with the SignatureAddin.dll? Or is it something to do with the Public Token? 
 0
- 
            We have created dll ourselves with given code which provides new token and used that token and created dll in service and client folders.1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 323 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

