Questions tagged [pipelines]

Questions about working with all the Sitecore pipelines: custom processors, patching, configuring, ...

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Sitecore Renderfield Args is not working for General Link Field [duplicate]

I am using Sitecore 9.3 I have made a new processor: <processor type="My.Assembly.Namespace.UpdateLinkClass, My.Assembly" /> <processor type="Sitecore.Pipelines.RenderField....
0
votes
0answers
24 views

Triggering Unicorn Auto-Publish on Dedicated Publishing Instance

We have a dedicated publishing instance and would like to use it when we run the Unicorn auto-publish. Currently when running the unicorn sync the publish always uses the CM server, even though we ...
0
votes
1answer
37 views

Is there any way to update the response of a controller action by pipeline process?

Is there any way that I can update the response of a controller action by pipeline process? In httpRequestEnd or httpRequestBegin for example P.S: I'm using Sitecore 9 update 1 included EXM. I created ...
0
votes
1answer
35 views

GetChromeDataProcessor usage

I am using the GetChromeDataProcessor processor as below. But I have a problem with the GetChromeDataProcessor inheritance. I am getting en error "GetChromeDataProcessor is absolute so Please use ...
1
vote
1answer
42 views

How do I hide a field from display in the Experience Editor's component editor?

I need to hide a template field on both Content Editor and Experience Editor. For Content Editor, I could achieve it by overriding the GetFields pipeline. It still shows up on the Experience Editor. ...
1
vote
2answers
52 views

How can I render a “stub” one-line div for renderings hidden by personalization rules instead of having them completely removed from the DOM?

Our Sitecore 9.0 MVC solution makes extensive use of personalization rules to conditionally hide certain Renderings. But we have marketing automation software that scans the DOM for certain data-...
0
votes
0answers
151 views

OpenId Connect/Owin exception: No owin.Environment item was found in the context

We have implemented OpenID connect using OWIN middleware on Sitecore 8.2. Unfortunately, the way secure pages have been defined in this site is by pages inheriting a particular template, as opposed ...
2
votes
1answer
75 views

How to derive from the obsolete ExecuteRequest pipeline processor

We are upgrading to SC9.3. A custom class UserRequestProcessor which inherits from ExecuteRequest has errors now, as the new ExecuteRequest class in not a parameterless constructor anymore. The ...
1
vote
0answers
120 views

Pipeline to override image field data source

I'm trying to see if I can over-ride the datasource location of an image field for content editors when selecting the data source (not at render time). E.g in the browse media dialog window that is ...
1
vote
2answers
131 views

MediaCreator.CreateFromStream creates an item with the template “File”

I'm using Sitecore.Resources.Media.MediaCreatorOptions and Sitecore.Resources.Media.MediaCreator to programmatically create media items. I've set the MediaCreatorOptions.FileBased property to false ...
0
votes
1answer
78 views

Changing the language does not retain the URL and path is chopped off after content item

I have implemented Item resolver for item "quote" [home->quote] like http://sss.com/quote/Certquote/32 by implementing public class CustomItemResolverForQuote : HttpRequestProcessor { .... } ...
2
votes
1answer
123 views

How do I programmatically get an item on which I am performing a publish?

How do I programmatically get an item on which I am performing publishing, irrespective of checkbox being checked (smart publish/ republish or publish related items or publish subitems)? I don't want ...
0
votes
0answers
53 views

Get attached Datasource field value in the rendering template

There is a rendering parameter template Background Properties and it has a field Background Class. Rendering Parameter Template (Background Properties) -Field (Background Class) When rendering ...
0
votes
0answers
82 views

Trying to show children of items (with Lock child relationship = true) in a bucket

I am trying to let children show up when you search and open a item that is in a bucket (Lock child relationship is set to true). This blog post describes this: http://www.goblinrockets.com/2015/03/...
1
vote
1answer
178 views

Sitecore 9.2 Virtual User Authentication and SessionId Cookie [closed]

On the project I'm working on, we have chosen to use Sitecore 9.2 XM with Identity Server disabled. Where in the pipeline should I expect to see the ASP.NET_SessionId cookie get generated to be sent ...
1
vote
0answers
36 views

On Item Creation: Warning/Confirmation dialog for invalid Item Name

I want to create a Warning/Confirmation dialog when certain items do not pass our custom item name validation rules. The user can still override the warning dialog via OK/Cancel Buttons. I've tried ...
2
votes
2answers
126 views

