16.8 Excel Add-in

Excel Add-in

Excel Add-in Overview

This page describes is the Clarizen Excel Add-in overview and includes the following sections :

 

 

About The Clarizen Excel Add-in

 

The Clarizen Excel Add-in is an advanced reporting tool ​ designed to enable your organization the ability to extract raw
Clarizen data in order to generate complex reports based on an enhanced Clarizen query A dd-in and the MS Excel reporting
capabilities. All query and report definitions are extracted and stored within the Excel spreadsheet, which can then be sent to
end-users. Other users can run the same report on relevant data.

 

 

Technical Requirements

The Excel Add-in supports MS Excel 2007 and above.

 

Microsoft .NET 3.5 Sp1.

For Windows XP Microsoft .NET 3.5 Sp1 may be installed by the SETUP.EXE installer (administrative permission may be required).
For Windows 7 Microsoft .NET 3.5 Sp1 is already installed.
For Windows 8 Microsoft .NET 3.5 Sp1 may need to be enabled via the Control Panel (administrative permission may be required).

 

Installing the Excel Add-in

  1. Click here for the Excel Add-in web page in Clarizen App Marketplace.
  2. Approve downloading and running of ‘setup.exe’.
     
    ​Note: Your browser may prompt to approve running the setup.exe file or may not support running the file directly.
  3. Run the Setup.
  4. Close Excel and uninstall any previously installed versions.
  5. Run Setup directly from the download link (or save it to your disk and run it from there).
  6. When prompted, click Install .

The Excel Add-in is installed.

 
Note: Future versions of Clarizen Excel Add-in will upgrade on your computer automatically upon launching MS Excel.

 

Uninstalling the Excel Add-in

  1. Click Start -> Control Panel -> Uninstall a program OR Programs and Features
  2. Select 'Clarizen Excel Add-in V3’
  3. Click Uninstall.

    The Excel Add-in is uninstalled.

 

 

Using Clarizen Excel Add-in

Logging In

 

This section describes logging in to the Clarizen Excel Add-in using your Clarizen credentials.

 

Note: Logging in to the Clarizen Excel Add-in using Federated Authentication (Single-Sign-On-SSO) is supported where
relevant (and enabled ).

 

  1. Open MS Excel and click the Clarizen ribbon.

 

Figure 1: Clarizen Ribbon


The Clarizen ribbon is active.

  1. Click Login .


Figure 2: Click Login

 

The Login with Clarizen credentials dialog opens.

 

Figure 3: Login Dialog

 

  1. Enter your username and password.
  2. Ensure remains unchecked (unless logging in via SSO ).
  3. Define the Global Login Settings options:
  • Enable Multiple Accounts — For organizations using two or more Clarizen accounts intending to extract
    combined account data for reports.
  • Click here for more on reporting from multiple accounts
  • Remember my password for — Select a time duration for your credentials to be 'remembered'.
    Your password is stored encrypted on your station only.
  • Defining Credential Re-submission — Checking Re-enter credentials to view in Clarizen defines that the re-submission of credentials is required when opening a new web browser for viewing data within Clarizen.
  • Proxy Proxy server settings are taken from Internet Explorer settings automatically. Define your organization proxy server's settings only if you fail to login because of proxy issues.

 

  1. Click

    Login commences.

Figure 4: Logging In

 

The Excel sheet Clarizen ribbon displays your name.

 

Figure 5: Logged In

 

 

 

 

Creating a New Query or Editing an Existing Query

 

  1. Click to create a new query based on Clarizen information.

    A blank Query dialog opens.

OR

  • Click to edit the query saved in the currently selected sheet.

​OR

  • Click for a copy of the query in the currently selected sheet.
Note: If the 'Remember my password for' login option was unchecked upon last login; or the defined period lapsed; or you changed password since last login , the Login with Clarizen credentials dialog opens to enable submitting login credentials.


The Query window opens.

 

