Profile picture for user RBeddoe

I’m working on building a simple version control utility that will help me manage scripts across several servers. I am parsing the files associated with the scripts and presenting that information in a tree view. I’ll then be adding some metadata to assign checksum and versions to make sure we stay in sync from Development to Stage to Production. I’d like to include all the properties of the scripts in the view but it’s challenging to match up these values with their English label (i.e., clsid=‘10003 --> Model context and ’types=”255’ --> Application collaboration diagram (physical))

Is there a table or XML file that contains clsid and types for the context tag below? Are there any explanations of the scriptinfo tag attributes? Below is a sample .loc file.

Note the clsid and type declarations. I'm looking for a table of some sort where I can match these values with an english language label.

<?xml version="1.0" encoding="UTF-8"?>

<scriptinfodata version="7.1.0">

    <scriptinfo idcomp="1" runkind="0" runtypes="" contexttype="1" eventids="" extratypes="" outfiletypes="0,9,3,2,4,5,8," scriptlang="2" filter="" template="" dialogsallowed="1" dbwriteallowed="1">

        <contexts>

            <context clsid="145" types="" usertypes="" />

            <context clsid="10001" types="" usertypes="" />

            <context clsid="10003" types="" usertypes="" />

            <context clsid="10005" types="255," usertypes="" />

            <context clsid="10009" types="287," usertypes="" />

        </contexts>

        <pageformat name="A4" width="210" height="297" orientation="1" top="30" left="20" right="20" bottom="30" dheader="10" dfooter="10" />

        <protection cdkey="" kind="0" passwd="" />

        <imports>

            <import name="[common]Cargill.Excel.Report.js" />

            <import name="[common]Cargill.GUIDS.js" />

            <import name="[common]Cargill.Quality.Reports.js" />

        </imports>

    </scriptinfo>

</scriptinfodata>

 

Thanks,

by Torsten Haase
Posted on Thu, 03/29/2012 - 11:41

Hi Rick,

the CLSID constants can be accessed in the script language as constants Constants.CID_xyz, for example Constants.CID_MODEL. You can determine a readable name using the script-API's function ArisMetaModel.ItemKindName().

For models and objects you can determine a readable type name by calling ArisMetaModel.ItemTypeName(itemKindNum, itemTypeNum).

The ArisMetaModel object can be obtained in a report by calling ArisData.ActiveFilter().

BR,

Torsten

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock