cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate Google api's in visual composer v 7.1 ehp1

Former Member
0 Kudos

Hi all,

I have tried the procedure given in the blog

/people/jakob.diness2/blog/2008/04/10/visual-composer-demo--customer-and-google-api

Where do i need to save the jsp file in the portal and how?

I have also tried doing the same in the follwoing blog

/people/vivekkumar.mishra2/blog/2008/03/03/visual-composer71-and-yahoo-maps--part-i

But when when i deploy it i get an exception

"java.net.MalformedURLException: Illegal character in fragment at index 33 "

Error details:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Invalid URL=http://maps.yahoo.com/#q1=hauptstrasse 2,Neu Ulm,Germany. See nested exception for details. Please check whether the URL contains query parameters which are not allowed for security reasons. See SAP note 864842 for more details

Can any one give a detailed solution?

Regards

Tekumalla

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Deepa,

I'm assuming you would like to embed a map into your application.

In that case, you need to connect your data service (the one that holds the addresses you wish to present using the map) to an HTML view and map the data as follows:

="http://www.map-generator.net/map.php?name=spot&address="&@Address&"&city="&@City&"width=500&height=400&maptype=map&zoom=14"

Where @Address is the field in your service which holds the address, e.g: 10 market st

and the @City is the field in your service that hods the city, e.g: San Francisco

Hope this helps

Regards

Yogev

Former Member
0 Kudos

Hi yogev,

It worked , I just added a hyperlink action on a button which has

URL="http://maps.google.com/?ie=UTF8&q="&store@street&","&store@city&","&store@country

and the values street,city and country are stored in store coonector.

Thanks

Deepa

Answers (0)