You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Connecting to SalesCloud with an AddIn Button - Web Service

Received Response
3
Views
3
Comments
edited Feb 9, 2016 8:55PM in Integrations and APIs 3 comments

Content

Hi everyone,

 

i want to create a contact with an addin button in an Oracle Sales Cloud but i've got an error JBO-27008: Attribute FormmatedWorkPhoneNumber in view object Contact cannot be set.

 

I leave my code below. I will appreciate any help. 

 

Thanks in advance.

Version

Visual Studio AddIn Button

Code Snippet

             System.ServiceModel.BasicHttpBinding bind = new System.ServiceModel.BasicHttpBinding(System.ServiceModel.BasicHttpSecurityMode.TransportWithMessageCredential);
            bind.Security.Message.ClientCredentialType = System.ServiceModel.BasicHttpMessageCredentialType.UserName;
            System.ServiceModel.EndpointAddress endP = new System.ServiceModel.EndpointAddress("https://hostname:port/crmCommonSalesParties/ContactService?WSDL");
            ContactServiceClient client = new ContactServiceClient(bind, endP);
            client.ClientCredentials.UserName.UserName = "user";
            client.ClientCredentials.UserName.Password = "pass";
       

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!