Figure 6: Blank Query Dialog

 

  1. From the drop-down menu, select an item type intended to query.
    The three types include:


The right-hand drop-down contains items relevant to the selected item type in the left-hand drop-down.

 

Figure 7: Select Item

 

Note:
  • Combo fields support Autocomplete word prediction/completion. 
  • Nested items ( items with hierarchical sub items, indicated by '+') in Quick Search fields are supported by entering the period character to adjoin sub items.
  • Nested fields cannot be used in the query for 'Sort By'

 

 

Recursive Query

 

A 'Recursive Query option is available (adjacent to the Item field) when selecting a work item item type (Milestone, Project, Task, or WorkItem) or when selecting Usergroup . When checked, this option serves as an extra
filter that sets ‘has X as an ancestor in the hierarchy’.

 

Figure 8: Recursive Query

 

  • Clicking following the initial selection changes the root item.

 

A recursive query can be useful for querying items within a hierarchical structure with several levels, such as a 'master' or 'portfolio' project. Other elements on the query form (including other filters) work the same way.

 

Notes:
Result Ordering is unavailable with recursive query.
 

 

  1. Select items for the report:

a) The Clarizen Excel Add-in enables filtering items in various combinations of 'And'/'Or'. Click to display a SQL like equivalent of the condition to confirm that report conditions are set as intended.

  • 'And' is the default setting , to which criteria can be added
  • For additional 'And'/'Or' nodes in the Select area, highlight the node you intend to add, select the filter
    condition
    radio button and click

b) To define the filtering condition, highlight the 'And'/'Or' node you intend to add the condition under, and define a filter condition:

  • Use the Quick search field to quickly find fields by their name.
Note: The list also contains fields with the same name that are ​ attributes of linked item types.

 

  • Select filtering condition
  • Add the filter condition to the Select area ​

c) To remove or re-order (indent or outdent) filters, highlight the relevant filtering conditions in the Select area and

click the relevant button.

 

d) Run-time Filters: You can define filters to be available for users to modify at run-time, by checking the checkbox located adjacently to each criterion.

 

Note: The 'Number of items' selected is located below the Select field. For performance reasons, each query is limited to 30,000 items, and 24 description fields. Clarizen displays the top number of items based on a limit that you set. We strongly recommend limiting the number to 1000 items.

 

  1. Select fields for the report:

Clarizen Excel Add-in enables selecting up to 24 fields to show in the report. Fields can either be the direct attributes
of a selected item type class or attributes of directly linked item types.
Relevant items show a ' DblClick to View in Clarizen' link that, once clicked, directs a new web browser to the item in Clarizen (suggested).

 

Tip: Upon login, checking the Re-enter credentials to view in Clarizen option sets the re-submission of credentials as required
when opening a new web browser for viewing data within Clarizen.

 

You can reorder or remove fields.

 

a) Use the Quick search to quickly find fields by name. Please note that the list will also contain fields with the same
name that are attributes of linked item types.

b) Check the checkbox of the fields to use on the left-hand side and click to move them across to the selected fields.
You can also double-click the field to move it across to the other side.

c) To remove or re-order (indent or outdent) fields, highlight the relevant fields in the Select area and

click the relevant button.

d) Define the maximum number of results to be generated.

e) Use the 'Order by' field to sort the report.

f) Check or uncheck the Results Handling parameters:

  • Convert all duration fields to (select Minutes , Hours , Days , Months )
  • Ignore time part of date/time fields [Recommended]
  • Date/time in organizational time zone [Recommended]
  • Auto-refresh results when loading workbook
  • Append to existing results

g) Click

 

'New' and 'Copied' queries are presented in a new worksheet populated by the relevant results.
'Edited' queries update the existing (selected) worksheet and is populated by the relevant results.

The query definition is saved on that sheet.

 

 

Refreshing the Report​

 

  1. Click to refresh all the queries in the workbook, or to refresh the currently selected
    worksheet with your current data.

 

