7 votes
Accepted

Access Tridion object in Browser Console?

No takers, so I'm posting what my colleagues explained, as a community post (no points, but feel free to update and add details). With SDL Tridion 2013 SP1, you will find the Browser console ...
6 votes
Accepted

Get selected text in Format Area

Just found out in this blog that simple .toString() over >$display.getView().properties.activeEditor.getSelectedHTMLElement().toString() will return the text.
user avatar
  • 8,446
6 votes
Accepted

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

At the moment I imagine that your current implementation is "baking" your HTML during publishing and including some JSP code which is executed on the server. There's nothing to stop you from having ...
user avatar
4 votes
Accepted

Retrieving data from APP_DATA table

First you are using the TOM.NET API in your own defined web service, that is not appropriate usage of the TOM.NET API. Basically you should only use the TOM.NET API in Template Building Blocks and in ...
user avatar
  • 29.6k
4 votes

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

As far as I can see, there is no "meaningful API documentation" that I can find either. There are, however, various tutorials online on putting together GUI extensions, for example: Validating ...
user avatar
  • 1,441
4 votes
Accepted

Adding third-party JS to CMS page

Quick answer yes, there are many ways to refer the libraries. It depends upon where you need to refer and your use case like is it on content management end or on the actual web pages. Here are a ...
user avatar
4 votes

Debugging web service call method in Tridion

To debug it on the server, you need to attach to the w3wp.exe process that is hosting the web service. To debug it on the client, you can either set breakpoints in the development tool of your browser ...
user avatar
  • 19.8k
4 votes

How to add custom links on top Header & Left Menu

oh boy, explaining gui extension requires a lot of time, i suggest you take a look at how they are created using this page in documentation: https://docs.rws.com/816112/696275/sdl-tridion-sites-9-5-...
user avatar
  • 8,446
3 votes

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

That is indeed the correct way to pass arguments to an 'external' popup. You are just missing the right way to read them again. To do so, you should register a view ($display.registerView) in your ...
user avatar
  • 19.8k
3 votes
Accepted

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

Since you wish to validate data, you are really should be hooking into the 'validate' event of the model object(s) in question instead of the commands. The 'validate' event is fired in all of the ...
user avatar
  • 19.8k
3 votes

Minifying javascript with yahoo minifyer

Looks like you've solved it. If you were executing your template via publishing, then, IIRC the DLLs should be in Tridion/bin or GAC. However, Template Builder looks for them, as you found out, in ...
user avatar
3 votes

JavaScript library with Tridion & XPM

There can certainly be issues with XPM and other JS libs, in particular those that rely on heavy Ajax. The project that John is describing was actually full of JS issues (though most we're not XPM ...
user avatar
3 votes

JavaScript library with Tridion & XPM

We've done a lot of work with JQuery (and DOM manipulation) and a whole host of other JS libraries, and not experienced any technical issues. We've added XPM to an existing site in the past where ...
user avatar
  • 14.3k
2 votes

How to pass Tridion Content TCM URI to Javascript

There is nothing special about Javascript in this context. As I see it, you have exactly the same situation as if you were publishing a binary link in some HTML. (It's all text!). So if what you have ...
user avatar
  • 18.5k
2 votes

How to pass Tridion Content TCM URI to Javascript

As per your comments, you are trying to add all the UI design on Component. It's not a right approach. Ideally you should attach the multimedia component on the actual component as component link ...
user avatar
  • 4,324
2 votes

Minifying javascript with yahoo minifyer

We had a similar issue of referring a 3rd party DLL from the templating code. Instead of putting the 3rd party DLL in GAC which requires approvals from the clients, we used ILMerge to merge the 3rd ...
user avatar
  • 509
2 votes
Accepted

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

Looking at the component with Dev tools enabled, could see this invalid markup character at the end of the namespace: error on line 1 at column 67: xmlns: 'http://site.domain.com/folderPath/...
user avatar
2 votes

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

As far as I know, there is no documentation per se other than the "auto-docs' which you have found. You are correct to say that this documentation is often not as fully detailed as you may wish, ...
user avatar
  • 18.5k
2 votes
Accepted

is there a way to open websockets in Tridion

Short answer: Yes, but read the long answer. Long answer: Unlike some CMS solutions, Tridion does not serve your website, it provides various means of publishing content, which your web application ...
user avatar
1 vote
Accepted

How to add custom links on top Header & Left Menu

I'll add some info on custom pages and the slide out navigation. Custom pages For shortcuts to other applications, consider using the built-in Custom Pages feature for adding custom (iFramed) pages. ...
user avatar
  • 12.6k
1 vote

How to make Tridion folder structure configurable in custom GUI Extension (to hide retired schema)?

Rather than a folder, could retired schemas not have their title/description updated with a token like "[Retired]" that you can then detect and remove if you subsequent methods?
user avatar
  • 6,668
1 vote

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

Although you can use JavaScript in both "Classic" ASP and in "Classic" Tridion templates, these technologies are very different. I don't remember much about classic ASP, but I don't think the this ...
user avatar
  • 18.5k
1 vote

Retrieve page ID on the first OnSave

Here is an untested code sample to get you started. You can add the code to check if the current page already has a version to know if the event was triggered on first save or not. Add this to a ...
user avatar
1 vote

Debugging web service call method in Tridion

The method Hao Peng suggested was useful. The call of web service method had to be changed to pass parameters like a handler for the functionality to work properly and OnComplete and OnError in order ...
user avatar
  • 861
1 vote

Debugging web service call method in Tridion

I presume you are calling wcf in an asynchronous way in which case the call following your wcf request would execute as expected even if the request failed You might want to add parameters for ...
user avatar
  • 378

Only top scored, non community-wiki answers of a minimum length are eligible