Using the MindTouch generic HTML integrations, customers can search for articles, publish articles, or view customer history from within C4C.
The integration is typically embedded in the Ticket Overview section inside Cloud for Customer.
Part 1: Create the Mashup
- Log in to your SAP system.
- Go to the Administration tab (hover over) and select Mashup Authoring.
- Create a New HTML Mashup
- Enter the information
- General Information
- Mashup Category: Productivity & Tools
- Port Binding: Ticket Information
- Mashup name: MindTouch Touchpoint
- Description: Search MindTouch for related articles. Look at a users history. Request article creation.
- Status: Active
- Configuration Information
- Type: HTML
- Height: 350
- General Information
- In the HTML code editor, paste the code sample for the generic integration you want to integrate, such as MindTouch Search.
- In the HTML code editor, update the code to use your configuration and the SAP environment variables.
- Click Save and Close.
Part 2: Add the Mashup to the ticket overview
- In the upper right of the screen, click Adapt, then select adaptation mode.
- Once in Adaptation Mode, go to CUSTOMER SERVICE then select any ticket available (you may have to view all tickets by changing the options in the drop down box)
- Once a ticket is loaded, and the ticket overview is displayed, click Adapt again, then select Edit Screen.
- Select Mashups and Web Services.
- In Mashups and Web Services, check MindTouch Touchpoint, the set the properties accordingly.
- Set Appearance to "New Screen Section" or "Embedded Near Solution Finder."
- Check the Full Width checkbox.
- Click Save, then click on Publish.
Part 3: Remove Solution Finder
Some instances may have the "old" integration (Solution Finder) set up which we will now remove:
- Click Edit Screen.
- In the Screen layout section, uncheck Solution Finder.
- Exit Adaptation Mode. Once complete, you have successfully added the MindTouch Touchpoint to SAP.
Part 4: Customize the SAP widget
The HTML mashup in SAP has two modes:
- URL mode, which allows users to input a URL to a mashup they might want to load.
With MindTouch, most integrations will be in HTML mode where you are using MindTouch HTML code samples.
Fetch values from SAP
sapApp = sap.byd.ui.mashup.context.inport;
Values that can be fetched from this object include
You can get a full list of the available values by logging the sapApp object in your developer tools, or viewing the list of available port values and ports when creating a mashup.