Select to view content in your preferred language

Hyperlink to SharePoint Shared Document does not work - Flex version 3.3

7258
6
05-15-2013 02:47 AM
by Anonymous User
Not applicable
Original User: wannabhornj

I put http hyperlink (stored in SharePoint) in a Sub-layer.  I can click the link and it brings me to a new window.  However, the url changes from "http://mysite/personal/wannapornj/Shared%20Documents/Basin/CpPrecaspian.pdf" to "http://mysite/personal/wannapornj/Shared%2520Documents/Basin/CpPrecaspian.pdf".  It got the extra number!  As a result, the document cannot be opened.  Please help.
[ATTACH=CONFIG]24317[/ATTACH]
[ATTACH=CONFIG]24318[/ATTACH]
0 Kudos
6 Replies
by Anonymous User
Not applicable
Original User: rscheitlin

Wannapornj,

   You want to remove the URL encoding from your link (%20) as that will be RE-encoded when it is used as a link field. Your link should look like this "http://mysite/personal/wannapornj/Shared Documents/Basin/CpPrecaspian.pdf"

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

0 Kudos
WannabhornJarupath
Emerging Contributor
Unfortunately, I cannot change the URL %20 to be "http://mysite/personal/wannapornj/Shared Documents/Basin/CpPrecaspian.pdf" because the path "Shared Documents" came from the setting of SharePoint that the folder has a space between the word.  Is there any other way to make the link work?

Thank you very much.
0 Kudos
by Anonymous User
Not applicable
Original User: rscheitlin

Wannaporn,

   So you are saying that you have no control over the  link field?... If that is actually the case then you would have to modify the source code for the PopUpRendererSkin.mxml and decode the link field contents before it get encoded in the url link for the popup.
0 Kudos
WannabhornJarupath
Emerging Contributor
Thank you for the suggestion and  quick response.  I appreciate it.  Could you provide additional resource I can read more about .mxml? Where can I look at the file?  How should I modify the link please?
0 Kudos
by Anonymous User
Not applicable
Original User: rscheitlin

Wannaporn,

   There are a dozen or more thread here on this forum about modifying the PopUpRendererSkin.mxml all you have to do is search the forum. Modifying an mxml file will require a flex IDE like Flash Builder.
0 Kudos
WannabhornJarupath
Emerging Contributor
Thank you very much Robert for your help and great tools you have created!
0 Kudos