-
ChatterFeed
-
0Best Answers
-
1Likes Received
-
0Likes Given
-
12Questions
-
8Replies
multiple create with one api call..possible?
for example
sf = beatbox._tPartnerNS
svc = beatbox.Client()
svc.login(username, password)
a = { 'type': 'Account',
'Name': 'New Account',
'Website': 'http://www.pocketsoap.com/'
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/'
'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])
sr = svc.create(a)
if str(sr[sf.success]) == 'true':
print "id " + str(sr[sf.id])
-
- James_Dean
- December 10, 2008
- Like
- 0
- Continue reading or reply
DataLoader upsert problem
I have encountered a problem using the Dataloader command line tool when i upsert data. I do and soql query like the following....select Id,productCode,Name,AssetCodeId(reference field). from Product. The problem seems to be the last field if i leave that out it matches the Id in my database with the salesforce Id and does not add new records but when i use the last reference field then it adds new records in salesforce. I am upserting from an sql table with 4 fields all of tpe varchar. Both Id and AsetCodeId are just strings containing the unique ids in salesforce......what could be the problem?.
-
- James_Dean
- December 10, 2008
- Like
- 0
- Continue reading or reply
download link from javascript or visualforce code
At the moment i am reirecting to the download link but i want to keep the current page displayed and just have the download dialog box appear normally..
-
- James_Dean
- December 09, 2008
- Like
- 0
- Continue reading or reply
Command Line DataLoader
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.
-
- James_Dean
- November 18, 2008
- Like
- 0
- Continue reading or reply
Download link is visualforce
How can i do this. I am using the Page Reference`s Redirect method at the moment but it "redirects" me to the download link but i want to stay on the same page.
-
- James_Dean
- October 20, 2008
- Like
- 0
- Continue reading or reply
PageReference not working at all
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:form >
<apex:pageBlock>
<apex:commandButton action="{!submit}" value="Export" id="BtnExport"/>
</apex:pageBlock>
</apex:pageBlock>
</apex:form>
</apex:page>
</apex:page>
---Controller-----
public class MyController {
public PageReference submit() {
PageReference secondPage= new PageReference('www.google.com');
secondPage.setRedirect(true);
return secondPage;
}
PageReference secondPage= new PageReference('www.google.com');
secondPage.setRedirect(true);
return secondPage;
}
}
-
- James_Dean
- September 30, 2008
- Like
- 0
- Continue reading or reply
How do i do this in visualforce
Contact c : [select id from Contact where Name = {!$User.FirstName}]
-
- James_Dean
- September 29, 2008
- Like
- 1
- Continue reading or reply
distinct query problem
I have a custom table which has a textfied of size 6 that holds a date and month information in the format YYYYMM. What i wanted was a query like this "select distinct date from Commission__c" but i cannot because there is no distinct or group by function in soql.....any workaround?
-
- James_Dean
- September 29, 2008
- Like
- 0
- Continue reading or reply
Access outside database from within salesforce
can i access one of my server databases from within salesforce?.
-
- James_Dean
- September 09, 2008
- Like
- 0
- Continue reading or reply
-
- James_Dean
- September 09, 2008
- Like
- 0
- Continue reading or reply
Apex Code Page Editor
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.
-
- James_Dean
- September 05, 2008
- Like
- 0
- Continue reading or reply
Downloading Reports
This is the export download link for the excel file i wish to download but how do i download it?. I have the sessions id and am logged in using my user name and password but i dont know how to download this file.
-
- James_Dean
- March 03, 2008
- Like
- 0
- Continue reading or reply
How do i do this in visualforce
Contact c : [select id from Contact where Name = {!$User.FirstName}]
-
- James_Dean
- September 29, 2008
- Like
- 1
- Continue reading or reply
multiple create with one api call..possible?
for example
sf = beatbox._tPartnerNS
svc = beatbox.Client()
svc.login(username, password)
a = { 'type': 'Account',
'Name': 'New Account',
'Website': 'http://www.pocketsoap.com/'
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/'
'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])
sr = svc.create(a)
if str(sr[sf.success]) == 'true':
print "id " + str(sr[sf.id])
- James_Dean
- December 10, 2008
- Like
- 0
- Continue reading or reply
Command Line DataLoader
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.
- James_Dean
- November 18, 2008
- Like
- 0
- Continue reading or reply
PageReference not working at all
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:form >
<apex:pageBlock>
<apex:commandButton action="{!submit}" value="Export" id="BtnExport"/>
</apex:pageBlock>
</apex:pageBlock>
</apex:form>
</apex:page>
</apex:page>
---Controller-----
public class MyController {
public PageReference submit() {
PageReference secondPage= new PageReference('www.google.com');
secondPage.setRedirect(true);
return secondPage;
}
PageReference secondPage= new PageReference('www.google.com');
secondPage.setRedirect(true);
return secondPage;
}
}
- James_Dean
- September 30, 2008
- Like
- 0
- Continue reading or reply
Access outside database from within salesforce
can i access one of my server databases from within salesforce?.
- James_Dean
- September 09, 2008
- Like
- 0
- Continue reading or reply
- James_Dean
- September 09, 2008
- Like
- 0
- Continue reading or reply
Apex Code Page Editor
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.
- James_Dean
- September 05, 2008
- Like
- 0
- Continue reading or reply