Hi all,
I want to write an update routine to import a fob file from within NAV. Is this possible in native c/al without running an external powershell command?
I need to have an easy way for the end user to update an add-on solution to the latest version. The fob will never contain standard NAV objects, just objects in our own add-on range.
Gr, Erik
0
Answers
Ex:
C:\xxxxxxxx\finsql.exe ntauthentication=1, nettype=TCP, command=exportobjects, servername="Your Server", database="Your Database", logfile="C:\TEMP\log.txt", filter="Type=Page;ID=50173", file="C:\xxx\xxx\xxx\T0000050173.TXT'
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
But I'm talking about importing from actual c/al code. So that an end user can update his own solution straight from an RTC action. This action will then automatically download the latest fob from our online repository (no problem technically) but then the fob has to be applied to the database without powershell or use of the dev client.
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
I was hoping there was a native c/al method to do this but I guess there isn't. Maybe soon when Dynamics 365 takes off with its app store
for running powershell cmdlet out from c/al follow
http://www.waldo.be/2014/12/17/running-powershell-from-nav/
http://forum.mibuso.com/discussion/61730/nav-2013r2-running-powershell-script-from-c-al-code
for importing objects with powershell follow
http://www.waldo.be/2014/04/09/nav-2013-r2-import-objects-with-powershell/
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/