Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 2504

Adding multiple custom attributes to selected entities using excel

$
0
0

The below is the macro to add attributed to selected entities. This was tested with Logical Model.

1. Create the excel file as per below format and define the attributes you want from row no 2 and save:  

2. Provide the correct excel filename and path in your macro (to_add_columns_for_selected_tables_using_excel-final)    

eg: Const FILE_NAME As String = "C:\DEVELOPMENT\DataAttrUpload.xlsx"

3.Save macro in your ERStudio installed path "....Embarcadero\ERStudioDA_9.6\Macros"  etc

4. Look for macro in macro section of erstudio.

5. Select the entities in your model 

6. Run the macro and you can see the attributes added to your entity  

 

customize the excel and macro as per your need. good luck. 

-Tara

 

to_add_columns_for_selected_tables_using_excel-final

 

Excelsheet format


Viewing all articles
Browse latest Browse all 2504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>