Jump to content

WebView: Portal and Map Problem


Totes

This topic is 6173 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Very newbie to Web Viewer

I have made my first attempt at using the Web Viewer.

I have created a portal on my layout which has address, city, state and zip.

What I am attempting to do is click on a button in the portal row which will open up a new window to show the address map in Google maps.

So, I enter the address information in the first portal row and click the map button, the new window opens up and shows the map information and it is all correct.

I then go to the next portal row and enter the address information and click the map button and the new window opens up However it still shows the address information that is listed in the first portal row, and not the info I selected from portal row #2.

I have tried to script something along the lines that someone showed me relating to another portal problem I was having…but it does not work for the map view.

Example: Link Here

Does anyone have any suggestions as to how to get each portal row to show the related address information in Google Maps?

Thanks,

James

Edited by Guest
Link to comment
Share on other sites

I suppose your portal shows records of the table 'Main'.

You need to go to the related record (GTRR) of table 'Main'; using the layout 'View_Offender_Address_Map'. There you can choose to use a new window.

It's the only script step you need!

Success!

Henk

Edited by Guest
Link to comment
Share on other sites

Henk,

Thanks for your time, I have tried the GTRR like you stated and still nothing.

I always revert back to the address in the first portal row.

Is there something you could sugggest I read that may help me with this problem?

Thanks,

James

Link to comment
Share on other sites

When you open a webviewer such as you are doing it needs to pull the information from the fields of the record you are on.. The go to related script step will force that you are on the correct record.

Can you paste the Url that you have set in the webviewer for us to look at?

Michael

Link to comment
Share on other sites

Thanks for the help everyone,

I guess I just had my newbie switch turned all the way on.

I deleted my script and started over, and when I finished IT WORKED!!!!!!!!!!!

I think I will take a nap now.

James

Link to comment
Share on other sites

This topic is 6173 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.