Hallo,
welche Möglichkeiten habe ich Kontakteinträge im RDM mit anderen Datenquellen zu synchronisieren?
Aktuell würde ich gerne auf die im RDM gespeicherten Kontakte mit dem ESTOS Metadirectory zugreifen können,
um die Kontaktinformationen für unsere CTI-Lösung zugreifbar zu machen.
Alternativ wäre auch ein Synch zu Exchange oder Outlook hilfreich.
Gibt es dafür vielleicht AddOns zum Produkt?
Vielen Dank für Eure Unterstützung.
Gruß
Reiner Wolff
Hello Reiner,
Our apologies for replying in English.
Could you please confirm what type of data source you use in RDM? You will most likely need to use the Devolutions.PowerShell module to connect to your entries, and you can retrieve the information for your other systems. You can refer to https://docs.devolutions.net/kb/devolutions-powershell/remote-desktop-manager/rdm-powershell-core-module/ for more details.
Best regards,
Richard Boisvert
Hello Richard,
so, I do my best in English, no problem (I hope).
We use a Microsoft SQL Server as our data source.
If the connection to our entries should be established via PowerShell module:
Where can I find the therefore needed PowerShell commands and the possibility to filter?
Best regards,
Reiner
Hello Reiner,
There is no synchronization available for Exchange or MetaDirectory, unfortunately,
Here is a sample to export entries to a CSV file - https://github.com/Devolutions/RDMSamples-ps/blob/main/module/export/ExportCustomToCSV.ps1
We support CSV, HTML, and XML for the export:
Best regards,
Richard Boisvert
3fc31081-3042-4bcb-83d4-24b5d7abeb4c.png
Hello Richard,
this will give me a very big file which not contains the Asset contact informations.
How can I filter the resulsts by type and how do I get the contact information of this session-objekt?
Kind regards,
Reiner
Hello Reiner,
On the line 17, you can modify it only to include contacts:
$sessions = Get-RDMSession -Type Contact
You can then extract the information you need, for example:
$sessions | Select-Object Name, {$_.MetaInformation.Email}, {$_.MetaInformation.FirstName}, {$_.MetaInformation.LastName}
Best regards,
Richard Boisvert
Hello Richard,
for me it worked only with
$sessions = Get-RDMSession | Where-Objekt {$_.ConnectionType -eq 'Contact'}
but it worked.
Where can I find the MetaInformation-FieldNames that exist?
There must be a documentation somewhere, can you help me out?
In my RDM Version it is called 'Tel. Büro', 'Tel.Privat' etc. and I don't want to guess the english field names,
I want to know them.
Thank's in advance for you help.
kind regards,
Reiner
Hello Reiner,
You can right-click on an entry - Clipboard - Copy - Preview to view the structure of the entry. Please note it will only display the fields in that entry.
For more information, you can refer to https://docs.devolutions.net/rdm/windows/powershell-scripting/tips-tricks/#reverse-engineering-an-entrys-structure
Best regards,
Richard Boisvert
Hello Richard,
thank you.
I will have a look if I can get this to work this way.
I guess I can return to this case in november
kind regards,
Reiner
Hello Richard,
it works like a charm.
# Verbindung zur Datenquelle herstellen
$ds = Get-RDMDataSource -Name "SQLServer Datasource Name"
# Alle Kontakte aus dem RDM auslesen
$sessions =get-rdmsession | Where-Object {$_.ConnectionType -eq 'Contact'}
# Kontakte exportieren mit allen Metainformationen
$sessions | Select -Property ID, Name -ExpandProperty MetaInformation | Export-Csv C:\tmp\RDMKontakte.csv -NoTypeInformation -Encoding Default
The ESTOS MetaDirectory can do an import of these contacts.
Now I "only" have to figure out, how I get these contacts into Exchange/Outlook and ActiveSync.
Thank's for your support.
kind regards,
Reiner
Hello Reiner,
My pleasure; it's great to see you can export the desired information!
Best regards,
Richard Boisvert