Archiving processor does not archive

I've set up a timed processor that takes items of a particular type and archives them if they haven't been updated in two years. I have it logging the correct item that it finds, but the article does ...
0
votes
2answers
230 views

Update Missing Title, Alt Text,Description for Images

We are using Sitecore 8.2 Update 2 and it has a lot of images which has missing Title, ALt text and Description for Images. We performed below action Wrote a Pipeline which inherits from Render field ...
2
votes
1answer
391 views

How can I override the serving of Media Files? (Implementing authentication for media items)

I'm using Sitecore 9.0.2 What I want I'm having an issue serving media files. I would like to check if an user is authenticated before it is served. What I tried I'm currently doing this for all ...
3
votes
1answer
226 views

Could not find method: Process. (My implementation of FilterUrlExtensions)

I'm using Sitecore 9.0.2. I am implementing a class to override Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions. I wrote my patch config as such: <?xml version="1.0" encoding="utf-8" ?&...
2
votes
2answers
350 views

Could not create instance of type (My implementation of FilterUrlExtensions) No matching constructor was found

I'm using Sitecore 9.0.2. I am implementing Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, that in Sitecore 9.0.2 has a constructor with the following signature: public ...
3
votes
1answer
229 views

Programmatically add log information in all renderings (controller, view) HTML

Is there an option to write some logging information, like rendering name and data-source location, in every view programmatically, without go and modified in all views?
0
votes
0answers
21 views

Pipeline for publishing media items attached to a content item? [duplicate]

I have an "audio" content item that has file fields for a transcript file and a mp3 file that both reside in the media library. When I publish the audio item, I want to have it also publish both of ...
7
votes
4answers
520 views

Whats the difference between /configuration/sitecore/processors and /configuration/sitecore/pipelines in Sitecore configuration?

Or is it like the difference between hooks and processors? (where a hook is executed by a specific processor) Or are processors used for non-visual/http process and are instead used for things like ...
0
votes
2answers
271 views

Sitecore 9.1.1 null exception on EnsureLoggedInForPreview.Process(PipelineArgs args)

I have got Sitecore 9.1.1 installed on CM and CD server. I am getting the below exception only on the CD server: 5048 12:18:51 ERROR Application error. Exception: System.NullReferenceException ...
4
votes
2answers
137 views

How to catch field reset in item:saving event

I want to make a item:saving pipeline processor that will perform some operations when a item field is reset. I thought this would be simple, but it turned out to be trickier than I thought. Maybe I'm ...
0
votes
1answer
64 views

Item accessible only via display name

As I know, by default, an item is accessible both via name and display name. This creates SEO issue because there is duplicate content. Is there a simple way to disable access via name or I need to ...
-1
votes
2answers
316 views

Issue sending Base64 encoded image in JSON to Sitecore MVC controller method

I wonder if someone could help or point me in the right direction as a Sitecore novice. I have a Sitecore MVC controller wired up to accept a JSON request. Within this request can be a Base64 encoded ...
4
votes
1answer
125 views

Why is SignInProcessor triggered twice?

I've created a custom pipeline to process the login to sent 2FA token. But somehow the pipeline is triggered twice. It doesn't happen with LoggingInProcessor (Used before Sitecore 9). Anyone know why? ...
5
votes
1answer
137 views

Accessing Application_PostAuthorizeRequest via pipeline

I'm working on a scenario that requires I use session state in API calls. I found an article that discusses the setup, https://www.c-sharpcorner.com/UploadFile/dacca2/web-api-with-ajax-handle-session-...
2
votes
1answer
207 views

Experience editor custom notifications with getPageEditorNotifications patching not working

I want to show some custom Error Messages as Notifications right under the toolbar in the experience editor. I've tried to implement the Alerts from Habitat but I am not shure if this is the right ...
1
vote
2answers
343 views

How to rework LoggingIn pipelines in Sitecore 9.1?

