Hey Guys,
I've go a question I hope you can help me...
Is it possible to access NAV objects from an external system ?
For Example, to open a form in NAV from my own c# programm?
I've searched for a while but i can't find an answer..
If you want to see the form within your app, you can't, You can get the data that is displayed on a form and display it in your C# app.
This method requires using webservice. In NAV you publish the Page (form).
Ahmed Rashed Amini
Independent Consultant/Developer
Comments
If you want to open by itself, then from you app you can run the following command
[url=dynamicsnav://localhost:7046/DynamicsNAV/KRONUS2009SP1/runpage?page=42&mode=Edit]dynamicsnav://localhost:7046/DynamicsNA ... &mode=Edit[/url]
If you want to see the form within your app, you can't, You can get the data that is displayed on a form and display it in your C# app.
This method requires using webservice. In NAV you publish the Page (form).
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
i want to open the form itself..
i want to open the contact card in Nav with a specific record...
i use nav 5.1
Correct me if I'm wrong... but your example is for nav2009 right?
For 5.0 you can find how the URL should look like by going the Contact Card. and Select File->Sendto ->Desktop.
You'll see a shortcut on desktop and you can use that example to see how the URL should look like.
[url=navision://client/run?target=Form%205050%26view=SORTING(Field1]navision://client/run?target=Form%20505 ... ING(Field1[/url])%26position=Field1=0(CT000005)%26servertype=MSSQL
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
OK, it's a codeexample for C/AL but it's is easy to transfer to C# or a other language.
I belive it would be the same principle like aran's example
Regards
Thanks for the answers