Hot answers tagged

25 votes
Accepted

How do I get my section icons in the Content Editor to show again?

Sitecore supports two ways to render the Content Editor. Standard Sitecore Render Themed XML Skin Rendering The pipeline you want to focus on is <renderContentEditor>. You'll find the ...
Pete Navarra's user avatar
  • 14.6k
9 votes

Display custom facets in Sitecore Experience Profile version 9 or later

I do this using Experience Profile Express Tab code. It allows you to add a custom tab to the contact in experience profile. Then you just load your facet into it. You can put anything in the model. ...
Chris Auer's user avatar
  • 13.1k
6 votes
Accepted

Using SPEAK ItemTreeView with an external data source

Yeah, you are right, ItemTreeView doesn't support external source. I ran into this during imlementing a module where I've overrided a the defoult select rendering dialog but the "TreeViewEx" control ...
Artem Prashkovich's user avatar
6 votes

Sitecore 8.0 Preview Mode not rendering all the way

This is a common issue with the Sitecore Preview mode when the website site definition has gone missing. In versions of Sitecore through 8.0 and lower (I'll edit with exact revision number), the ...
Pete Navarra's user avatar
  • 14.6k
5 votes
Accepted

How do I construct a reasonable JS implementation of canExecute() for an Experience Editor Button?

You would have to perform request to the server to check whether your current template meet certain criteria. Request class: using Sitecore.ExperienceEditor.Speak.Server.Contexts; using Sitecore....
Alan Płócieniak's user avatar
4 votes
Accepted

Purpose of IsProductionMode in SPEAK

In the Sitecore.Configuration.SpeakSettings I found: public static bool IsProductionMode { get { return Settings.GetBoolSetting("IsProductionMode", false); } } and above propery is used ...
Vlad Iobagiu's user avatar
  • 18.2k
4 votes
Accepted

Add custom redirect on SPEAK logout

EDIT: Update based on comments If you check the definition of LogoutArgs used in the processor, there is a property called RedirectUrl that is of type: Sitecore.Text.UrlString - if you set this ...
Richard Seal's user avatar
  • 20k
4 votes
Accepted

How do I trigger Sitecore SPEAK alerts programatically?

As you already noticed Experience Editor utilizes SPEAK, but Content Editor "is not there yet". I am not sure whether you can have single code to handle both locations. I would go partially SPEAK ...
Alan Płócieniak's user avatar
3 votes

How do I get my section icons in the Content Editor to show again?

The simple answer is that when Sitecore redesigned the content editor for 8.0, they removed icons from the sections, probably to keep the design cleaner.
sitecorerick's user avatar
  • 2,329
3 votes

I'm looking to implement a better UI Solution for managing content

To start off, I would always recommend training for someone who needs to make use of a WCMS platform before they go in. There is always going to be so much involved. One option is using the sitecore ...
Anicho's user avatar
  • 1,419
3 votes
Accepted

How to open the content editor from SPEAK?

If you know what is the ID of an item you click on you can simply redirect user using this url: http://domain/sitecore/shell/Applications/Content%20Editor.a‌​spx?sc_bw=1&fo=ID, where ID value ...
Alan Płócieniak's user avatar
3 votes
Accepted

A serious error occurred please contact the administrator

with in Sitecore.ExperienceEditor.Speak.Server.RequestArgs class the method name to execute defaults to Process. Check the last line in below method. public RequestArgs(string commandPath, ...
phani's user avatar
  • 804
3 votes
Accepted

Open Speak Dialog In Experience Editor Mode

I found something to go off of with the validation button in the Experience Editor's ribbon which also opens a modal. Copied that item that represented the validation button and edited some fields in ...
Teeknow's user avatar
  • 2,477
3 votes
Accepted

Speak Upload CSV File "can uploader be restricted to allowing a single file to be uploaded?"

You can easily achieve this by using Sitecore Powershell. If Sitecore Powershell is an option, you can easily create a dialog with SPE and also perform an upload of files. The below script will allow ...
Hishaam Namooya's user avatar
3 votes

Open Content Editor From Speak Dialog with Specific Item Selected

You can make use of the below command in the Javascript file to open the Content Editor. window.top.scForm.postRequest('','','','RunShortcut("{E28353A0-FB68-455B-9B2E-99AD280EF64E}")');
Hishaam Namooya's user avatar
3 votes

Sitecore 9.0.1 Datepicker displaying wrong format

I'm glad that Sitecore is now aware of the bug and it will provide a official fix I made a blog about this a couple months ago with the detailed Discussion and the research of the issue https://...
Jose Neto's user avatar
  • 1,015
3 votes
Accepted

While viewing rendering attached to an item in Core DB, Sitecore is throwing server error

As @MarekMusielak mentions in his comment, you will need to use Sitecore Rocks to edit the presentation details of core database items. Open an item's presentation details Edit the presentation ...
Dan Sinclair's user avatar
  • 5,335
3 votes
Accepted

SPEAK application for non Sitecore items

Answer The direct answer to this question is that there is no way to build a SPEAK application without using Sitecore items. This is because using items out of the core database is the foundation ...
Pete Navarra's user avatar
  • 14.6k
2 votes
Accepted

Open Content Editor From Speak Dialog with Specific Item Selected

Here's what I ended up doing. I'm sure there's a way to do it in one step though (somehow emulate a shortcut pointing to an item?). If that ever gets posted I'll accept that answer. This does it in ...
Teeknow's user avatar
  • 2,477
2 votes
Accepted

How do a open a Speak Dialog (or Dashboard Application) from within code?

You can open a SPEAK dialog using the SheerResponse.ShowModalDialog command. Example: SheerResponse.ShowModalDialog(new ModalDialogOptions(url) { Width = "100", Height = "200", Response = true,...
Richard Seal's user avatar
  • 20k
2 votes
Accepted

Initialize custom JS attached to Small Checkbox button on Experience Editor page load

The reason why on Page Load it does not trigger the JavaScript is because you need to set the PostponedCall value to false Using Sitecore Rocks, on the rendering SmallCheckButton, view the Properties ...
Hishaam Namooya's user avatar
2 votes

Speak Upload CSV File "can uploader be restricted to allowing a single file to be uploaded?"

I was able to get this off the ground as a speak application but I had to use FormData to pass it off to a controller. Here are the steps I took: I added a UploaderInfo rendering to my speak ...
Teeknow's user avatar
  • 2,477
2 votes
Accepted

General Link Dialog "InsertLinkViaTreeDialog" misses InsertLinkRules after Upgrade to 8.2u2

Sitecore 8.2u1 Previously InsertLinkButton values were populated with InsertLinkButtonRule (rule item id: {CEDD4633-193B-4D79-8DCC-C49B3C8D0F53}). Where TargetControl of this rule is InsertLinkButton ...
Alan Płócieniak's user avatar
2 votes
Accepted

Passing a Value From an Experience Editor Button to PipelineProcessorControlStateRequest<ItemContext>

This feels like a ton of hacking to pass some parameters. I opted to pass the ribbon id instead of individual field values because I ended up needing more parameters. Adding the id of the ribbon ...
Teeknow's user avatar
  • 2,477
2 votes

Sitecore 9.0.1 Datepicker displaying wrong format

According to the help desk, yes you still have to edit the file. \sitecore\shell\client\Business Component Library\Layouts\Renderings\Common\DatePickers\DatePicker.js But instead of fixing the hard-...
Rodrigo Peplau's user avatar
2 votes

How to trigger upload event for Uploader control?

I found the cause of the problem. In the UploadButton rendering, the click event needs to be set to "javascript:app.Uploader.viewModel.upload()" (where "Uploader" is the ID of the uploader rendering). ...
Iceape's user avatar
  • 617
2 votes
Accepted

How to add functionality or data to Sitecore Launchpad

The way to do this is to create a rendering in the Core database and add it to the Launchpad application's presentation details using Sitecore Rocks. Note: this has only been tested on Sitecore 8.1 ...
Dan Sinclair's user avatar
  • 5,335
2 votes
Accepted

Dates side by side in Sitecore content editor

Sitecore doesn't have such a functionality OOTB . You can have 2 different DateTime fields and you can add them in a single section of the template or you can build your own custom field to look ...
Vlad Iobagiu's user avatar
  • 18.2k
1 vote
Accepted

How to configure horizontal scroll bar for Sitecore SPEAK 2.0 ListControl Component?

I believe this is not possible in Speak 2 based on documentation from Sitecore. It is stated here that ListControl control supports a number of behaviors: EndlessPageScroll, MultiSelectList, and ...
Peter Procházka's user avatar
1 vote

Passing a Value From an Experience Editor Button to PipelineProcessorControlStateRequest<ItemContext>

As far as I see this is not really supported without hacking Sitecore. The LargeButton has his own .js and .cshtml which is collecting the properties from the core database. Exactly in the following ...
Tamás Tárnok's user avatar

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