In Sitecore 8.2, I had pipeline with password complexity check: public class CheckPassword { public void Process(LoggingInArgs args) { var validator = new CustomValidator(); ...
2
votes
1answer
163 views

Error when overriding validators pipeline to create custom error text

I've been trying to duplicate the solution proposed here and I'm running up against an error that I can't seem to debug. My config patch is here: <configuration xmlns:patch="http://www.sitecore....
6
votes
1answer
773 views

Sitecore Logged In Pipeline in Identity Server?

I've created a Two Factor Authentication. It's working by adding our custom processor before Sitecore.Pipelines.LoggedIn.Ticket. But now in 9.1 with Identity Server, it won't be triggered unless I ...
0
votes
0answers
116 views

How to abort the request execution from GetPageItemProcessor (Sitecore 8.2)

How to abort the execution of the whole request and redirect to another page from GetPageItemProcessor Sitecore pipeline processor. I tried a few options but they all make the execution of the request ...
0
votes
1answer
333 views

Custom Dependency Injection for Sitecore pipeline processor with Ninject

I can't use the sitecore Dependency Injection. So I've implemented a custom Resolver for my Controllers for Ninject, that works fine. But this is not working for pipelines. How can I create a ...
1
vote
0answers
70 views

Sitecore 9.1 Dynamics Marketing List to XConnect Sync pipeline

Dynamics Marketing List sync in 8.2 is inbuilt pipeline and works for our requirement.It looks like that functionality is removed in 9.1 and we need to create our own pipeline for marketing list sync. ...
4
votes
1answer
195 views

Automatically create data source's for controls when user adds page from experience editor

Hello I'm trying to override the AddFromTemplate pipeline to manually create datasources for the components inside the template that i'm using. What I would like to accomplish When a user clicks the ...
4
votes
2answers
493 views

Couldn't trigger custom event handler or Processor in Sitecore Publishing Service? [closed]

I have a requirement to invalidate the file in cdn cache on completion of sitecore item publishing. To achieve this I have created custom processor and patched into "publishEndResultBatch" pipeline, ...
1
vote
1answer
85 views

How to preserve the workflow state on closing a custom modal in Sitecore 8.1

My Customer has a regulatory compliance requirement to add secondary authentication prior to any workflow approval, so the approach that I have taken is by defining a custom Action which opens a ...
1
vote
1answer
78 views

Disable a pipeline during package/update installation wizard

Is there any way to disable a specific pipeline, or part of a pipeline, during an item install via package or update installation wizard? I have a custom pipeline for item:created that I'd like to ...
1
vote
1answer
163 views

Sitecore Pipeline Singleton

We have multi-step form hosted in sitecore 8.2. As user fills up each step and click on next, our custom pipeline gets invoked. For each steps we have corresponding pipelines. Each pipeline updates ...
1
vote
0answers
170 views

$name token not replaced when creating from branch template

Sitecore 9.02 - I have a branch template I've made to create a new page. The template it's based on has a Title field with a standard value set to $name to do the replacement. However, when I create ...
1
vote
1answer
100 views

What dll I need for Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders

Where I can find information what dll install for certain namespace or class? I'm not able to find Sitecore.Mvc.ExperienceEditor.Pipelines.RenderPageExtenders.
6
votes
0answers
291 views

Disable EXM dispatch on CM and offload to DDS?

We are implementing an EXM solution for sending bulk mail, but have come across an issue in scaled environments when using a Dedicated Dispatch Server. We have offloaded all dispatch to the DDS by ...
0
votes
1answer
135 views

Stop logging Sitecore.Mvc.Diagnostics.ControllerCreationException [duplicate]

My web application is loggin huge number of below exception class:Sitecore.Diagnostics.Log exception:Exception: Sitecore.Mvc.Diagnostics.ControllerCreationException Message: Could not create ...
0
votes
1answer
76 views

Where can I put my custom pipeline to be executed right before Sitecore 8.2 Data Provider?

I have some external data to be populated before my External data provider is executed. Let say I have 2 functions call external data: GetAllItems() GetItem(string itemId) Those functions will ...
1
vote
0answers
378 views

Custom parameters in media URL query string - Sitecore render method/pipeline

I am using Sitecore's render method to construct the query strings for image assets, but I have a small challenge parsing custom parameters into the rendered query string in the HTML. It seems that ...
2
votes
3answers
736 views

Is there a way to debug an initialize pipeline processor

I've used JeffDarchuk's EPExpressTab in an exercise to show some custom data. I've used the quick & dirty part. It worked to certain extent, since I ported the code to my solution. I have my ...
8
votes
1answer
735 views

How to avoid logging an error when aborting a pipeline

By default an error is logged when I abort a pipeline in Sitecore XC9. For example; context.Abort("Abort pipeline", context); Sometimes I want to abort a pipeline without logging an error, i.e. ...