ADVIZOR Help
v7.2+
v7.2+
  • Introduction
  • Overview
    • ADVIZOR Help
    • ADVIZOR Overview
      • Analyst
      • Analyst/X
      • Data Blender
      • Desktop Navigator
      • Server AE
      • Managed Hosting
  • Using ADVIZOR
    • File Ribbon
      • Open an Existing ADVIZOR Project
      • Restore a Backup Project Version
      • Save a Project
      • Template Library
      • Update Expired Credentials
    • Analyze Ribbon
      • Select and Exclude Data
      • Flight Recorder
      • Set Coloring
        • Use Color Scale
        • Use Color By
        • Color Legend
      • Navigation Pane
    • Author Ribbon
      • Charts, Pages, and Dashboards
        • Composing Pages with Charts
        • Page Gallery
      • Load Data
        • Load New Data Using the Data Wizard
        • Load Text Data
        • Load Microsoft Excel Data
        • Load Microsoft Access Data
        • Load SQL Server Data
        • Load Oracle Data
        • Load a Database via ODBC
        • Manage Data Sources
        • Replace an Existing Data Source
      • Design Pages
        • Create Navigation Pane Content
        • Rearrange Charts
        • Change Chart Fonts
      • Use Color Models
        • Manage Color Models
        • Assign Color Models to Pages
        • Color Workshop
        • Identify How Color Is Applied to Data
        • Uncolorable Tables
      • Configure Charts
        • Property Explorer
        • Link Unmatched Rows
        • Show Missing Values
        • Use Polygon Map Format
        • Use FocusFormat Property
      • Condition Data
        • Project Workshop
        • Use the Expression Builder
        • Use the Link Wizard
        • Delete a Link
        • Date Formatter
        • Configure Data Hierarchies
      • Explore Data Usage
      • Identify Issues with Legacy Projects
      • Data Pool Visualization
    • Model Ribbon
      • Predictive Analytics: Analyst/X
      • Analytics Process
        • Bin a Categorical Field
        • Date Fields
        • Zip Codes
      • Predictive Modeling Pane
      • Configuring a Model
      • Managing Models
    • Share Ribbon
      • Share Results
      • Export Tables
      • Deployment and ADVIZOR Server
        • ADVIZOR Server Dashboards
        • Publishing to ADVIZOR Server
        • Server Security
        • Credential Based Filters
        • Embedding Data in a Project
  • Charts and Visual Discovery
    • Charts Overview
      • Bar Chart
        • Inserting a Bar Chart
        • Bar Chart Toolbar
      • Counts
        • Inserting a Counts
        • Counts Toolbar
      • Data Constellation
        • Inserting a Data Constellation
        • Data Constellation Toolbar
      • Data Sheet
        • Inserting a Data Sheet
        • Data Sheet Toolbar
      • Heat Map
        • Inserting a Heat Map
        • Heat Map Toolbar
      • Histogram
        • Inserting a Histogram
        • Histogram Toolbar
      • Line Chart
        • Inserting a Line Chart
        • Line Chart Toolbar
      • Map
        • Inserting a Map
        • Map Toolbar
      • Multiscape
        • Inserting a Multiscape
        • Multiscape Toolbar
      • Parabox
        • Inserting a Parabox
        • Parabox Toolbar
      • Pie Chart
        • Inserting a Pie Chart
        • Pie Chart Toolbar
      • Scatterplot
        • Inserting a Scatter Plot
        • Scatter Plot Toolbar
      • Summary Sheet
        • Inserting a Summary Sheet
        • Summary Sheet Toolbar
      • Text Box
        • Inserting a Text Box
        • Text Box Toolbar
      • Text Filter
        • Inserting a Text Filter
        • Text Filter Toolbar
      • Time Table
        • Inserting a Time Table
        • Time Table Toolbar
    • Recommended Chart Use
    • Visual Discovery
      • Using Colors
      • Selection
      • Managing Viewpoint
      • Missing Values
    • User Interfaces
      • Context Menu
      • Keyboard
  • Release Notes
    • What's New
      • Release 7.2
      • Release 7.1
      • Release 7.0
      • Release 6.8
      • Release 6.7
      • Release 6.6
      • Release 6.4
      • Release 6.3
      • Release 6.2
      • Release 6.2.2
      • Release 6.0
      • Release 5.9
      • Release 5.8.2
      • Release 5.7
      • Release 5.6.2
      • Release 5.6.1
      • Release 5.51
      • Release 5.5
      • Release 5.4.1
      • Release 5.4
      • Release 5.3
      • Release 5.22d
      • Release 5.2 SalesAdvizor
      • Release 5.1
      • Release 5.0.3
      • Release 5.0
    • If You Need Additional Help
    • Copyright
Powered by GitBook
On this page
  • Adv2Advm Utility
  • Command Options
  • Installation Instructions
  1. Using ADVIZOR
  2. Share Ribbon
  3. Deployment and ADVIZOR Server

Embedding Data in a Project

It may be desirable to create a project with embedded data from a project without embedded data:

  • You can eliminate the overhead of expensive database queries during production hours by pre-extracting the data.

  • You can control when queries are performed.

  • The embedded data is encrypted and compressed, so it is secure and takes less space than an extract.

Adv2Advm Utility

The Adv2Advm utility performs this task. It is available in the installation directory for ADVIZOR Analyst. This utility converts a ".adv" project file to a ".advm" profile file. It runs the ".adv" project file to extract the data from its Data Source, than saves the result to a ".advm" file.

You can use the Windows scheduler to run this utility at regular, specified intervals.

The process to use this utility is:

  1. Publish a project to ADVIZOR Server with the "embedded data" option checked. This places a ".advm" version of the project in ADVIZOR Server.

  2. Copy your ".adv" project to a spot on the ADVIZOR Server; it does not have to be in the ADVIZOR Server installation directory.

  3. Use Windows Scheduler to schedule the Adv2Advm utility to convert this ".adv" project file to a ".advm" project at regular intervals.

Command Options

The command line parameters are:

  • -i: the input file

  • -o: the output file

  • -l: a list of files to convert

  • -p: keep the command running after completing conversions. Adv2Advm normally terminates immediately, but this makes it impossible to read any message on the screen; use this to have the process window remain so that message can be read.

Command switches that specify files should be followed by a ':' and then the file name, and file names with embedded spaces should be quoted. Command switches may appear in any order on the command line. For example:

  • adv2advm -i:"C:\Advizor Projects\MyProject.adv" -o:"C:\Advizor Projects\My Project.advm"

This example will convert the "My Project" project file into one with embedded data in the C:\Advizor Projects directory.

If multiple files are to be converted, a list file may be used to specify multiple projects. for example:

  • adv2advm -l:"C:\Advizor Projects\Project List.xml"

will convert the list of projects in the Project List.xml file.

The format of the project list file is a simple xml structure containing the list of input and output file names. An example of the contents of a list file is:

Note that the projectList and project elements may be called anything, but each 'project' element must contain an 'i' and 'o' element containing the input and output file names for that project.

The processing of the Adv2Advm utility is logged through the standard logging mechanism used in the other desktop applications, as well as to the displayed user interface.

Upon completion, Adv2Advm provides a return (or exit code) that can be used to determine whether any errors were encountered during processing:

  • 0: Success

  • 1: One or more errors ocurred

The return code can be accessed when Adv2Advm is run via a script. When using a standard batch file within a Command window, use ERRORLEVEL to access the return code. When using a script within a PowerShell window, use $LASTEXITCODE.

Installation Instructions

Please see the ADVIZOR Implementation Guide for instructions on installing adv2advm.

PreviousCredential Based FiltersNextCharts Overview

Last updated 5 years ago