Quantcast
Channel: Zingtree Technical Blog
Viewing all articles
Browse latest Browse all 405

How To Use One Tree for End-Users and Employees/Agents

$
0
0

updates-blog

We’ve had requests to make it easy to use one tree for both end-user support and internal agent usage. Rather than maintaining two separate trees, being able to have one source of content and show (or hide) parts between agents and end-users can be extremely helpful. So, we’ve introduced two new template tags that allow this to happen.

Demo

The Dual Use Agent and End-User Example Tree from the Zingtree Gallery shows how this type of tree is built and operated. You can switch between End-User and Agent views by opening the Show More Display Options link.

Creating Nodes with Dual Content

In the content area for any node, you can insert special tags that make the text visible to just agents, or just end-users.

To show content for agents only:

Surround the content with [[AGENT-ONLY]] and [[/AGENT-ONLY]].

To show content for end-users only:

Surround the content with [[USER-ONLY]] and [[/USER-ONLY]].

You can access these template tags from the content editor in any node:


Example

If your node content area looks like this…

This is the content for a node.

[[AGENT-ONLY]]Agent stuff shows here[[/AGENT-ONLY]]

[[USER-ONLY]]User content shows here[[/USER-ONLY]]

An end user will see this…

This is the content for a node.

User content shows here

And your agents will see this…

This is the content for a node.

Agent stuff shows here

How to Preview

The updated Preview tool lets you see content views for agents or end-users:

Implementation

Your agent-only content will appear in trees accessed via the Zingtree Agent Portal. You can also make this content appear by adding the following parameters to the URL for Zingtree hosted or embedded trees:

&agent_mode=1&apikey=YOUR_API_KEY

Substitute your API key for YOUR_API_KEY in the URL. You can find the API Key from the API page, or if you have multiple organizations at the bottom of the Organizations and Billing page.


Do you like this new feature? Or have any other comments? Please share with us!


Viewing all articles
Browse latest Browse all 405

Trending Articles