Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GM + View -- More info, please?

Status
Not open for further replies.

Spokane52

IS-IT--Management
Apr 25, 2007
6
US
How can I specify what MapQuest uses as a starting point? Is there any way I can set it up so that a user can enter a starting point and have MapQuest use the displayed Gold Mine record as the ending point?

MapQuest works great, but it uses the licensee address as a starting point. Our licensee address is Great Falls, MT; our office is in Spokane, WA. Also, when our users are on the road visiting clients, it would be helpful if they could enter a starting address.

Can you help us?
 
Change the address in the user.INI

[User_Var]
Country=USA
Address1=12345 Main Street
City=Your City
State=Your State
Zip=Your Zip
Company=Your Company
Address=12345 Main Street
StZip=Your Zip
CityStZip=Your City, State, Zip

VERY IMPORTANT!!!!!!!...Make a copy of your User.INI before making any changes

Charlie Dunn
 
Thanks for the quick response, DunnDeal, but it doesn't seem to work. I closed Gold Mine, opened my own .ini file (after saving a copy as you suggested), found [user_var] and pasted the text you provided. Then I changed the data descriptions to the correct address, city, state, zip, etc. and saved the file. But when I opened GoldMine and clicked on the GM+view tab, it still shows the Great Falls address as starting point.

Did I miss something? Here's the html text I have in the GM+View configuration. Maybe that will help?:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=REFRESH content="0;url=http://www.mapquest.com/directions/main.adp?go=1&amp;do=prt&amp;ct=NA&amp;1a=<<&amp;licinfo_address1>>&amp;OPC=null&amp;1c=<<&amp;LicInfo_City>>&amp;1s=<<&amp;LicInfo_State>>&amp;1z=<<&amp;LicInfo_zip>>&amp;1y=US&amp;2a=<<contact1->address1>>&amp;DPC=null&amp;2c=<<contact1->city>>&amp;2s=<<contact1->state>>&amp;2z=<<contact1->zip>>&amp;2y=US&amp;lr=2&amp;x=70&amp;y=8">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY leftMargin=1 topMargin=1 rightMargin=1><IMG src="ftp://64.52.25.147/Other/images/crmwlogo.gif"> <BR><BR><FONT color=blue>Getting Directions to:</FONT> <BR><FONT color=green size=4>&lt;&lt;&amp;FULLADDRESS&gt;&gt; </FONT></BODY></HTML>
 
Try (Replace your Information in the places I put Your Address, Your City, Your State, Your Zip):

<HTML>
<HEAD>
<meta http-equiv=REFRESH content="0;url=http://www.mapquest.com/directions/main.adp?go=1&do=prt&ct=NA&1a=&lt;&lt;&Your_Address&gt;&gt;&OPC=null&1c=&lt;&lt;&Your_City&gt;&gt;&1s=&lt;&lt;&Your_State&gt;&gt;&1z=&lt;&lt;&Your_Zip&gt;&gt;&1y=US&2a=&lt;&lt;contact1-&gt;address1&gt;&gt;&DPC=null&2c=&lt;&lt;contact1-&gt;city&gt;&gt;&2s=&lt;&lt;contact1-&gt;state&gt;&gt;&2z=&lt;&lt;contact1-&gt;zip&gt;&gt;&2y=US&lr=2&x=70&y=8" >
</HEAD>
<BODY>
<br>
<font color=blue>
Getting Directions to:</font>
<br>
<font color=green size=4>
&lt;&lt;&amp;FULLADDRESS&gt;&gt;
</font>
</body>
</HTML>

I tested this in a text file and then attached it in the GM+View.

Charlie Dunn
 
Now it's not working at all! It presents the MapQuest screen where you have to enter both the starting and ending addresses. Here is what I did with your code:

<HTML>
<HEAD>
<meta http-equiv=REFRESH content="0;url=http://www.mapquest.com/directions/main.adp?go=1&do=prt&ct=NA&1a=&amp;lt;&amp;lt;&601 W RIVERSIDE AVE&gt;&gt;&amp;OPC=null&1c=&amp;lt;&amp;lt;&SPOKANE&amp;gt;&amp;gt;&1s=&lt;&lt;&amp;WA&gt;&gt;&1z=&amp;lt;&;lt;&99201&amp;gt;&gt;&1y=US&2a=&lt;&amp;lt;contact1-&;gt;address1&gt;&gt;&amp;DPC=null&2c=&amp;lt;&amp;lt;contact1-&gt;city&;gt;&gt;&2s=&lt;&amp;lt;contact1-&gt;state&amp;gt;&;gt;&2z=&lt;&lt;contact1-&amp;gt;zip&amp;gt;&;gt;&2y=US&lr=2&x=70&y=8" >
</HEAD>
<BODY>
<br>
<font color=blue>
Getting Directions to:</font>
<br>
<font color=green size=4>
&lt;&lt;&amp;601 W RIVERSIDE AVE, SPOKANE, WA, 99201&gt;&gt;
</font>
</body>
</HTML>

