Import list when creating Pick Field
I am using Integrity 9 and was curious if you can import a list when creating a pick list field? I have about 240 entries to enter into the pick list.
I am using Integrity 9 and was curious if you can import a list when creating a pick list field? I have about 240 entries to enter into the pick list.
Anthony,
There is not a built in way to import a list through the GUI when setting up a picklist. There is however the equivelent CLI command that can be very easy to format in an external text editor with your existing list into a command that will set up your pick list how you want.
The basic syntax is:
im createfield --name=<fieldname>--type=pick --picks=<text:value:image>,<text:value:image>...
A working example is:
im createfield --name=picklist1 --type=pick --picks=one:1:none,two:2:none,three:3:none
There are of course, many more options you can set for a pick list field, this is just the basics. The full list of options and syntax is on page 54 of the Admin CLI Reference guide - http://www.ptc.com/WCMS/files/143545/en/AdminCLIReference_2009SP7.pdf
Also, remember when adding values on the CLI, any entries with spaces need to be put in quotes.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.