• ZitizonX
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 22
    Replies
Hi,
 
I am creating a custom survey in SF. My Survey works fine with a Lead or contact objects. But when it comes to Campaigns I am bit confused.
 
My question :
 
I need to send the Survey_ID, Question_IDs, (from Custom Objects) , Lead_ID, Campaign_ID, with the email. It works fine when I send to a Lead. But how can I get the Lead_IDs when I send a bulk email like to a Campaign?
 
Or do I have to use e-mail ID as the Primary Key? But e-mail can be duplicated.
 
Where can I learn about the SF database in depth?
 
Thanks in advanced guys. I really need some help around here.
 
 
Ravindu
 
 
We are creating a simple survey pluggin to SF account. I have 3 custom objects as shown in the image below. And I have defined their relationships. If I have the Campaign ID in my development enviornment how can I create a Survey Custom Object programatically.
 
This is my code;

Campaign campaign = new Campaign();

campaign.Id = "701500000009731";

campaign.Name = "BreakFast Event";

campaign.surverys__r <------ [HOW CAN I CREATE the custom object here and add values]

Here is my DSD.

 

Hello,
 
Is it possible to add Custom fields on the fly (programmatically) to a Custom object? if so, is there a limit of custom fields we can have per Custom Object?
 
Thanks
 
 
Hi everyone,
 
We are developing a custom app for our client and we need to build a pre-defined survey(s) which they can select and tweak it around. Then attach the survey to an email and send it to a Contact. Survey results should populated back to SF. Results should display at Contact level.
 
ok where I am struggling is,
 
  1. How can I map the relationship with Contact PK and Survey PK.
  2. How can I display the results posted back for the survey in Contact level.

I am reading the API Guide and "Creating On-Demand appellation" Book. But still I am not in the correct track. Can anyone help me around this? Any thoughts around this would be really valuable.

Thanks in advanced guys.

X

 
 
 
Hello,
 
When I try to install this application it says, Application Version Mismatch. I never experienced this problem before. Is this an erros in SF side or application vendor side?
 
this is the link for the app.
 
 
X
Hey all,
 
I want to create a local backup of an object (Eg Lead) but only a part of it. Example, ActivityHistory of a lead. Any ideas will help in heaps..
 
Thanks
 
 
Hi all,
 
Where can I find information about "xtma_Individual_Email_Result__c" object/Table? I couldnt find any info in the API related docs or SF search.
 
Thanks
 
X
Hello everyone,
 
I would like to use the Visual Studio Ajax tool kit(controls) and Databinding controls with SalesForce in my web applications. Is this possible?
 
Many Thanks Everyone!
 
 
X

How do I keep logging sessions across multiple pages (aspx). Creating a local session variables or cookies are the only choices?

Hi all,
 
Sorry about the previous post, it was a mistake. I am pretty new to salesforce and have a quick question about the "SessionHeaderValue".
 
Q. How can I make a SessionHeaderValue permenent for all API calls? Please have a look at the code below...
 
 
--------------------------------------------------------------

public SforceService binding = new SforceService();

void function1()

{

//execute the login placing the results
//in a LoginResult object
sforce.LoginResult loginResult = binding.login(userName,password);

//set the session id header for subsequent calls
binding.SessionHeaderValue = new sforce.SessionHeader();
binding.SessionHeaderValue.sessionId = loginResult.sessionId;

//reset the endpoint url to that returned from login
binding.Url = loginResult.serverUrl;

}

 

void function2()

{

if I want to do an API call here, it will through an NullRef Exception. Its because the SessionHeaderValue is empty or something to do with the Session Header. But I have already logged in to the system. For every API call do I have to write the SessionHeader ?

}

Hi all,
 
I am pretty new out here. Have a quick question.
 

void function1()

{

//execute the login placing the results
//in a LoginResult object
sforce.LoginResult loginResult = binding.login(userName,password);

//set the session id header for subsequent calls
binding.SessionHeaderValue = new sforce.SessionHeader();
binding.SessionHeaderValue.sessionId = loginResult.sessionId;

//reset the endpoint url to that returned from login
binding.Url = loginResult.serverUrl;

}

 

void function2()

{

    

}

Hi,
 
We are trying to prove  a concept.
 
We have a e-commerce website, and we want to integrate it with SalesForce via Apex platform.
Basically, some of our customers are existing sales force customer, they will create new web tab pointing to our web site, and once they log in sale forces, we want him/her automatically log in our website. Does Apex provides such possibility?
 
I do not feel it is possible, since no way to pass information (user credential) through.
 
I am new to this, so any feedback are appreciated.
 
Cheers
 
zhuang
  • September 05, 2007
  • Like
  • 0
