I'm looking into a way to be able to parse HTML values from an HTML file into Navision. Is there a way to do that and how? Maybe someone has some example data to use?
I've been looking around for that myself, and got nowhere in a hurry. I tried Word automation, saving as html file and retrieving only parts of the html out of it, but that got really complicated, so I gave that up at some point. I researched Frontpage automation but that was not very easy either. I was on a budget so I only had a limited amount of time.
I ended up putting a hyperlink button (like the little Home Page button on the Customer Card) on a form that links to http://freetextbox.com/. You can format text and see the html that it generates in another tab. It's not optimal, but at least the user can format the text and copy the HTML back into Navision. If you need more than the max number of characters you might want to consider one of the downloads that look like notepad, like the one that Waldo wrote.
If you end up finding something please let me know. I'd still be interested.
The only way I have done something similar was to use a VB client to pick up the HTML (asp actually) file and stream it in to Navision via a communication component (winsock). The VB client controlled the sending of the data (i.e broke into manageable chunks) and added a 'protocol' that was used by Navision to parse the incoming data. I used a form to handle the communication component in Navision (for testing / debugging) but NAS could also be used.
Comments
I ended up putting a hyperlink button (like the little Home Page button on the Customer Card) on a form that links to http://freetextbox.com/. You can format text and see the html that it generates in another tab. It's not optimal, but at least the user can format the text and copy the HTML back into Navision. If you need more than the max number of characters you might want to consider one of the downloads that look like notepad, like the one that Waldo wrote.
If you end up finding something please let me know. I'd still be interested.
RIS Plus, LLC