I have a number of text files on disk which I want to import into InfoQube.
I would like them to have the plain text content of the file imported into the document pane and the item title set to the file name (preferably without the file extension).
I have tried drag and drop but this creates a link to the file on disk which is not what I want.
The text import seems to think they should be .CSV files. They are not, they are just plain text.
There are a lot of files so copying and pasting the contents of each file is not an option.
What is the simplest way to do this?
Comments
Pierre,
Make sure you add an option for how to handle Carriage-Return / Line-Feeds (line breaks) within the Text files; i.e. replace with <br> or <p>. The process described above works for the default Formatting style, but changing to Normal style causes all of the lines to run together.
Be careful with this!! You are telling IQ to link directly to your Text Files so that any change you make in the Document Pane also changes the original Text Files.
This includes simply scrolling thru the grid to view each Document. When you return to a file that has already been viewed once, you will find that an HTML wrapper has been added to BOTH the displayed Document AND your original Text File!
Pierre's suggestion does work but you must perform those actions the first time you view each new Item.
Be careful with this!! You are telling IQ to link directly to your Text Files so that any change you make in the Document Pane also changes the original Text Files.
This includes simply scrolling thru the grid to view each Document. When you return to a file that has already been viewed once, you will find that an HTML wrapper has been added to BOTH the displayed Document AND your original Text File!
Pierre's suggestion does work but you must perform those actions the first time you view each new Item.