Hi All,
 
I need to capture user information based on customers id on the page. On each user info page, I will have a custom button where will trigger an email. On that email, I will show some user information such as Name and Address. Is there any API or sample code to do this? I would assume a custom web service will a good fit to do this. Thanks in advance. 
We are creating a simple survey pluggin to SF account. I have 3 custom objects as shown in the image below. And I have defined their relationships. If I have the Campaign ID in my development enviornment how can I create a Survey Custom Object programatically.
 
This is my code;

Campaign campaign = new Campaign();

campaign.Id = "701500000009731";

campaign.Name = "BreakFast Event";

campaign.surverys__r <------ [HOW CAN I CREATE the custom object here and add values]

Here is my DSD.

 

I have a web application that coverts a lead into an account then creates an agreement and adds an attachment to the agreement. My problem is I can't make salesforce send the agreements out for signature. I can change the status of the agreement to "out for signature" but I never receive an email with the docs or see them in echosign. My question is how can I duplicate the custom s-control "send for signature" functionality in my web application? Is there a way to trigger the s-control from my web application? Any help in the right direction would be greatly appreciated.
 
-Paulo
  • August 27, 2007
  • Like
  • 0
Can anyone advise me on what methods are available to integrate the Salesforce Customer Portal functionality into an external website, in particular:
 
1. We would like to customers to log in once to our corporate web site, and then when accessing our support area auomatically have access to Salesforce to log new calls or view existing calls?
 
2. I have seen how some users have incorporated the Customer Portal pages directly into their site using an IFRAME, is this the only way? Reason I'm not happy with this solution is the invitable scroll bars and the need for sub menus. Ideally I would OUR interface to have tabs for New Call, View Calls etc...
 
Any help of advise appreciated.
 
Thanks
Hello,
 
When I try to install this application it says, Application Version Mismatch. I never experienced this problem before. Is this an erros in SF side or application vendor side?
 
this is the link for the app.
 
 
X

I am not a programmer, so please excuse my ignorance.

 

We have a custom build .net application that we use for running parts of our business.  We are using sfdc for CRM but there is no connection to our .net system.

 

In sfdc I came across the option to create a custom button that would insert a contact’s account number into a URL or Java script, then open a page (within sfdc).  I was wondering how we could use this with our .net application.

 

I want to “paste” some of our existing .net pages into the sfdc window with the sfdc sidebar and header remaining.

 

I know we need to go back to our .net developer for help, but I was hoping to get a 2 minute primer on what I’m actually asking for.

 

  1. Does my question make sense?
  2. What specifically can sfdc “pass” to our .net application and how (what programming langue is required) to “launch” an existing .net page with sfdc?

 

Would somebody PLEASE give me a paragraph or two of explanation in tech speak of what I am looking for, so that our .net developer will not look at me like I’m a complete moron.

 

THANKS in advance,

John

I'm very new to this and I have a problem getting started. I'm going through the guide and have gotten to the part of walking through the sample code. However, I can't get it to recognize the web reference and I keep getting the error:
 
The type or namespace 'sforce' could not be found (are you missing a using directive or an assembly reference?)
 
See screenshot:
 
 
I saw a few posts with people having the same problem but no real resolution to it. If anyone can help me get the first part of the sample code working, that'd be great!
 
Thanks!
Hi all,
 
Where can I find information about "xtma_Individual_Email_Result__c" object/Table? I couldnt find any info in the API related docs or SF search.
 
Thanks
 
X
I've been tasked to build a .NET web application (VB) that will connect with our SalesForce.com data and allow our salespeople to select an in-house email template for mass mailings through our own in-house mail servers. I have everything setup in Visual Studio 2005, the WSDL is in place, and I have some initial code running that allows me to successfully log into the API and retrieve some basic information (user name, company, etc.). So far, all is going well.
 
Now, I want to create a dropdown menu that contains any and all contact "views" established by the user. In SalesForce.com, I can create a new view and assign specific contacts to that view, allowing me to manage different groups of folks to potentially email. However, I can't seem to find any reference to these views in the Apex API. I presume there is some sort of mechanism I can use to capture what views have been created by a particular user, so in turn I can capture the appropriate contacts for that view.
 
Can anyone point me in the right direction here?
Hi,

I get error today login to sforce. Error message = "The underlying connection was closed: Could not establish trust relationship with remote server." This is only happen to ASP.NET, but if I copy and use the same code as VB.NET (desktop application), I can login successfully.
FYI: OS = Windows XP SP2, VS 2003, sforce API 9.
Please help....

sq

I am getting this error when I try to run the code below. Please help.

Error:

