You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm aware that to write an embedded image you must add the image as an attachment and then use the URL for that attachment in the html. Reading existing embedded images shows that the URLs have a FileNameGuid value that can appear as the value following the "attachments" or as FileNameGuid parameter.
However, if I create an attachment using the Java SDK, when I call attachment.getURL I don't get at URL containing FileNameGuid, but instead I get back at URL that has FileID:
I'm aware that to write an embedded image you must add the image as an attachment and then use the URL for that attachment in the html. Reading existing embedded images shows that the URLs have a FileNameGuid value that can appear as the value following the "attachments" or as FileNameGuid parameter.
<img src="https://gregoryta.visualstudio.com/DefaultCollection/d07bb45a-a8e8-4a72-b437-792051363421/_apis/wit/attachments/89b4055c-4825-4a28-a830-c6141a44ebe?fileName=smalls.png>
However, if I create an attachment using the Java SDK, when I call attachment.getURL I don't get at URL containing FileNameGuid, but instead I get back at URL that has FileID:
https://gregoryta.visualstudio.com/DefaultCollection/WorkItemTracking/v1.0/AttachFileHandler.ashx?FileID=1665619&FileName=c2d1c1d9286104d04cbef2edd10a55fd.png
Without the FileNameGuid I am unable to retrieve the attachment.
Thanks for your help.
Greg Taylor
The text was updated successfully, but these errors were encountered: