Salesforce

Analyzing a Project Using XMLGet (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Analyzing a Project Using XMLGet (Magic xpa 4.x)

Objective

I want to directly analyze the project's XML files to create a report of which models, data sources and programs are being used in my application.

How can I do this?

Solution

All of the project's sources are saved in XML files. Therefore, you can write a program that uses XML functions or XML views (using the schema files provided in the installation, %EngineDir%Add_on\Schemas).

If you prefer using the XML functions, you will need to scan the models, data sources and programs using the XML functions and populate memory tables with all of the information.

The program is recursive XML. Therefore, you will need to call the same program on a different section of the XML each time.

The String Extractor utility (located at %EngineDir%Add_on\StringExtractor) is a good sample of a project that scans the application source files.

Reference
Attachment 
Attachment