• Utriv
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 14
    Replies

Hi

 

What should I do to send a visualforce page to non-salesforce users. I have a appointment request form that I will be sending out to customers once they become eligible for further discussion. But those are non-salesforce users. Currently, the URL of my vf page looks like www.myorgname/apex/appreqform

 

I am pointing to my org so it requires them to sign in to access the page.

 

please help.

 

Thank you!

  • May 09, 2012
  • Like
  • 0

I have a following code on the button (detail page button) that works fine from the record. But when I converted the button into the List Button with the same code, it stopped working. My purpose is to display multiple addresses on a map.

 

http://maps.google.com/maps?f=q&hl=en&q={!Establishment_Record__c.PremiseStreet__c}+{!Establishment_Record__c.PremiseCity__c}+{!Establishment_Record__c.PremiseState__c}+{!Establishment_Record__c.PremisePostalCode__c}&om=1

 

Please help.

 

Thank you in advance!

  • May 02, 2012
  • Like
  • 0

Hi,

I have the following record types for one of my object called "Inspections".

  • Site Visit
  • Inspection
  • Reinspection

Now I have a field called "Results" and the fields appears on all record types mentioned above. If the customer fails inspection then the results field is marked as "Fail". 

Upon faiIing the inspection, I would like to AUTO CREATE a new record and assign a record type as reinspection.

How do I do this?

Thank you in advance!

  • April 30, 2012
  • Like
  • 0

I have the following vf page to generate geocode for one of my custom object. I am not able to using the following script. Can some one plz help what is wrong with the code???

 

 

 

 

<apex:page standardController="Establishment_Record__c">

<script src="http://maps.google.com/maps?file=api">
</script>

<script type="text/javascript">

var map = null;
var geocoder = null;

var address = "{!Establishment_Record__c.PremiseStreet__c}, {!

Establishment_Record__c.PremiseCity__c}, {!

Establishment_Record__c.PremiseState__c}, {!

Establishment_Record__c.PremisePostalCode__c}";

function initialize() {
if(GBrowserIsCompatible())
{
map = new GMap2(document.getElementById("MyMap"));
map.addControl(new GMapTypeControl());
map.addControl(new GLargeMapControl3D());

geocoder = new GClientGeocoder();
geocoder.getLatLng(
address,
function(point) {
if (!point) {
document.getElementById("MyMap").innerHTML = address + " not found";
} else {
map.setCenter(point, 13);
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindow(document.createTextNode(address));
}
}
);
}
}
</script>
<div id="MyMap" style="width:90%;height:300px"></div>
<script>
initialize() ;
</script>

</apex:page>

  • April 24, 2012
  • Like
  • 0

I have embed a google maps in one of my custom objects. Based on the customer's address, the map is being displayed on the page. But how can I generate geocode (latitude and longitude) for the address? Any suggestions please.

Thank you in advance!

  • April 24, 2012
  • Like
  • 0

I have a following code on the button (detail page button) that works fine from the record. But when I converted the button into the List Button with the same code, it stopped working. My purpose is to display multiple addresses on a map.

 

http://maps.google.com/maps?f=q&hl=en&q={!Establishment_Record__c.PremiseStreet__c}+{!Establishment_Record__c.PremiseCity__c}+{!Establishment_Record__c.PremiseState__c}+{!Establishment_Record__c.PremisePostalCode__c}&om=1

 

Please help.

 

Thank you in advance!

  • May 02, 2012
  • Like
  • 0

Hi,

I have the following record types for one of my object called "Inspections".

  • Site Visit
  • Inspection
  • Reinspection

Now I have a field called "Results" and the fields appears on all record types mentioned above. If the customer fails inspection then the results field is marked as "Fail". 

Upon faiIing the inspection, I would like to AUTO CREATE a new record and assign a record type as reinspection.

How do I do this?

Thank you in advance!

  • April 30, 2012
  • Like
  • 0

I have the following vf page to generate geocode for one of my custom object. I am not able to using the following script. Can some one plz help what is wrong with the code???

 

 

 

 

<apex:page standardController="Establishment_Record__c">

<script src="http://maps.google.com/maps?file=api">
</script>

<script type="text/javascript">

var map = null;
var geocoder = null;

var address = "{!Establishment_Record__c.PremiseStreet__c}, {!

Establishment_Record__c.PremiseCity__c}, {!

Establishment_Record__c.PremiseState__c}, {!

Establishment_Record__c.PremisePostalCode__c}";

function initialize() {
if(GBrowserIsCompatible())
{
map = new GMap2(document.getElementById("MyMap"));
map.addControl(new GMapTypeControl());
map.addControl(new GLargeMapControl3D());

geocoder = new GClientGeocoder();
geocoder.getLatLng(
address,
function(point) {
if (!point) {
document.getElementById("MyMap").innerHTML = address + " not found";
} else {
map.setCenter(point, 13);
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindow(document.createTextNode(address));
}
}
);
}
}
</script>
<div id="MyMap" style="width:90%;height:300px"></div>
<script>
initialize() ;
</script>

</apex:page>

  • April 24, 2012
  • Like
  • 0

I have embed a google maps in one of my custom objects. Based on the customer's address, the map is being displayed on the page. But how can I generate geocode (latitude and longitude) for the address? Any suggestions please.

Thank you in advance!

  • April 24, 2012
  • Like
  • 0