Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 920659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:45:10+00:00 2026-05-15T18:45:10+00:00

Here is my code sample… using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using

  • 0

Here is my code sample…

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ProjectName.CrmSdk;

//The CrmSdk ref is to the webservice url.

            //ServerName and OrgName are setup in code but not included.
            //standard CRM service setup
            CrmSdk.CrmAuthenticationToken token = new CrmSdk.CrmAuthenticationToken();
            token.AuthenticationType = 0; //AD on premise
            token.OrganizationName = orgName.ToString();
            CrmService service = new CrmService();
            service.Url = "http://" + serverName.ToString() + "/mscrmservices/2007/crmservice.asmx";
            service.CrmAuthenticationTokenValue = token;
            service.Credentials = System.Net.CredentialCache.DefaultCredentials;


            contact c = new contact();

            c.firstname = "joe";
            c.lastname = "Smack";
            //  I can not find or access this custom field when I go to create a contact.
            c.new_customField = "Red Car";

Now the problem is simple, I can not access any of the custom fields I have added to the contact object. I am trying to create a contact from C# and I have all of the base fields created just not the custom ones.

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:45:11+00:00Added an answer on May 15, 2026 at 6:45 pm

    You’re using the auto-generated service reference. Update the service reference in Visual Studio whenever you’ve made (and published) changes to your entities in CRM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 508k
  • Answers 508k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You are testing if a positive value is below 0.… May 16, 2026 at 4:17 pm
  • Editorial Team
    Editorial Team added an answer You declare a pointer to BOOL (BOOL *moveState) instead of… May 16, 2026 at 4:17 pm
  • Editorial Team
    Editorial Team added an answer You need to do something like this: DECLARE @NewID INT… May 16, 2026 at 4:17 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

here is the code sample: HTML: <form id=information name=information action=# method=post> <textarea name=text rows=10
Here is the code sample <div class=Layouts> <asp:ContentPlaceHolder ID=Center runat=server /> <asp:ContentPlaceHolder ID=PlaceHolderMain runat=server
Here is a code sample: myMaster.Master <asp:LinkButton runat=server OnClick=anAction_Click> calls: myMaster.Master.cs protected void anAction_Click(object
here is a code sample void something() { char c[100]; scanf(%s,c); char c2[100]=c; }
Can someone explain the following code sample what does album[photo_attributes][] mean I found this
Why doesn't ICloneable 's Clone method return a deep copy? Here is some sample
I have a sample I'm building, that's using the Northwind database. I have a
The following is an extract from my code: public class AllIntegerIDs { public AllIntegerIDs()
I have problem with TinyMCE editor. I have form with few text fields and
Question: Can anyone please provide a full code example that shows how one does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.