+ Start a Discussion
Stacey HusseyStacey Hussey 

S-Control to Visualforce?

We used an app from the appexchange that used a S-Control, but it no longer works (I assume because s-controls aren't accepted anymore?) I think I need to convert this to a Visualforce page but I'm not sure how since I'm not a developer. This will actually be put on a custom object (Property_Basic_Info__c) and it will pull the data from the zip code on this page (Zip_Code__c). 

Here is the code:

<script src="http://gmodules.com/ig/ifr?url=http://gwidget.accuweather.com/adcbin/googleforecastgadget/gadget.asp&amp;up_myzip={!Account.BillingPostalCode}&amp;up_myunits=english&amp;up_mywxview1=calendar&amp;up_mywxview2=hourly&amp;up_mywxstate=1&amp;synd=open&amp;w=320&amp;h=376&amp;title=AccuWeather.com&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>

Can anyone help?
Pramodh KumarPramodh Kumar
Could you please explain how this s-control is used.
Ex:
A Custum button
Inside the Vf - page

if it is a custom button please edit the button and select the URL and paste the following code into the url text box.


http://gwidget.accuweather.com/adcbin/googleforecastgadget/gadget.asp&amp;up_myzip={!Account.BillingPostalCode}&amp;up_myunits=english&amp;up_mywxview1=calendar&amp;up_mywxview2=hourly&amp;up_mywxstate=1&amp;synd=open&amp;w=320&amp;h=376&amp;title=AccuWeather.com&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js


let me know, if you face any other issue.
Stacey HusseyStacey Hussey
I add it to the page layout, so you don't have to click anything, it just shows up. I guess it is a Google gadget that I downloaded from the AppExchange.