Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [javascript]

The tag has no usage guidance.

1
vote
0answers
13 views

JavaScript running before Tridion GUI Resources are loaded

Another question from our Tridion GUI 8.5 upgrade. I have discovered that many of the problems we've been facing in this upgrade are because the Tridion Resources (<cc:tridionManager>) are not ...
4
votes
1answer
191 views

Is it possible to expose Tridion page content as JSON, for React application?

I would like to render my pages in the browser using a JavaScript framework like React. So far, all our Tridion content is rendered as HTML on the serverside using JSP. I can imagine it is possible to ...
3
votes
1answer
116 views

SDL Web 8 JS Error: Uncaught TypeError: Cannot read property 'isLoaded' of undefined

Looks like in Chrome Version 56.0.2924.87 (64-bit), post 2013 to Web 8.1.1 upgrade has some js issues which are not allowing me to open components that have media associated to them. Also, notice ...
4
votes
1answer
234 views

How to pass parameter to pop up page by GUI Extension?

I'm making a GUI Extension. Adding new context menu to SDL Web 8, and open ASP.NET as pop up page by clicking the context menu.I need to pass selected folder's TCMURI to the ASP.NET page, so I use $...
6
votes
2answers
265 views

Javascript Anguilla API : Is there any meaningful API documentation online? (not auto-docs)

There are tasks I'd like to do in Anguilla. I can see the Anguilla objects in the browser's JS console, but there are thousands of potential methods, and without docs, it's 'needle in a haystack' ...
3
votes
1answer
65 views

is there a way to open websockets in Tridion

I am a frontend developer I dont have knowledge of tridion SDL. Is there any way to open websocket using SDL Tridion. I want to add fuctionality like this http://tutorialzine.com/2015/02/smartphone-...
3
votes
2answers
136 views

Validating title text field using Anguilla Framework on save, save & close and save & new

I am using Anguilla framework to validate my Title node. I have few doubts listed as follows: If we want to implement the functionality for save, save & close and Save & New using single ...
2
votes
1answer
140 views

Adding third-party JS to CMS page

Is it really difficult to add third-party JS to a global CMS template? For example if there was a library that loaded its own JQuery with no conflict and also called a third-party API is this ...
4
votes
0answers
66 views

Adding Information to Component Failing, XPath, Node Type Error

Randomly today, trying to insert a schema or component into another component in cme is failing. A look at the console in Chrome shows the following errors when click event is fired from insert button:...
6
votes
1answer
153 views

What is “this” in global scope when using a JScript component template

In classic ASP this works: <% Response.write ( typeof this); //object varInGlobalScope = 1; Response.write( varInGlobalScope ); //1 Response.write( this.varInGlobalScope ); //1 this....
8
votes
1answer
146 views

Access Tridion object in Browser Console?

I was trying the answers to this question: How to mass delete Tridion MessageCenter warnings? I noticed in SDL Tridion 2013 SP1, in the Browser console it seems the slide out menu is available using ...
0
votes
2answers
167 views

JavaScript library with Tridion & XPM [closed]

Since there are host of powerful client side JavaScript and CSS framework and libraries available for free, like JQuery, Angular JS, BackBone, Bootstrap, KnockOut, Medernizr, Node JS, is there any ...
1
vote
2answers
241 views

How to pass Tridion Content TCM URI to Javascript

I have a JavaScript call inside the content like below <a onclick="playVideo('http://xx/002A70/ChampionsOfChange/xx.mp4','Victor Dickson',tcm:24-17703); return false;" href="#"> <img ...
5
votes
2answers
182 views

Minifying javascript with yahoo minifyer

I am following this blog post. It says that you need to deploy the referenced dll's to the Tridion bin folder but when running my TBB in Template Builder it can't find/load the dll's. I can't find ...
1
vote
2answers
122 views

Retrieve page ID on the first OnSave

I have a javascript file which is calling a service call method on the click of Save command. I need to validate this functionality only for pages. However, on the first save in tridion, pages will ...
5
votes
1answer
218 views

Retrieving data from APP_DATA table

I am storing some details from my tridion pages in the APP_DATA table by passing it on to the DATA_CONTENT column as a stream. While retrieving it via a service call method, the values are not getting ...
0
votes
3answers
147 views

Debugging web service call method in Tridion

In tridion, I am working on a customization at the component presentation level. My exact task would be to add an extra tab containing 2 text fields under the tab on the right side pane when we click ...
1
vote
2answers
199 views

“Expected one result and more found: 2” when publishing JavaScript file

This is regarding an issue coming up in publishing a JavaScript file to live environment from SDL Tridion environment from one publication only. It is possible to publish the file from the other ...
4
votes
3answers
515 views

Custom Url popup returning multiple values

We are migrating from Tridion 2009 to 2011 and I have a few problems with our custom popups for multivalued fields in Tridion. In Tridion 2009 we could add an array as the returnvalue of the window (...
7
votes
3answers
490 views

Get TCM URI by WebDAV in GUI Extension

I'm trying to implement a GUI extension and I need to get the TCM URI of a Page Template. How do I get it if I only have the WebDAV URL in Javascript?
1
vote
3answers
553 views

Password protected JSP pages in Tridion based web application

I know that my this question is more specific to JAVA application with less involvement of Tridion. But I personally, being a Tridion developer, would like to involve our community in this discussion. ...
5
votes
2answers
163 views

How can I publish encrypted JavaScript values to a Page from SDL Tridion?

I have a requirement in which an Editor has to set some constant values in a JavaScript file placed on a Page, and those values should be encrypted to some extent. In other words, it is required the ...
5
votes
3answers
262 views

Tridion Gui Extension Error Message: Unable to get unique id for element. What is the cause?

I'm trying to build a GUI Extension to 2011. One of my requirements is that there be a 'settings' page for this extension that a Tridion user can access from the Ribbon. When Tridion loads, the GUI ...