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
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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.
...
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 ...
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:...
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.
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 () {
...
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 ...
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:
...
5
votes
Accepted
XPM Gui extensions - customize the content library display
Try this: "Extensibility | XSLT inclusion"
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gui-extensions × 269cme × 96
2011 × 35
2013-sp1 × 32
web8.5 × 32
2013 × 22
web8 × 19
experience-manager × 18
2011-sp1 × 16
event-system × 9
core-service × 8
a4t × 8
configuration × 7
javascript × 7
sdl-tridion × 6
content-manager × 6
workflow × 5
translation-manager × 5
rtf × 5
publishing × 4
schema × 3
upgrade × 3
outbound-email × 3
sites-9.1 × 3
2013-sp1-hr1 × 3