Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5100 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi all,

Like the title says. I have a bunch of information in a CSV file that i want to have in my FMP database.

About CSV (Also in attachement)B)

First row says only information.

Second Row and so on begins Distribution list and users (separated in a own cell)

First collumn contains the name of the D.list and one of the usernames. Then each second column has his own user in it.

When I import, it only wants to import the first column. Is there a way without conversion or change original csv to import all the users.

Goal is, i want to keep and look easy information from the Active Directory about users. I already have scripts that updates, import changes or add non-existing records (users).

Who can help me :

distro_tmp2.csv.zip

Posted

When I unzip your your CSV file it is all messed up. Instead of carriage returns or line endings their are dozens of semi-colons and sometimes multiple return characters. Also some values have double quotes around them. It won't open correctly in Excel or Filemaker until you strip these out. Once that is done it imports fine.

  • Newbies
Posted

Well, the same thing said my fellow worker yesterday. He isn't a FileMakerPro expert, but that was his logical thinking.

Already trying with different commands. Now playing with ADFIND.

Does someone know a programm, commandline where you can create your own style of output. So i can make the output exactly how FMP it wants.

Posted

There is no need to "create your own style of output". Filemaker can import a variety of standard formats. One of them is CSV - but your earlier file does not conform to the standard.

  • Newbies
Posted

Can someone tell me than if there is a easier way to import data from Active Directory into FMP.

Adfind didn't do the trick i wanted.

Is it possible to use Powershell within FMP? Like FMP can call a command to CMD

Posted

Can someone tell me than if there is a easier way to import data from Active Directory into FMP.

Adfind didn't do the trick i wanted.

Is it possible to use Powershell within FMP? Like FMP can call a command to CMD

Yes you can, with the Send Event script step you can execute anything, including powershell scripts. You can even dynamically generate your powershell scripts and then use "export field contents" to create them on the hard disk and execute them.

The challenge is in having the powershell script talk back to FM. You can use interop and the FM activeX interface for that but it'll be shaky. You can also use fmDotNet in your powershell script and push the data directly to filemaker server...

This topic is 5100 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.