Answered PersonalImage URL

  • Saturday, February 02, 2013 2:00 PM
     
      Has Code

    I noticed that when I logged in to https://account.healthvault-ppe.com/ there is my PersonalImage with URL

    https://account.healthvault-ppe.com/recordimage.aspx?recordid={some-id}
    

    It would be very convenient to have this URL to represent the image on the client's page.
    But this recordid is not PersonId and not any RecordId for the person, and I was not able to find any relation between the record and the image's recordid.
    All samples just show how to download the image into file on the server and show it on a page. 

    Does anyone know anything about recordimage.aspx or how to get this recordid for the PersonalImage of a person?

All Replies

  • Sunday, February 03, 2013 1:15 AM
     
     Answered

    Recordimage.aspx belongs to the account.healthvault*.com website. It is our implementation of how we would return a record image. This isn't meant to be publicly exposed for other applications to use. I agree it would be convenient to and we are thinking about it in the future of exposing the record image in a consumable URL but that's not the way it works now.

    If you want to show the record image on your application you will have download the image and serve it to the user with an image handler like we have done.