Hi,

I have a file that contains 303 fields and their specifications.
In that file, SystemName, LongName, DataType, MaximumLength and Interpretation for each field are defined. Almost half of them need a taxonomy.

The requirement is to create all of the fields and add them to that content type.

Comments

Sam Moore’s picture

Are you feeling adventurous?
If you're clever about SQL, you could read the list in to the database from a file, creating a file field table for each row.

Examine the field definitions that are already in the database carefully, as examples.
If you create a new field called "My Test Field", for example, look in the database for a table called node__my_test_field and examine its structure.
You'll find things like the Bundle ID (which tells you what content type it's associated with) and so forth. You'll want to understand each column in the table so you can address them in your import.

Note that I haven't actually tried this - and back up your database first :-)
It's kind of edgy.

mahdisaheb’s picture

Hi,

Your suggestion makes sense. I'm mainly a business analyst and project coordinator and involved in several projects. I'd prefer to find someone who can take care of this as a small paid task.

Thank you.

Sam Moore’s picture

Ah, sorry, I thought it was a how-to question.
I'm afraid I'm over-committed at the moment. Best of luck.