The Visio TreeView template provides a file system scan and automaticaly drawing a tree of folders and files in a Visio document. Today this popular template has received additional functionality, now it provides data import from a text file.

 

The principle of operation of the D2_2014e.vst template

The macro included in the Visio document retrieves data on the structure of folders and files from the operating system directly during the function of expanding the next node.

The principle of operation of the D_2019_e.vst template

In the new template, a Visio document uses a text file as a data source. At the beginning of the work, the data is selected from the file and stored in the document. Subsequent actions use a copy of the data.

A text file is an intermediate interface for communication with any data warehouse with a hierarchical structure. For Visio it does not matter how this file is received. Let it even be manually filled. Only the correct file structure is important.

I think, after a while, a number of different applications will be created that allow you to save the file structure of different remote or cloud storages as a text file. In the near future, such scanners for Google Drive and for FTP will be ready.

File example

ID,Name,ParentID,isFolder
1,EST_DB_RQ.xlsx,0,1
2,first,0,0
3,a.jpg,2,1
4,test_write.txt,2,1
5,test_write.txt,2,1

The resulting picture for this file

The structure of the file

The file should contain the following fields:

ID - numeric identifier

Name - file or folder name

ParentID - parent folder identifier. For the root folder or files lying in the root should be 0

isFolder - for folders should be 0.

Other template changes

In addition to adding a data source, the new template has made several small improvements.

Added the Collapse context menu to hide all subfolders and files. There was no such menu in the previous template, so subfolders and files had to be deleted manually.

The algorithm for placing data has been improved - automatic search for the nearest free space for placing the next tree branch has been added.

Additional links:

Description of the previous version - it still works.

Purchase at Gumroad.

 

Comments   

0 #7 225 lbs to kg 2020-04-23 01:22
Nice post. I was checking constantly this blog and I'm impressed!
Extremely helpful information specifically the last part :)
I care for such information a lot. I was looking for this certain info for a
long time. Thank you and best of luck.
Quote
0 #6 Laaaava.io 2020-04-20 19:12
It's an amazing post in support of all the web people; they
will obtain advantage from it I am sure.
Quote
0 #5 Ovar.io 2020-04-20 12:56
Hello to all, how is the whole thing, I think every one is
getting more from this web page, and your views are good
in favor of new visitors.
Quote
0 #4 Out Of Chances 2020-04-20 12:18
You made some good points there. I looked on the web to find out more about the issue and found most
people will go along with your views on this website.
Quote
0 #3 Administrator 2020-04-20 10:34
I do not mind. But a link to the original is required.
And tell me the copy address.
Quote
0 #2 Cutout Background 2020-04-20 08:06
Do you mind if I quote a few of your articles as
long as I provide credit and sources back to your website?

My blog is in the very same area of interest as yours and my users would genuinely benefit
from some of the information you present here. Please let me know if this okay with you.

Thanks a lot!
Quote
0 #1 custom hero chaos 2020-04-20 02:45
Hello there, just became alert to your blog through Google,
and found that it is truly informative. I'm going to watch out for brussels.

I will appreciate if you continue this in future. Many people will be benefited from your writing.
Cheers!
Quote

Add comment


Security code
Refresh