Hi,
We have a specific view that we would like to integrate into our internal website. The intended users do not have Dataminer accounts.
Would it be possible to enable users to view the service overview directly via a browser without requiring them to sign in to Dataminer?
Looking forward to your guidance.
Thanks and best regards,
Hi Mohannad
I can think of a ways to achieve this using 'GetVisioForView' method from the Json or Soap API. This call takes in the connection, viewID, width, height & page of the visio and returns an object containing a data url with a rendered image of the visio. (visit 'https://DMAIP/API/v1/Json.asmx?op=GetVisioForView' for more info). The data url can be used as a source inside a HTML image tag. (make sure to prepend 'data:image/png;base64,')
This should be implemented server side, either as a backend function of the external site or as a user defined API on the DMA that the website frontend can call. This makes sure that no credentials are exposed to visitors of the site. To establish a connection, the 'ConnectApp' method can be used with the credentials of a new user that is created for this use case. The new user should only be assigned the minimal permissions needed for the visio.
This method has the downside that the visio is not interactive and will not update, it is just a static image.