This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| import WebKit | |
| import SupportSDK | |
| import ZendeskCoreSDK | |
| import ZendeskSDKMessaging | |
| import ZendeskSDK | |
| class ViewController: UIViewController, UINavigationControllerDelegate, WKNavigationDelegate { | |
| @IBOutlet var webViewContainer: UIView! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Below samples is Javascript code running on the CD side (part of the generated XPM bootstrap script included by the site) | |
| // The code you invoke by using: Tridion.Web.UI.Editors.XPMCore.Utils.callContentWindowMethod(<name of the function>, ...) | |
| // | |
| Tridion.Type.registerNamespace("MyXPMCode.Handler"); | |
| MyXPMCode.Handler = { | |
| /** | |
| * Get all editable fields. Returns a list of objects with the following fields: | |
| * - fieldId, fieldName, xpath, tagname |