Figure 9: Refresh All

  1. If runtime filters were set on the query, a Runtime Parameters form is shown. Select the filter intended to use from the list of
    filters available, and set the criteria.

  2. Click after editing the filter. The number of items to be retrieved is updated.

  3. Click and receive the updated results from Clarizen. Workbook pivot tables and graphs update automatically.

 

Note: The maximum number of items retrieved is predefined. When updating the filters, ensure the query does not
exceed the maximum number of items defined for that query.
 
 

 

 

Working with the Results

 

Upon completion of defining a new query, a new Excel Worksheet is created with the name of the item type class that the
query was defined on.

You may change the Worksheet name. The process to create more queries in the same Spreadsheet.

Each new Query is placed in a different Worksheet. As query results are over-written every time a query is run or refreshed,
ensure to design reports on a separate Worksheet.

 

 

Joining Queries

We recommended using MS Excel's VLOOKUP or INDEX and MATCH functions to join query results.

 

Presenting Data

Use PivotTables to generate Graphs in Excel .

 

 

Excel Function Tips

 

Tip 1: INDEX AND MATCH

VLOOKUP has limited capability as it requires the reference fields to be the left-most column and sorted.
INDEX and MATCH enables more flexibility and allows you to reference the data you extract from Clarizen without moving it around
or worrying about its location on the Worksheet or the sort order.


Example of how it looks: =INDEX(Milestone!B:B,(MATCH(D6,Milestone!$F$1:$F$3000,0)))
Example of how it works: =INDEX(THE COLUMN FROM WHICH YOU WANT TO RETURN THE VALUE FROM, (MATCH(THE VALUE IN
YOUR CURRENT WORKSHEET,THE COLUMN WHERE THAT VALUE IS IN THE TARGET WORKSHEET,0)))

 

Tip 2: ISNA

Sometimes your formula returns some good data and a load of NA’s resulting in a Excel which is difficult to read.
There’s an “ISNA” Excel function which you can use in an IF.
Example of how it looks:=IF(ISNA(MATCH(D6,Milestone!$F$1:$F$3000,0)),"-",INDEX(Milestone!B:B,(MATCH(D6,Milestone!$F$1:$F$3000,0))))

Basically, if the MATCH returns an NA value, then just show a “-“

 

 
Sample Reports
 

The following links are to public sample reports that users of the free Run-time version can use:

Uploading Sample Reports

To submit your own reports for free download from this site, please contact your Clarizen Customer Success Manager.

Note: P lease take special care to remove any data and credentials when uploading sample reports.

 

Excel Add-in Change Log

 

VBA automation object

 

The Excel add-in supports the VBA automation object.  

The automation object supports the following methods:

  • DefaultLogin (silent as Boolean) as String – Logs in the user with the credentials saved by current user.
    If the silent flag is false the Login form is shown. In this case the credentials are not saved or the saved credentials can’t log you in.
    This method returns an empty string if no error occurs or an error message displays if an error occurred.
  • LoggedIn as Boolean – returns True if the Excel add-in is logged in or False if the Excel add in is not logged in.
  • Login (user as string, password as string) as String– Logs in with the specified user name and password.
    This method returns an empty string if no error occurs or an error message displays if an error occurred.
    It is recommended that you protect the VBA project if you use this method to keep the credentials more secure.
  • RefreshAll (silent as Boolean) as String – Refreshes all queries on the workbook.
    If silent is true then the message boxes are not displayed if one of the following conditions are true:
    1.  There are no queries on the workbook
    2. The query returns more results than specified on the query item.
    This method returns an empty string if no error occurs or an error message displays if an error occurred.
  • RefreshSheet (sheet as object) as String – Refreshes the query on a particular sheet (specified by a name or index).
    This method returns an empty string if no error occurs or an error message displays if an error occurred. 
  • RefreshCurrent () as String – Refreshes the query on the current selected sheet.
    This method returns an empty string if an error occurs or an error message displays if an error occurred. 

 

