Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

MS CRM 3.0 -Glabal address change in an Account to Contacts

When I change the address for an account the addresses do not change for the contacts.
Is there a way to make this happen?
0
ConSolIT
Asked:
ConSolIT
1 Solution
 
ck_damuCommented:
Hi,

Do the following tasks.
--------------------------

1) Create a manual work flow rule with the action as "Post URL".

2) Send Parent ContactID and the other fields which you want to update to the following page which is referenced in
"Post URL".

3)  
 Dim service As New CrmService
 service.Credentials = System.Net.CredentialCache.DefaultCredentials

''''web service to be referenced
 service.Url = "http://ServerName/mscrmservices/2006/CrmService.asmx"

'''Create the contact object.
 Dim contact As New contact

'''Set the properties of the contact object to be updated.
 contact.address1_line1 = "34 Market St."

'''Contactid is a key that references the ID of the contact to be updated.
 contact.contactid = New Key

'''Contactid.Value is the GUID of the record to be changed.
 contact.contactid.Value = New Guid("BAD74492-70DB-DA11-A432-00142277FF71")

'''Update the contact.
 service.Update(contact)

4) Apply the manual workflow rule when the account is updated or can create a automated workflow for this to happen
automatically.

Damu
0
 
ConSolITAuthor Commented:
Yes that is an advanced way to do it but a more simple way to do it is to use the advance serarch function and get the company and all contacts listed then highlight them all and click edit.
Change the address and what ever else you want changed that save the changes. Walla all is good.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now