-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
10Questions
-
14Replies
Private Custom Objects (security)
- Jesip
- March 14, 2007
- Like
- 0
- Continue reading or reply
sforceClient.Login within an sControl
- Jesip
- May 03, 2006
- Like
- 0
- Continue reading or reply
- Jesip
- October 27, 2005
- Like
- 0
- Continue reading or reply
AJAX Create Error
I am getting an error creating the new Opportunity with the AJAX toolkit.
I have read through this message board and found that the object parameter must be in the form of an array, but I still get the following messge when I interogate the SoapFault object (toString):
"faultstring: org.xml.sax.SAXParseException: The reference to entity "D" must end with the ";" dilimeter. faultcode: soapenv:Server"
Can someone help me how I can troubleshoot this??
Here is my create script:
var Opp = new DynaBean("Opportunity")
//A series of set statements
var saveResult = sforceClient.Create([Opp]);
if (saveResult.getClassName() == "SoapFault") {
alert(saveResult.toString);
} else {
alert("It worked!");
}
- Jesip
- September 01, 2005
- Like
- 0
- Continue reading or reply
AJAX Date Format
I am using the new sForce AJAX toolkit to create a new object. I would like to default a date field on the object, but I keep getting an error when doing the set. Can anyone tell me what the valid date format would be in this case?
Opp.set("CloseDate", doDateConversion());
function doDateConversion() {
var d = new Date();
var curr_date = d.getDate();
var curr_month = d.getMonth() + 1;
var curr_year = d.getFullYear();
var dateString = curr_year + "-" + curr_month + "-" + curr_date ;
return (dateString);
}
- Jesip
- September 01, 2005
- Like
- 0
- Continue reading or reply
sForce Data Loader command line
I am successfully using the command line interface of the sForce Data Loader to extract data. However, I am having problems using SOQL statements with a WHERE clause like:
The statement below generates a "Error in Query: missing Select" message. The statement directly out of the config.properties file after running successfully using the GUI interface.
java -jar sforcedataloader.jar entity=Account operation=extract extractionSOQL="Select Id, Name FROM Account WHERE RecordTypeId \!= '0123000000004lXAAQ'" extractionTarget=C:\\Projects\\Salesforce\\Data\\accounts.csv
I have tried every combination of escape characters I can think of to get this syntax to work. Can anybody help me out??
- Jesip
- July 06, 2005
- Like
- 0
- Continue reading or reply
Account Team Sharing through API
We followed your recommendation and inserted a Manual share for each of the team members so that they are R/W on the Account and R/O on opps and cases. However, the team members still appear to be all R/O for accounts on the related list. How do we get this upgraded from "Manual" to "Team" on the AccountShare?
- Jesip
- February 22, 2005
- Like
- 0
- Continue reading or reply
Update Account Team Access
My organization has recently changed the org-wide default for Accounts from Public Read/Write to Public Read/Only. An unexpected consequence of this change was that all Account Team Members who had Read/Write Access to accounts were updated to be Read Only. We would like to programmatically update all of the account team members back to Read/Write.
It appears that there are two objects involved in this process. First, the AccountTeamMember object holds the relationship between all Account Team Members and the Account. Second, the AccountShare object holds the security level if it is "not trivial." Knowing that we cannot update the RowCause field on the AccountShare object, we can insert records through the API where the RowCause is "Manual", but the Account Team Member still shows as "Read Only" when I go view the account. Although I think that adding these "Manual" records to AccountShare will grant the user the access they need, the user's access is not obvious when looking at the account.
My question is, how do these "Manual" AccountShare records show themselves in the application? And is there anyway that I can programmatically update the Account Team so that these relationships are more intuitive? (We would do it manually, but this problem affects more than 200,000 account team member relationships.)
Thanks.
- Jesip
- February 16, 2005
- Like
- 0
- Continue reading or reply
Using Session ID with the .NET Provider for sForce
I have been using the sForce Provider for .NET for several integrations with great success. Kudos to the developers who did a fantastic job.
I am having a problem with one particular integration in which I want to pass the session id passed from SFDC and reuse it to create a connection within my asp page. When I do this using the sForce api, it is as simple as setting the sessionheadervalue of the sForceService equal to the SessionID. Can anyone tell me how I can do the same thing with the provider?
(The reason I need to do this rather than hard-coding a user and password is that the ASPX page is going to create objects within SFDC that I would like the user to own)
Thanks.
- Jesip
- January 14, 2005
- Like
- 0
- Continue reading or reply
sForce Adapter
- Jesip
- November 16, 2004
- Like
- 0
- Continue reading or reply
Private Custom Objects (security)
- Jesip
- March 14, 2007
- Like
- 0
- Continue reading or reply
sforceClient.Login within an sControl
- Jesip
- May 03, 2006
- Like
- 0
- Continue reading or reply
Dataloader config file
As always thanks for your support.
TRF
- beta1beta.ax97
- October 27, 2005
- Like
- 0
- Continue reading or reply
AJAX Create Error
I am getting an error creating the new Opportunity with the AJAX toolkit.
I have read through this message board and found that the object parameter must be in the form of an array, but I still get the following messge when I interogate the SoapFault object (toString):
"faultstring: org.xml.sax.SAXParseException: The reference to entity "D" must end with the ";" dilimeter. faultcode: soapenv:Server"
Can someone help me how I can troubleshoot this??
Here is my create script:
var Opp = new DynaBean("Opportunity")
//A series of set statements
var saveResult = sforceClient.Create([Opp]);
if (saveResult.getClassName() == "SoapFault") {
alert(saveResult.toString);
} else {
alert("It worked!");
}
- Jesip
- September 01, 2005
- Like
- 0
- Continue reading or reply
SFORCE DATA LOADER, how to insert and associate opportunities to account automatically
For example,
I have 2 *.csv files: myaccounts.csv, myopportunities.csv with
the data of my old system and without ids,
the way I associated opportunities with accounts was with a field called "account name" in the "myopportunities.csv" file.
Now, i don´t know how to insert this information in salesforce.com with sfoce data loader automatically.
I think the first step i need to do is to insert the "myaccounts.csv" file, but i don´t know which must be the next step ... ( how to insert the opportunities "myopportunities.csv" and associate with accounts in salesforce.com automaticaly )
Thanks a lot.
Victor.
- CaptaConsulting
- July 15, 2005
- Like
- 0
- Continue reading or reply
Using Session ID with the .NET Provider for sForce
I have been using the sForce Provider for .NET for several integrations with great success. Kudos to the developers who did a fantastic job.
I am having a problem with one particular integration in which I want to pass the session id passed from SFDC and reuse it to create a connection within my asp page. When I do this using the sForce api, it is as simple as setting the sessionheadervalue of the sForceService equal to the SessionID. Can anyone tell me how I can do the same thing with the provider?
(The reason I need to do this rather than hard-coding a user and password is that the ASPX page is going to create objects within SFDC that I would like the user to own)
Thanks.
- Jesip
- January 14, 2005
- Like
- 0
- Continue reading or reply
How do I retrieve a user-defined field in Accounts
Hi all,
I'm new to SalesForce. I have been messing around with the API the last few days. I have managed to write code to insert a new contact and account. I also played around with querying data in accounts. But I am stumped on something. We have created several user-defined fields in accounts. By reading thru various posts I see that you must append __C at the end of custom fields. So here is my SQL statement:
qra = binding.query("select Name, Site, Id, Bed_Count__c from Account") Bed_Count is the user defined field. I would like to display this field. How do I do this?
Thanks,
Bob
- BobH
- January 14, 2005
- Like
- 0
- Continue reading or reply