title: sharepoint : Add existing site column to existing content type Programatically
body: <p>var objWeb = properties.Feature.Parent as SPWeb;</p>
  
  <pre><code>SPContentType contentType = objWeb.ContentTypes["Wiki Page"];
  if (!contentType.Fields.ContainsField("Keywords"))
  {
      SPField field = objWeb.Fields["Keywords"];
      SPFieldLink fieldLink = new SPFieldLink(field);
      contentType.FieldLinks.Add(fieldLink);
      contentType.Update(true);
  }
  </code></pre>
  
  <p>I use This code in feature activation to add site column "KeyWord" to site content type "Wiki Page"  my problem is "keyword" add in "wiki page" but not from the existing site column it's add new site column. is there  problem in my code?</p>
  
  <p>one other thing this code works fine on my MOSS server when i deploy on office365 this problem i found </p>