1
General Board / Adding a link in the generated HTML using the API
« on: August 26, 2016, 11:45:50 pm »
Hi Team EA
I generate quite a lot of component diagrams using the Sparx API by importing all the data from existing Excel spreadsheets into a project. I then save the project as a HTML report. This works fine and I can see all the diagrams in my browser. Next I want each generated HTML diagram to have a clickable link which pops up a new email with some pre-filled parts. This is so people viewing each diagram can send our team feedback on each diagram. This is quite easy to do in HTML but I don't want to edit the HTML in each diagram. How can I add the link using the Visual Basic API when creating the diagrams?
Many thanks in advance.
I generate quite a lot of component diagrams using the Sparx API by importing all the data from existing Excel spreadsheets into a project. I then save the project as a HTML report. This works fine and I can see all the diagrams in my browser. Next I want each generated HTML diagram to have a clickable link which pops up a new email with some pre-filled parts. This is so people viewing each diagram can send our team feedback on each diagram. This is quite easy to do in HTML but I don't want to edit the HTML in each diagram. How can I add the link using the Visual Basic API when creating the diagrams?
Many thanks in advance.