I sure appreciate your help and just hope you don't give up on me!
 
Try This (this works on my GM+Views):

<HTML>
<HEAD>
<meta http-equiv=REFRESH content="0;url=http://www.mapquest.com/directions/main.adp?go=1&do=prt&ct=NA&1a=&lt;&lt;&601_West_RIVERSIDE_AVENUE&gt;&gt;&OPC=null&1c=&lt;&lt;&SPOKANE&gt;&gt;&1s=&lt;&lt;&WA&gt;&gt;&1z=&lt;&lt;&99201&gt;&gt;&1y=US&2a=&lt;&lt;contact1-&gt;address1&gt;&gt;&DPC=null&2c=&lt;&lt;contact1-&gt;city&gt;&gt;&2s=&lt;&lt;contact1-&gt;state&gt;&gt;&2z=&lt;&lt;contact1-&gt;zip&gt;&gt;&2y=US&lr=2&x=70&y=8" >
</HEAD>
<BODY>
<br>
<font color=blue>
Getting Directions to:</font>
<br>
<font color=green size=4>
&lt;&lt;&amp;FULLADDRESS&gt;&gt;
</font>
</body>
</HTML>



Charlie Dunn
 
I wanted to add some additional instructions:

Open Windows Notepad program and paste the code above. Save file "MapquestDirections.txt" and save in a folder under your GoldMine installation (My's C:\apps\GoldMine\GMView).

Then:

Under File | Configure | User Settings is the GM+View configuration area. Select the second Icon "Insert Field" and select "Include a Text File" and select the new file MapquestDirections.txt" and then save.

This should work (I tested it on my installation and it worked).

I hope this helps,


Charlie Dunn
 
Also try this one with the above instructions:

<HTML>
<HEAD>
<meta http-equiv=REFRESH content="0;url=http://www.mapquest.com/directions/main.adp?go=1&do=nw&ct=NA&1y=US&1a=601%20West%20Riverside%20Avenue&1z=99201&2y=&lt;&lt;&amp;&Country&gt;&gt;&amp;&2a=&lt;&lt;&amp;&Address1&gt;&gt;&amp;&2c=&lt;&lt;&amp;&City&gt;&gt;&amp;&2s=&lt;&lt;&amp;&State&gt;&gt;&amp;&2z=&lt;&lt;&amp;&Zip&gt;&gt;&amp;&lr=2&x=58&y=5"
</HEAD>
<BODY>
<br>
<font color=blue>
Getting Directions to:</font>
<br>
<font color=green size=4>
&lt;&lt;&amp;FULLADDRESS&gt;&gt;
</font>
</body>
</HTML>

I hope this works for you,

Charlie Dunn
 
Thanks for sticking with me, DunnDeal, but it's still not working.

I copied the text from your thread and pasted it into a Notepad file and saved it as MapQuest directions.txt. Then I went to the Configure/Gm+View tab, selected the "insert a file" icon and entered the path to my notepad file. Then I saved it and went to the GM+View tab.... and it didn't work.

Then I thought, well maybe he meant for me to paste the text into the Configure/GM+View screen AND use the "insert a file" function, so I tried that, too! And it didn't work.

The GM+View tab shows:

<meta http-equiv=REFRESH content="0;url=http://www.mapquest.com/directions/main.adp?go=1&do=prt&ct=NA&1a=&lt;&lt;&601_West_RIVERSIDE_AVENUE>>&OPC=null&1c=&DPC=null&2c=&lt;&lt;contact1->city&;gt;>&2s=<&lt;contact1->state&gt;&;gt;&2z=

Am I hopeless?
 
Ooo! That last thread has gotten the right address into the starting address fields, but now the ending address isn't picking up the address from the contact record.

What do we need to do to correct that?

(I'm beginning to have hope again!)
 
I have the file I was working on at my office, so when I go there tomorrow, I will look at what we were doing.

Talk with you tomorrow,

Charlie Dunn
 
BINGO! That did the trick! Thank you so much for all the time and patience you put into this!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top