• James_Dean
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 8
    Replies
for example
sf = beatbox._tPartnerNS
svc = beatbox.Client()
svc.login(username, password)
a = { 'type': 'Account',
    'Name': 'New Account',
    'Website': 'http://www.pocketsoap.com/'
    'type': 'Account',
    'Name': 'New Account' 1,
    'Website': 'http://www.pocketsoap.com/'
 }
sr = svc.create(a)
if str(sr[sf.success]) == 'true':
    print "id " + str(sr[sf.id])
How do i use this to directly map data from my sql server to Salesforce. i believe i need to use some configuration file in order to achieve this but have no idea how to do it.
This is my simple page and controller but it does not work at all........every time i click the submit button it refreshes the current page
---Page-----
<apex:page controller="MyController" tabStyle="Contact">
<apex:form >
 <apex:pageBlock>
  <apex:commandButton action="{!submit}" value="Export" id="BtnExport"/>              
 </apex:pageBlock>
</apex:form>
</apex:page>
---Controller-----
public class MyController { 
   public PageReference submit() {
        PageReference secondPage= new PageReference('www.google.com');
        secondPage.setRedirect(true);
        return secondPage;
    }
}
can i access one of my server databases from within salesforce?.
May seem like a basic question but how do i access the Page Editor inside Salesforce?. I have an Enterprise Licence so i should be able to open this editor inside Salesforce.