Skip to main content
InSource Solutions

TN - 1390 Using the 64 bit Excel Add-in on a Standalone System (NO Wonderware)

Description

 

 The InSight Excel Add-in is installed as part of Historian Client Web (formerly Insight), this means it is not installed as part of Historian Client. Historian Client Web is not something you can select during  the installation. It’s actually not a client application at all, it’s the web server for the Historian and gets installed when you install the Historian software. Often  the add will be used from client systems running System Platform products, however you may find a scenario where you want to use the add in from a standalone system running a compatible version of Office. You will first need to enable remote clients to use the full functionality of the add-in as outlined in this InSource Article. 

  • Author: Mario Meza
  • Published: 09/15/23
  • Applies to: Office 2016 and above (64 bit) 

Details

 The first step requires adjusting some registry settings on each remote client. Without these settings, remote clients are unable to retrieve data using custom Excel functions, and can only use static retrieval. These settings are stored per-user. If a client machine is used by multiple users, each user needs to configure these settings. \

First you will need to launch the Registry Editor.  

Note: BEFORE making changes to the registry you should always create a backup as outlined in this online article.  

clipboard_efbe4a2d04a2a7b4eef51aac3be78bbad.png

 

With a back up in place and the registry open, navigate the to the path highlighted below in blue. 

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\WEF\Developer\fe9ff8e2-d8d4-474a-acc1-33a8a254e4e1

The keys highlighted in RED above do not exist by default and will need to be manually created under the WEF key.

clipboard_ece1ef3220258a1408a51d7a590ef274d.png

With the both keys created you will need to add some subkeys.

clipboard_e06570873537d820804ae3427223c1dbb.png

Add subkeys matching the following table under the fe9ff8e2-d8d4-474a-acc1-33a8a254e4e1 key.

clipboard_e922d90448f0b68cd383fbfced6f6c382.png

Once complete it should look like the following

clipboard_e44bf8cdf2cc06724fa2601db54e16b37.png

With that in place you need to install and add the add-in. 

To install the add-in open Excel and click on File > Options

clipboard_e7c3689a39a4d935eb0c77b73cfbc036b.png

clipboard_e64b299f7d4ad7bc583efadacf6960ff3.png

In the Options window, click Trust Center.

clipboard_e52913982c1c58fd0d319e770e6d2d95d.png

In the right of the Excel Options dialog select Trust Center Settings...

clipboard_ede631a4a5fd6f5e19ea1a9393df96fa6.png

In the Trust Center Pop up select Trusted Add-In Catalogs in the left navigation bar.

In the Trusted Catalogs Table section, in the Catalog Url box, provide a UNC path to the add-in (replace <HistorianMachine> with the name or IP of your Historian server)

\\<HistorianMachine>\InsightAddIn.

clipboard_eedb3496b6df29dbf395e6b12ed9ede21.png

Select the Add to Catalog button and the URL is displayed in the list below.

Check the Show in Menu check box and click OK to close the Trust Center window.

clipboard_e4f64d63e366ea4486bb0805cdd5de85c.png

Click OK at the prompt and close any further menu windows.

clipboard_e0c1bdccb0b8aac0cbe8aafa657baa6a0.png

Restart Excel / close any open projects.

After Excel restarts, open a new workbook and click on Insert > My Add-ins.

clipboard_e01669baccc05603a8ed526ed429fe456.png

 

In the Office Add-ins window, click the Shared Folder tab and select the AVEVA Historian Add-in.

Click ADD.

clipboard_e496e018f850c910b426d766b5166ec9b.png

You should now see a new addition to the Ribbon under AVEVA Historian and a sidebar my be visible on the right-hand side of the workbook.

clipboard_e35658b35b0c5e61615b4ab7c2b983f31.png

At this point if you can see the add-in but aren’t getting results when searching for tags check the following:

From the client machine open a browser and test if you are able to access the Historian Client Web? To check this update the following link by replacing the <HistorianMachine> name with either the hostname or ip address of your historian.

https://<HistorianMachine>:32573/

You may get a security notification...

clipboard_ea2d9d7a7078cc85d1e592de09a8db8d3.png

If you select Continue to You will be asked to authenticate.

(The user needs to be a member of the historian aa groups). 

clipboard_eb313a0d8208ee5c0369aab237e3d53df.png

Once authenticated if browsing still fails to yield any result…

clipboard_e2c75c817549b1c31a84ebd3dfa920b69.png

Validate the AVEVA Historian Search Service is running.

clipboard_ee807b0b83a4c2dc96a04013d63b5b9da.png

 

Once validated typing in the search bar on the Client Web Interface should provide auto suggestions based on the names of the tags being historized.

clipboard_ea9fe47ac0a547adeb1ee482d8a15211a.png

Now validate from the remote client and you should see tags auto suggested in the tag search.

The following video briefly covers getting started with the Add-In : https://www.youtube.com/watch?v=aK6UEAfV9CI

clipboard_e54598bd447d5c043f7bb839b865ab835.png