Description
In order to construct the URL API to export a document to HTML, the event for document execution needs to be replaced with the one for HTML export: evt=3130.
Solution
- A regular document execution URL looks like this when it is derived from the Click > Share:
http://SERVER-NAME/MicroStrategy/asp/Main.aspx?evt=2048001&src=Main.aspx.2048001&visMode=0¤tViewMedia=2&documentID=DOCUMENT-ID&server=I-SERVER-NAME&Project=PROJECT-NAME&port=0&share=1
- To adjust this URL to be able to export that same document to HTML directly, we simply need to replace the event IDs.
Here's the original Document Execution ID: 2048001 (as seen above)
You'll need to change the ID to the Export to HTML ID: 3130
- With that, you'll have the URL adjusted for HTML direct export:
http://SERVER-NAME/MicroStrategy/asp/Main.aspx?evt=3130&src=Main.aspx.3130&visMode=0¤tViewMedia=2&documentID=DOCUMENT-ID&server=I-SERVER-NAME&Project=PROJECT-NAME&port=0&share=1
Learning Resources
Interested in learning more about Strategy Web or administration? Visit the Learning Center!
Or visit our Documentation pages for more product information.