Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Inserting links in Rich text through OSLC API

I am able to insert simple links through XHTML in the primary text of RRC through OSLC but when it comes to a complex url involving special characters the post fails.

e.g. It worked for http://gbsp0211.bcsdc.lexington.ibm.com:9080/ram/home.faces
but failed for http://gbsp0211.bcsdc.lexington.ibm.com:9080/ram/_rlvid.jsp.faces?_rap=!assetDetails&_rvip=/home.jsp&guid={9755E4AF-E6BB-3C93-A7C8-72F39EFFD9F3}&v=1.0&submission=false

there is an error in post is there any way I need to tweak the url to post it correctly at the same time also make the link work when clicked.

Thanks,
Samanwita

0 votes



2 answers

Permanent link
Hi,

If the URL has special characters it must be encoded. After encoding the sample you provided it works fine.

I used : http://meyerweb.com/eric/tools/dencoder/

0 votes


Permanent link
Ok I got the same the problem was with the &  in url encoded it to & and it worked

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 45

Question asked: Oct 06 '12, 9:19 p.m.

Question was seen: 4,860 times

Last updated: Oct 11 '12, 3:32 a.m.

Related questions
Confirmation Cancel Confirm