13 votes
Accepted

How can I access custom configuration settings in a GUI extension?

Server-side The XML is available through the ConfigurationManager object from Tridion.Web.UI.Core: XmlDocument myConfigurationXml = ConfigurationManager.Editors["MyEditor"].CustomXml Client-side ...
Peter Kjaer's user avatar
  • 19.8k
9 votes
Accepted

Opening a popup with Alchemy4Tridion framework

It appears that Alchemy does not yet pick up HTML files. Try creating it as an ASPX file instead. Static HTML files are often cached a little too aggressively by the browsers anyway, so you might want ...
Peter Kjaer's user avatar
  • 19.8k
9 votes
Accepted

Is there an extension that can Export search result To Excel for Web 8?

You can also try the Export Item List alchemy plugin. It can be downloaded from here: https://www.alchemywebstore.com/plugins/Export-Item-List If you want to customize or extend it the code is also ...
Saurabh Gangwar's user avatar
9 votes

GUI not rendering <br> and new line showing error messages

You would have to make CSS updates through a GUI extension besides using the new line (\n) in your exception message. In your event system exception, you will be using the new line like this: throw ...
Sabarish Senthilnathan's user avatar
8 votes
Accepted

Notification Message Event | Anguilla

You should be able to add an event listener onto the MessageCenter listening for the "newmessage" event. You'll probably have to filter off of the returned event object's data property. It's a multi ...
Alex Klock's user avatar
  • 2,926
8 votes

Disable publish or unpublish button in ribbon tool bar or context menu in Tridion

If this makes sense per your business requirement (and do not want to restrict yourself to GUI Extension), you may follow the below approach as well: Create a group in Tridion CME and add all users ...
Pankaj Gaur's user avatar
  • 15.9k
8 votes
Accepted

What is Privileges: 1 refers to in GUI Extension User.Data.Privileges

That indicates the user is a System Administrator I believe. Edit: As noted by Nuno in the comments this has changed in SDL Web 8.5 with the introduction of the Privileges model. See related ...
Rob Stevenson-Leggett's user avatar
7 votes

Read appdata in GUI extension

