Presentation is loading. Please wait.

Presentation is loading. Please wait.

3rd Party Widgets & Custom Code

Similar presentations


Presentation on theme: "3rd Party Widgets & Custom Code"— Presentation transcript:

1 3rd Party Widgets & Custom Code
ROBERT KIFFE| OMNIUPDATE

2 Agenda What’s the problem? A Typical Setup Page Specific? Site-Wide?
Writing JavaScript in an XML File Writing Server-Side Code in an XML File Hands-On Q&A

3 What’s the Problem? I need to add ‘code’ to a specific page!
I need to add ‘code’ to a bunch of pages! When I add some ‘code’, it breaks my page! JavaScript or Server-Side scripts aren't working!

4 Individual Pages Content Regions Source Code Editor Assets Components

5 Individual Pages Head-Code Element Body-Code Element Foot-Code Element
Hidden Regions Head-Code Element Body-Code Element Foot-Code Element

6 Multiple Pages Headcode.inc Footcode.inc Set By Directory Variable
Hidden Regions Global Include Files Headcode.inc Footcode.inc Directory Include File Set By Directory Variable Configured in XSL Create Parameter Build Include Code in Desired Location

7 Multiple Pages Content Regions Include File via Asset

8 Adding HTML Self-closing tags Missing close tags
To an XML Document Make sure your code meets XML syntax requirements Self-closing tags Missing close tags Encode special characters

9 Adding JavaScript Use CDATA to protect special characters
To an XML Document Use CDATA to protect special characters

10 Adding Server-Side Code
To an XML Document Must obey XML syntax PCF Source Code Asset / Component Unless the XSL is specially configured, use an include file XSL Processing Instruction ‘Disable Output Escaping’ Character Maps HTML output method

11 Let’s Go Hands-On! Travel to http://workshop[#].outc18.com/index.html
Replace [#] with the number on your badge Click the DirectEdit link Log in as the level 10 user! Username: admin Password: found on your badge

12 THANK YOU! PLEASE SHARE YOUR FEEDBACK: #OUTC19


Download ppt "3rd Party Widgets & Custom Code"

Similar presentations


Ads by Google