My name is Ben Hardin and I am totally new to the ARIS  and using the ARIS APIs.  I am creating an excel document and I need to make the headers bold.  I am proving a snippet of code.  But near the  g_attrListToPrint var.  I have it set up in the form of an array. When I print out the excel sheet I will need all the headers bold.  Can some give me some insight on how to do that  I have tried some of the APIs and I have not had any success fulfilling what I am trying to do.  I have tried to use some javascript APIs outside of ARIS and as you all know they do not work.  Initially I tried to do this below by adding the FMT_BOLD at the end of the constant names.  But after executing the program I found out for that to be wrong. What do I need to do in order to change the Constant names that I am using that they can become bold? Again,  I am new to ARIS 9.8.  I have never used this before now.  So if what you see does not make sense please help me so it can make sense to me.

==================== MY INITIAL APPROACH =====================

Constants.AT_NAME. FMT_BOLD,                    (This is wrong)                                                             
Constants.AT_DESC. FMT_BOLD,                    (This is wrong) 
Constants.AT_REM. FMT_BOLD,                      (This is wrong) 
Constants.AT_LAST_CHNG_2. FMT_BOLD,    (This is wrong) 

=============================================================

var xlsBook;
var xlsFontHeader;
var xlsHeader;
var xlsFontStandard;
var xlsStandard;

var g_objTypeToFind = Constants.OT_APPL_SYS_TYPE; 
var g_cxnTypeToFind = Constants.CT_BELONGS_TO_CLS;
var g_cxnDirectionToFind = Constants.EDGES_IN;

var g_attrListToPrint =  [  Constants.AT_NAME,      // How can I make these constants bold                                              
                                        Constants.AT_DESC,       // How can I make these constants bold   
                                        Constants.AT_REM,        // How can I make these constants bold   
                                        Constants.AT_LAST_CHNG_2,  // How can I make these constants bold        

]

=============================================================

 

Attachments:Office spreadsheet icon Report.xls