A sample document with the above VBA macros are available to see how the code works. Please click here to download it.

 

Video Demonstration

 

The video tutorial below demonstrates the following actions:

  • Reviewing Requirements, Data Model, and Building Query
  • Combining two queries using formulae and VLOOKUP
  • Presenting your data in a pivot table and filtering or sorting as needed

 

Sample Report Tutorial – Building a simple Timesheet report with the Excel Add-in in under five minutes

 

 


Enabling Single-Sign-On for Excel Add-in

Enabling Single-Sign-On for Excel Add-in

 

This page describes configuring user accounts by your organization's Administrator in order to enable Single-Sign-On (SSO)
for the Clarizen Excel Add-in.

 

  1. Navigate to Settings -> Extensions -> Connected Web Apps .
  2. Click Allow Access located adjacent to SSO for Excel Add-in.

 

Figure 1: Allow Access

 

  1. Install the Clarizen application, located here, to set up a Custom Action (on the Organization level) to enable users to obtain the Organization ID number.

 

 

 

 

Logging in to Excel Add-in via Single-Sign-On

Logging in to Excel Add-in via Single-Sign-On

 

This page describes logging in to the Clarizen Excel Add-in via Federated Authentication Configuration Single-Sign-On (SSO)
and includes the following sections:

 

 

 

Sourcing Organization SSO Login ID via Clarizen

 

Sourcing your organization ID for a 'once only' registration in order to log in to the Excel Add-in can be done via the following
Clarizen versions :

 

 

Clarizen Version 6.00:

 

  • Click Navigation Panel -> Custom Actions -> What's my organization number?

 

Figure 1: v6.00 Organization ID

 

 

T he Organization (ID) number is displayed.

 

Figure 2: Organization (ID) Number

 

 

 

 

Logging In

 

  1. Open MS Excel and click the Clarizen ribbon.

Figure 3: Clarizen Ribbon


The Clarizen ribbon is active.

  1. Click Login .


Figure 4: Login

 

The Login with Clarizen credentials dialog opens.

 

 

  1. Click the Federated Authentication link.

 

The Organization ID dialog opens.


Figure 5: Organization ID

 

  1. Enter the Organization ID to the field.
  2. Click
Note: The resulting Sign In dialog may differ from the one shown below depending on your SSO provider.

 

Figure 6: Sign In

 

  1. Enter your SSO credentials.

 

  1. Click

Figure 7: Grant SSO Access

 

  1. Click
  2. Logging in commences.

Figure 8: Logging In

 

The Excel ribbon updates with your details.

 

Figure 9: Logged In

 

 

 

 
 

Reporting From Multiple Accounts

Reporting From Multiple Accounts

 

This page describes enabling Clarizen's Excel Add-in to extract data for reports from multiple Clarizen account s and includes
the following sections :

 

 

 

 

About Reporting from Multiple Accounts

 

Should you intend to extract report data from two or more Clarizen accounts used by your organization, clicking the Enable multiple accounts link (located on the Login with Clarizen credentials dialog ) opens the Account Management form
on which you define and configure the accounts to use, specify the account report order and define a separate query for each account (providing that the accounts selected are of the same Clarizen item type ).

 

A special ‘Clarizen Account Name’ field can be added to the result fields to indicate which account the result(s) belongs to.

 

 

Enabling Multiple Accounts

 

  1. Open MS Excel and click the Clarizen ribbon.

 

Figure 1: Clarizen Ribbon


The Clarizen ribbon is active.

  1. Click Login .


Figure 2: Login

 

The Login with Clarizen credentials dialog opens.

 

Figure 3: Login Dialog

 

  1. Click the link .

    The Manage Accounts form opens.

 

Figure 4: Manage Accounts​ Form

 

  1. Click

    Another Login with Clarizen credentials dialog opens.

