We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Replacement when using FieldHyperlink is killing file links

Hi Aspose,

in attached project you can find document with 3 links.

After changing "C:\Users\Oliver\Downloads\Google_Suggest_Multi_2008_01_24_Link.xls" with "C:\JANA\Oliver\Downloads\Google_Suggest_Multi_2008_01_24_Link.xls"

in document "output111.docx" I can see following as a link "C:\Users\Oliver\AppData\Local\Webtime Corporation\JANA"

Can you please investigate?
Hi Oliver,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-13247. You will be notified via this forum thread once this issue is resolved. We apologize for your inconvenience.

As a workaround of this issue, please replace "\" with "\\" as shown below. Hope this helps you.

if (NewAddress != OldUrl)

{

hpl.Address = NewAddress.Replace(@"\", @"\\");

}

The issues you have found earlier (filed as WORDSNET-13247) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.