Create text file containing field modifications

3 posts / 0 new
Last post
tryvltkcb
Offline
Joined: 10/25/2018 - 02:49
Create text file containing field modifications

Hi,
Is it possible to create an IDEA script generating text file in which list down all field modifications and new field creations?
For example, the field "Date" when imported will be renamed to "SaleDate" and this field will be used to create a new field called "FinalDate" later
 

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi tryvltkcb,

Just to make sure I am understanding this properly.  You want to create a text file that will list all the field modification and new field creations in an IDEA file?  It would probably be doable but probably not easily as IDEAScript doesn't have access to the history except to create history items.  To get the information you want you would have to pull it out of the project overview which might not be the easiest thing.

Brian

tryvltkcb
Offline
Joined: 10/25/2018 - 02:49

Hi Brian,
This is exactly what I would like to do. I have found your similar script creating text log when appending several databases but I am not sure whether this technique could apply for field modifications & creations (maybe we must go around instead of going straing forward)
TT