Vision Portfolio Management FAQ: Alternative Industries
Goal
-
To create an alternative industry scheme that can be accessed via
the primary industry scheme
by using Excel or the
VAdmin interface.
Description
-
An alternative table of industry codes and names is available. Each of
the primary Industry instances can be associated with one of these
alternative industries. An alternative industry is accessed indirectly
from Company, via its industry.
DataFeed Assumptions
DataFeed | Fields |
---|---|
IndustryMaster | id, name, altIndustryId, ... |
AltIndustryMaster | id, name |
Using Excel to load alternative industries
- Create the Classification subclass, AltIndustry
- Select Create Entity from VUpload menu
- Enter AltIndustry as new Entity
- Select Classification as starting entity class
The AltIndustry class and the AltIndustryMaster feed will be created.
- Load AltIndustry Instances
- Set up the spreadsheet to look like the following. Note that the feed name
is in the top left of the range.
AltIndustryMaster id name Alt110 Alt Beverages Alt210 Alt Automobiles Alt310 Alt Broadcasting Alt410 Alt Food Chains
- Select the entire range, including the feed name.
- Select Upload Data from the VUpload menu.
The AltIndustry instances have been created.
- Set up the spreadsheet to look like the following. Note that the feed name
is in the top left of the range.
- Define link from Industry to AltIndustry
- Set up the spreadsheet to look like the following example.
Note that the feed name is in the top left of the range.
PropertySetup classId property tsflag defaultValue Industry altIndustry N AltIndustry
- Select the range, including the feed name.
- Select Upload Data from the VUpload menu.
The altIndustry property has been created.
- Set up the spreadsheet to look like the following example.
Note that the feed name is in the top left of the range.
- Connect Industry with AltIndustry
- Set up the spreadsheet to look like the following example:
IndustryMaster id name altIndustry 110 Beverages Alt110 210 Automobiles Alt210 310 Broadcasting Alt310 410 Food Chains Alt410
- Select the range.
- Select Upload Data from the VUpload menu.
The altIndustry property of Industry has been created.
- Set up the spreadsheet to look like the following example:
- Access the Data
- Assuming that you have already updated industries for your companies,
set up the spreadsheet to look like the following example:
industry name industry altIndustry name ibm gm msft f
- Select the range.
- Select Set Defaults from the Vision menu.
- Enter Company as the EntityType.
- Select Get Entity By Item Data from the Vision menu.
The output will look similar to the following example:
industry name industry altIndustry name ibm Software Alt Software gm Automobiles Alt Automobiles
Your Extraction is complete.
- Assuming that you have already updated industries for your companies,
set up the spreadsheet to look like the following example:
Using VAdmin to load alternative industries
- Create the Classification subclass, AltIndustry
- Select Add New Entity from Schema menu
- Enter AltIndustry as new Entity
- Select Classification as starting entity class
The AltIndustry class and the AltIndustryMaster feed will be created.
- Load AltIndustry Instances
- Set up a tab delimited text file to look like the following example.
AltIndustryMaster id name Alt110 Alt Beverages Alt210 Alt Automobiles Alt310 Alt Broadcasting Alt410 Alt Food Chains
Save the file and put it in the localvision/upload/feeds directory. - Select the file name from the Pending DataFeeds list box.
- Select the category Entity and the feed name AltIndustryFeed.
- Select the update button.
The AltIndustry instances have been created.
- Set up a tab delimited text file to look like the following example.
- Define link from Industry to AltIndustry
- Set up a tab delimited file to look like the following example.
PropertySetup classId property tsflag defaultValue Industry altIndustry N AltIndustry
Save the file and put it in the localvision/upload/feeds directory. - Select the file name from the Pending DataFeeds list box.
- Select the category PropertySetup and the feed name PropertySetup.
- Select the Update button.
The altIndustry property has been created.
- Set up a tab delimited file to look like the following example.
- Connect Industry with AltIndustry
- Set up a tab delimited file to look like the following example:
IndustryMaster id name altIndustry 110 Beverages Alt110 210 Automobiles Alt210 310 Broadcasting Alt310 410 Food Chains Alt410
Save the file and put it in the localvision/upload/feeds directory.
- Select the file name from the Pending DataFeeds list box.
- Select the category Entity and the feed name IndustryMaster.
- Select the Update button.
The altIndustry property of Industry has been created.
- Set up a tab delimited file to look like the following example:
- Access the Data in Excel
- Open Excel
- Assuming that you have already updated industries for your companies,
set up the spreadsheet to look like the following example:
industry name industry altIndustry name ibm gm msft f
- Select the range.
- Select Set Defaults from the Vision menu.
- Enter Company as the EntityType.
- Select Get Entity By Item Data from the Vision menu.
The output will look similar to the following example:
industry name industry altIndustry name ibm Software Alt Software gm Automobiles Alt Automobiles
Your Extraction is complete.