Oracle Service Bus 12.2.1 provides a JavaScript action, which allows us to include snippets of JavaScript code to be executed during proxy pipeline processing. The most common case for using JavaScript is when dealing with JSON objects in REST services. Rather than converting the payload to XML and using XQuery or XSLT for manipulation, using […]
Posts Tagged ‘JavaScript’
How to Extend SCORE Components with Custom Functionality
SCORE’s Bootstrap UI layer delivers core functionality for the most commonly used components in web development. When the core offering does not satisfy your requirements, though, one option may be to extend SCORE components with custom functionality.
Sitecore FXM Unable to locate JavaScript beacon on external site
Federated Experience Manager (FXM) is a very useful part of Sitecore, in that it allows end users to add content to and track events on external applications. This is good because it means that clients do not have to convert all of their existing applications into the Sitecore instance to use it’s functionality. In a […]
Create a Microsoft Outlook email using JavaScript
This proof of concept provides reusable code for implementing MS Outlook email functionality using JavaScript. Here we create a sample email content (.eml file) which could directly be hard coded or fetched from document id or class. Here we create a blob data type where we create mail subject using creatObjectURL () function. Here […]
Display placeholder names in Sitecore Experience Editor
When working in the Sitecore Experience Editor, sometimes it can be a bit annoying to find various placeholders on a page. This can also cause some frustrations for content authors if they aren’t sure what they are looking for. To help with this, I wrote a bit of javascript to display the names of the […]
Building a single-application component using Sitecore MVC, JS MVVM Framework and SCORE – PART 1
In this series of posts, I would like to show our readers how to build out a single-application component in Sitecore using one of the many popular MVVM JS frameworks on the market – in this case Knockout, together with SCORE. Even if you don’t use SCORE in your project, you can still follow along […]
SPEAK Up! The Anatomy of a Sitecore SPEAK Application
In my introduction to Sitecore’s SPEAK framework, I mentioned that SPEAK applications should always be built from a branch template provided by Sitecore. While it is possible to write a SPEAK page from scratch, there are many moving pieces to consider. Because all SPEAK applications require certain components to function (JS libraries, CSS, a Sitecore layout, etc.), this article […]
Facelets – JavaScript Parsing
One of the most common issues when starting a project for the 1st time with FACELETS (XHTML + XML) is that it does not handle very well JAVASCRIPT enclosed in a normal <SCRIPT> tag within the JSF file. The reason behind this is that XML has five special characters which have a special treatment by […]
SCORE 2.0 Component Assembly 101, Part 2: Form Components
In my first post in this series, we walked through the process of building a simple component. Let’s go a bit further now and build something very useful in Sitecore: a custom form. While a module like Web Forms for Marketers can definitely help you build forms, it can be heavy handed and sometimes doesn’t quite fit the bill. That’s where form components come in. Luckily, BrainJocks SCORE has a few features and patterns that can help you out, and keep your content authors happy at the same time.
How to Get Sitecore Dictionary in JavaScript
It’s very easy to get translations in back-end code — either Razor views or .cs files — by simply calling to Sitecore.Globalization.Translate.Text(). But what about JavaScript widgets? There we have several options: Item Web API results in overhead and is hard to use without additional implementation. StringDictionary embeds values right in HTML and needs to be configured […]
Under the Hood With “The Future of SharePoint”
It has been about a week since Microsoft unveiled “The Future of SharePoint” at this event here (note: you have to provide your e-mail and some other info to get access to all the content). The keynote has kind of a general overview of all of the new directions that the SharePoint team is heading […]