The web client manages Office integration through a plug-in. The Office plug-in connects to the web server to obtain data, and uses the same protocol as the web client.

### Installation

There are two ways to install the plug-in:

* Start the plug-in by clicking an Office link from client (Word Mail merge, Word report, Excel, or Powerpoint). If the plug-in is not yet installed, a link will be available in the user interface to download the plug-in.
* Use the dedicated function from the following link: http\://**server**:**serv**/msoffice/lib/general/addIn/SyracuseOfficeAddinsSetup.exe, where **server** is the server address and **serv** is the service number. This link is also available as an Office Plug-in Download menu item that can be used in a dashboard.

***

## Office client Excel

**The integration of Microsoft Excel is implemented as an add-in. Once the plug-in is installed, Microsoft Excel behaves as a client able to get data exactly like the web client, with the same level of security.**

### Launching the Microsoft Excel client

When installed, Microsoft Excel connects to the Sage X3 web platform as follows:

* By launching Microsoft Excel and using the icons in the connection ribbon tab to connect and manually select the data source used to feed the spreadsheet.
* By using a predefined Microsoft Excel link in a page displaying a query or a detail. The connection and the selection of the data source will be done automatically.
* By opening an existing spreadsheet prepared in a previous working session, and reconnecting to refresh the data, to update the table characteristics, or to input additional data.

### First connection

When connecting for the first time, a login and a password are required if an Excel link is called from a browser that is not Internet Explorer. A "remember me/ forget me" checkbox is available to allow the login to be valid for 4 weeks.

### Buttons in the Sage X3 Ribbon

If the Microsoft Office add-in is installed, an additional tab appears in the Microsoft Excel ribbon.

#### Server settings

This section allows to enter the http address for the Sage X3 web server, with the following format: `http://server:service`. When several servers have already been entered, you can select one from the drop down list, or type a new address. The logout button will bring you back to the login page.

#### Data sources

This link displays the *Workbook settings* window to select or set up data sources used in the spreadsheet. The following information must be entered:

* A name.
* The representation and the class.
* The columns used for data sorting.
* A *Fetch all* check box to select all the lines.

The data source selection can be done either by menu or by entity:

* **By menu:** Select the endpoint and the menu item.
* **By entity:** Select the endpoint first, and then the entity.

### Data extraction and refresh

When the data source selection is completed, data insertion starts automatically on the spreadsheet. You can also refresh the already inserted data by clicking the *Refresh* icon.

The main principles of data extraction are:

* The client requests column descriptions available in the query facet.
* The server returns the prototype describing the data structure.
* The Office client creates the column header and fetches the data in bulk mode (in blocks of 1,000 lines).

### CSV File export

To export the content of a grid to a CSV file, use the drop down menu next to the grid and pick the option **CSV export**. Once the export dialog shows up, click on export to create the csv file, then click the icon to download the file.

***

## Office client Word

**The integration of Microsoft Word is implemented as an add-in. Once the plug-in is installed, Microsoft Word behaves as a client able to get data as the web client, with the same level of security.**

### Launch

When installed, Microsoft Word is launched from a link on the client. Two types of link can exist:

* **A mass mailing link.** This happens only on a facet that handles several lines (usually a query). This allows generating a list of mailing pages by repeating a mail merge template document for every record on the query.
* **A Microsoft Word report link.** This allows creating a document that can contain the elements on the page, defined by a Microsoft Word report template.

### Mass mailing function

When this function is used, the system opens a page that gives you the choice between:

* Using an existing template
* Starting from a new empty document
* Starting from a new document by using a Word template

#### Starting from a new empty document

When you select this, a document that contains all the fields present in the query is opened. You can create your template by adding text and moving or removing fields. Click **Insert Merge Field** on the **Mailings** ribbon to insert fields.

When finished, save the file as a template by clicking `Publish as` in the Sage X3 toolbar in Word, then select `Publish as mailmerge template`.

#### Starting from a new document using a Word template

When starting a merging operation from a new operation, Microsoft Word starts and opens an empty document in merge mode. From this step, you can insert fields, modify the list of addressees, and execute the mailing generation.

#### Using an existing template

When you select this function, you must enter the template you want to use. After selection and connection to the server, Microsoft Word starts, in preview mode, on the first page of your mailing.

### Microsoft Word report function

When this function is used, the system opens a page that gives you the choice between:

* Choose an existing template
* Create a template
* Edit template

#### Creating a Word report template

Using the `Creating a template` option launches Microsoft Word and opens a new document that contains all the fields present in the original page. In Word, open the Sage X3 toolbar and select the `show fields` check box to display a list of fields you can add to the new template. Double-click fields from the list to add them to your template.

When finished, click `Publish as` in the Sage X3 toolbar in Word to save the template.

#### Modifying a Word report template

When this option is selected, indicate the Microsoft Word template to modify. Only the Microsoft Word templates associated with the same page can be selected. You will then enter modification mode.

#### Word report from existing template

When using the `choose existing template` option, select a template from the list (only the templates associated with the right page are presented). The Microsoft Word document opens, connects to the platform, and creates the final document by inserting the data in the template.

***

## Office client Outlook

**The integration of Microsoft Outlook is implemented as an add-in. Once the plug-in is installed, Microsoft Outlook behaves as a client and accesses data exactly as the web client with the same level of security.**

When installed, a new tab displays on the ribbon in Outlook. The Outlook add-in can synchronize contacts, appointments, and calls from the Sage X3 CRM module.

You can set up synchronization in the `GESSYP` function, available at:
`Setup / Customer Relation / Outlook synchronization / Synchronization setup`

When complete, click the synchronization command to synchronize data.

***

## Office client PowerPoint

On pages where an array of numbers and a graphical representation are present, a popup window allows you to create a Microsoft PowerPoint slide.

If `PowerPoint` is selected:

* **If Microsoft PowerPoint is not yet opened**, a new presentation opens automatically and a graph based on the current data is inserted on the first page.
* **If Microsoft PowerPoint is already opened**, a window appears displaying the different open presentations. You can choose the presentation and position for the new slide.

Additional functions are available on the Sage X3 ribbon:

* **Refresh slide** — connects to the server and refreshes the data for the current page.
* **Refresh all slides** — refreshes all pages populated through a connection to a Version 7 server.
* **Publish as / Publish** — creates the document or saves it again in the storage area.