When you say "the" appdata do you mean the extension relates to components and you want to store the data in the component appdata? (I guess one good reason to do this is that it could be content ...
Dylan .. Mark Saunders's user avatar
7 votes
Accepted

gui extension - selecting the correct frame and using correctly the Javascript Console

It depends on the browser you are using. In Chrome, it's a drop-down list in the top-left corner of the console: In Firefox, it's an icon in the top-right: And in Internet Explorer it's a drop-...
Peter Kjaer's user avatar
  • 19.8k
7 votes

Tridion 8.5 UI Extension - How can I plug into rollback process?

To trigger your custom the event handler after the Rollback button is clicked, you'd have to get the controls of the Rollback button and register your custom function on an onclick event. In your ...
Sabarish Senthilnathan's user avatar
7 votes
Accepted

SDL Tridion Character Limit increase on Keywords' Description Field

AFAIK: It's not possible to extend Keyword description field size it's tied with Database ITEM table Description field size, currently, it's designed to allow 255 characters only. If you're looking ...
Velmurugan's user avatar
  • 7,950
6 votes

Using settings to enable/disable command in Alchemy4T

The way that I've done this in the past is to create a function separate from the isEnabled function which I use to place the settings in a global variable. I then reference this from inside isEnabled....
Tanner Brine's user avatar
  • 2,512
6 votes

GUI Extension - Extending Publications Block in left Panel

With the help of answers from @UI Beardcore and @Julián Hernández, I created a Alchemy Plugin called Publication Panel Search for this. Below are the steps I did: Extended dashboard On dashboard ...
Saurabh Gangwar's user avatar
6 votes
Accepted

Alchemy Settings : Alchemy Not Defined

Most likely if you are seeing the Alchemy Not Defined error message then you are missing the Alchemy WebAPI proxy from your resource group. Within your resource group, just add the following ...
Alex Klock's user avatar
  • 2,926
6 votes
Accepted

Remove a default Button or Command?

I don't know of any out-of-the-box mechanism, but you could always hide a button using your own CSS -- as well as disabling the command by overwriting it and returning false in the isAvailable and ...
Peter Kjaer's user avatar
  • 19.8k
6 votes
Accepted

Read appdata in GUI extension

Have you seen this post as well, perhaps it helps: https://stackoverflow.com/questions/10801301/how-to-set-tridion-applicationdata-using-anguilla-javascript It is somewhat outdated (very likely ...
Elena Serghie's user avatar
6 votes

From Where are Publishing Priorities are fetched?

As I see this is internal functionality of the product, so maybe some details how it works can provide someone from SDL. The question here is what are you trying to achieve, since I am not sure that ...
Marko Milic's user avatar
  • 8,863
6 votes
Accepted

Getting the current selected item in Command Console using GUI extension commands

This isn't how you are supposed to get the selected items. The recommended approach is to create a command for your feature, which will then get called with the selection of items -- either from the ...
Peter Kjaer's user avatar
  • 19.8k
6 votes

Hooking into events on Item Toolbar in Component View

OK - the issue was my incorrect assumption that the Item Toolbar was of type Tridion.Controls.TabControl, when it is in fact Tridion.Controls.RibbonToolbar! The following line: var tabs = $display....
Neil's user avatar
  • 6,698
6 votes
Accepted

Rich Text Box: Option to select multiple styles from drop down

As per Jonathan, and here this is not possible. Concatenating class names in the current control will work (I've done this as a one-off for a client) but be very clear on the limitations of scaling. ...
Dylan .. Mark Saunders's user avatar
6 votes

Cannot get broadcasting to messagecenter to work

I know you've sorted out your problem, but I wanted to clarify on why this was not working for you for future reference. In the SDL Sites 9, there is a known issue with the push notification ...
Josh Hebb's user avatar
  • 2,920
6 votes
Accepted

Adding new column to User Management

User Management has a 'faked' TCM id which is "cme:usrmng" (not usermng, as you mentioned) Have you tried this: idmatch="^cme:usrmng$" ? <extensions> <ext:editorextensions> <ext:...
SerjDDD's user avatar
  • 76
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.
Marko Milic's user avatar
  • 8,863
5 votes

Using settings to enable/disable command in Alchemy4T

Finally I get my code working, based partially in the ideas outlined by Tanner Brine. I use a global setting as commented, and a function to read and assign the settings: takeSettings: function () { ...
Raúl Escudero's user avatar
5 votes

SDL Tridion Alchemy Plugin Installation Error

I had a similar issue and got around it by temporarily disabling Anonymous Authentication in my SDL Tridion site IIS. Once the plugin is installed, you should be able to re-enable the Anonymous ...
Damian Jewett's user avatar
5 votes

SDL Tridion Alchemy Plugin Installation Error

I am guessing you are just trying to install a test/demo plugin to start with Alchemy. I just tried to replicate the same error with the same versions, But it works fine for me. What I did: ...
Saurabh Gangwar's user avatar
5 votes
Accepted

XPM Gui extensions - customize the content library display

Try this: "Extensibility | XSLT inclusion"
UI Beardcore's user avatar
  • 2,331
5 votes
Accepted

Installing PublicationMapping extension for Web 8

Mea Culpa! The problem was missing a virtual directory for the Model which explains the problem solving itself when commenting the model section of the extension. But I do wish that the errors ...
Kunal's user avatar
  • 1,485
5 votes
Accepted

Automatically logging out SDL Web 8 user from the CME after X hours

There will be two step process: Create javascript file which can detect idle time. Refer following link for this implementation: Detect idle time in javascript Load this javascript in ...
Hiren Kaku's user avatar
  • 3,728
5 votes
Accepted

GUI Extension - selection.getItems();

You've run into one of the oddities of the UI code: if the selection is in the tree (as opposed to the list), it's not part of the selection.getItems() collection. Instead, you have to get it from the ...
Peter Kjaer's user avatar
  • 19.8k

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