“After parsing a value an unexpected character was encountered: {. Path ‘scLayout’…
Posts Tagged ‘JavaScript’
Connecting Javascript with Apex Remote Actions for a Single Page Application
How to Connect UI to a Salesforce Backend Working with a Visualforce page and its MVC pattern is very powerful when it comes to bind the data from the standard and custom Salesforce objects, but for creating a single page application that provides a better UX and kind of and app look and feel rather […]
#AdobeSummit Standout: PhoneGap and Framework7 for Mobile Apps
We’ve seen many innovative features and products launched at Adobe Summit 2017. As a developer, one cool feature that attracted me the most was the development of a hybrid mobile application with PhoneGap along with Framework7 open source UI framework. When developing a mobile application using JavaScript, CSS and native libraries, I have faced issues with […]
Handle JSON Data Using JavaScript Expression in OSB 12c
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 […]
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 […]