System.Web.Services.Protocols.SoapHeaderException was unhandled
  Message="A duplicate value was specified for field 'Id' in object 'Opportunity', duplicate value '00650000008ov0VAAQ' prior value '00650000008ov0VAAQ'"

_______________________________________________________________________________ 

Code:

 

sObject[] myOppties;

myOppties = sfdc.retrieve("Id, AccountId", "Opportunity", new String[] { "00650000008ov0VAAQ", "00650000008mpS4AAI", "00650000008m20QAAQ" });

for (int i = 0; i < myOppties.Length;i++)

{

if (myOppties[i].Any[0].InnerText == "00650000008m20QAAQ")

{

myOppties[i].Any[1].InnerText = "0015000000IRt4nAAD";

}

System.Console.WriteLine(myOppties[i].Any[0].InnerText + " " + myOppties[i].Any[1].InnerText);

}

SaveResult[] mySaveResult = sfdc.update(myOppties);

Ok, trying to integrate with the WSDL from a C# web app in VS2005. After fixing some simple mistakes in the example code such as "qr.recrods" etc, I'm still having issues. In the login method there is this line:

sfdc.GetUserInfoResult userInfo = lr.userInfo;

However, GetUserInfoResult is not a member of that object.
The closest I see in intellisense is getUserInfo but that does not work. Is there anotehr example that works? I apologize but I'm completely new to SalesForce and just trying to estimate a project to integrate some simple web forms on a client site to automatically push the data to their salesforce database. I've worked with WebServices before just not this API.

   Hello everyone,

I'm working on an integration for my company and have a question regarding logging in and persisting the Binding object. 

My main objective is to not have to login each time a call needs to be made to the Apex API.  I'd like to have an initial login to get the session information, and then have the session info and the binding information persist.  I'm creating a class library that will house the connectors and a generic wrapper, but have run into a problem with the binding object. 

I have a class that handles and session management with a public sub called Login():

Code:
Public Sub Login()
Try
' login to salesforce.com to establish a session
_SforceLR = _binding.login(UserName, Password)

'Reset the SOAP endpoint to the returned server URL
_binding.Url = _SforceLR.serverUrl
_binding.SessionHeaderValue = New sforce.SessionHeader
_binding.SessionHeaderValue.sessionId = _SforceLR.sessionId

Binding = _binding

' write a new values for the session mgmt to the config file
ConfigSettings.WriteSetting("SessionID", _SforceLR.sessionId)
ConfigSettings.WriteSetting("SessionURL", _SforceLR.serverUrl)
ConfigSettings.WriteSetting("SessionLoginTime", GetTimeStamp.timestamp.ToString)

Catch ex As Exception
MsgBox(ex.Message.ToString)
End Try
End Sub
What you see there is that the login is done and then a public property is set to hold the information.  I then have a data object class for the API calls that will use this Binding property in lieu of having to login each to to get and set the object.  so I'm thinking about something like:

Code:
 Dim ret() As sforce.sObject

' ret = _binding.retrieve(cField, cTable, New String() {cID})
ret = Binding.retrieve("LastName", "Contact", New String() {"0035000000MtAPH"})

If Not ret Is Nothing Then
' Return something
Else
' Return Nothing
End If
What I'm running into is an Internal 500 Server error from the API when trying to do the retrieve.  I think this is due to the public property not persisting across the classes and the property code being declared as:

 Code:
 Public Property Binding() As SforceServiceCompressed
            Get
                Return _binding
            End Get
            Set(ByVal value As SforceServiceCompressed)
                _binding = value
            End Set
        End Property
Any help at all would be great.  Since this is a .NET class library I don't have access to things like the Session and all of that, so I'm not sur how to pass the Binding object around.  For the session info I'm writing the strings out to an application config file to keep populated and updateable. 

I'm really stuck and am looking for a jump start.  It could just be that the property route is just bad, and I can live with that, but I'm not sure how to handle not having to login each time a call is made when there is a valid SFDC session already.

Thanks.
Bryan
 



 

We've integrated our DNN (DotNetNuke) portal with Salesforce quite successfully using DBAmp. I import all my DNN users into SF, and update key fields and custom objects in SF with this info through stored procedures.
 
I'd love to use the Self Service within my DNN portal also, since we've started logging some of our web queries as SF cases, but am unsure how the password sharing would work. I want my users to have one login and password (their existing DNN username and password), and the Self Service portal lets them log in with their email address and a new password it creates.
 
Any suggestions for how I can set up Self Service to use my portal's login credentials, or integrate it with an existing security context?
 
Thanks
Rozanne

Hi there,

We would like to run a local copy of the database to extend our report capabilities. Does Salesforce support any means of data replication?

We have MS SQL Server running locally. We would like to replicate the data to this server.

Thank you in advance.