Figure 5: Enable First Account

  1. Enter credentials for the first account to the relevant fields.

  1. Click

    Login to the first account commences.

Figure 6: First Account Login

 

The Manage Account form updates with details of the enabled account.

Figure 7: First Account Logged In

 

  1. Click

    The Login with Clarizen credentials dialog opens again.

Figure 8: Enable Additional Account

 

  1. Enter credentials for an additional Clarizen account (of the same item type) to the relevant login fields.

     

  2. Click

  3. Login to the additional account commences.

Figure 9: Additional Account Login

 

The Manage Account form updates with details of enabled accounts.

 

 

Figure 10: Two Accounts Logged In

 

  • Continue as necessary to enable additional accounts in the same manner.

 

  1. Check/uncheck Active column checkboxes adjacent to the accounts to configure and/or extract data from.
  2. Click to sort report order.
  3. ​ Click


The Excel sheet opens. Multiple ( enabled) accounts are displayed. The Excel sheet's Clarizen ribbon displays the initial account

holder's name.

 

 

 

Selecting Account for Query

 

  1. Perform Step 1 for creating a new query or editing an existing query as described in Using Clarizen Excel Add-in.

    The Query window opens with enabled accounts listed (as sorted in Step 11 from the above procedure), the first account is selected.

 

Figure 11: Multiple Accounts Enabled

  • Clicking opens the Manage Account form .
  • Clicking clears the Query window data fields .
  • Clicking copies the current query data to the account selected in the adjacent drop-down menu.
  1. With the first account listed selected, configure the Query window as described in the steps for creating a new query or editing
    an existing query
    .
  2. Check the checkbox of the second account listed, and configure the Query window for data from that account.
  • Continue in the same manner for additional accounts to be enabled, as required.
  1. Click

    A new sheet is created and the relevant results are populated in it. The query definition is saved on that sheet.

 

 

 


Troubleshooting

Troubleshooting

 

This page describes Troubleshooting for the Clarizen Excel Add-in .

 

I. Error message pops up when trying to install the “Developer” version:

Unable to install this application because an application with the same identity is already installed...

Complete the following steps:

  
  1. Remove your existing plug-in.
  2. Open the Windows command line ( Start -> Run ).
  3. Run this command: rundll32 dfshim CleanOnlineAppCache.
  4. Re-install the developer version.
  5. Log in using your Clarizen credentials in the Excel document.

​If the same error occurs, try this:

  1. Ensure Excel is closed.
  2. Browse (type this on the address bar of windows explorer, or 'Start+Run' ) to this directory on your computer: %localappdata%\Apps\2.0
  3. Delete everything under this directory (it's just a cache). If some files are used and cannot be deleted, you'll have to log off Windows.
  4. When the directory is empty retry the installation.

 

II. No error messages are shown but the 'Clarizen' tab does not show up in the menu bar after the installation.

 

Complete the following steps:

 

  1. Go to File -> Options -> Add-ins
  2. Select 'Disabled Items' on the combo on the lower part of the form and click Go .
  3. Select 'Clarizen Excel Add-in' and click Enable .
  4. Exit Options and restart Excel .

​If it wasn't shown in the disabled items then check the Inactive items:

 

  1. Go to File -> Options -> Add-ins
  2. Select Com Add-ins on the combo on the lower part of the form and click Go .
  3. Check 'Clarizen Excel Add-in' and click OK .

 

III. If the 'Clarizen' tab is still not shown in the menu bar but 'Clarizen Excel Add-in' does appear in the File -> Options -> Add-ins -> Active Application Add-ins:

Complete the following step:

 

  1. Open Excel Options .
  2. Click Customize Ribbon .
  3. Click Reset .
  4. Select Reset all Customizations .
  5. Click OK .
  6. Check if the Clarizen tab is shown in the menu bar.

 

 

 


Have more questions? Submit a request

Comments

Powered by Zendesk