Console icon indicating copy to clipboard operation
Console copied to clipboard

Add support for working with Contacts in the xDB

Open jasonchester opened this issue 10 years ago • 3 comments

Supporting read,write,update of contacts in the xDB would allow users to script updates to xDB contacts using powershell.

At a minimum i would suggest the following commands

  • Get-Contact
  • New-Contact
  • Remove-Contact
  • Save-Contact

Optionally the following commands might be useful as well

  • Merge-Contact
  • Lock-Contact

jasonchester avatar Jul 01 '15 20:07 jasonchester

Interesting idea... I'll see into it as soon as I'm back from holiday

AdamNaj avatar Jul 04 '15 09:07 AdamNaj

We briefly discussed and this could be a good add-on module built as a separate package. We're finding that the core module is getting pretty big.

michaellwest avatar Aug 09 '15 18:08 michaellwest

Found some interesting article related to Powershell & xDB

  • http://jockstothecore.com/xdb-reports-with-powershell/

A port of this code would be a great start on this module.

  • https://briancaos.wordpress.com/2015/10/09/sitecore-contacts-create-and-save-contacts-directly-to-and-from-xdb-mongodb/

jasonchester avatar Oct 19 '15 20:10 jasonchester