Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pipelines]

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

2
votes
0answers
21 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? ...
1
vote
1answer
25 views

How do you end the current request when performing a response redirect in a RequestBeginProcessor

I have args.AbortPipeline(); HttpContext.Current.Response.Redirect(result.Url + $"?q={searchTerm}", true); but the request continues to the controller
5
votes
1answer
35 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
30 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
1answer
56 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(); if(...
2
votes
1answer
64 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
87 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
16 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 processer. I tried a few options but they all make the execution of the request ...
1
vote
1answer
69 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
21 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. ...
3
votes
1answer
54 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 ...
3
votes
1answer
97 views

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

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
49 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
43 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
92 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
61 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
37 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
100 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
51 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 ...
-1
votes
1answer
63 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
164 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
2answers
361 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
646 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. ...
3
votes
2answers
488 views

Stop executing remaining processor of a pipeline

Suppose i have 5 processor in a custom pipeline. I want to abort the execution of remaining processor if certain condition is satisfied in one of the processor.
1
vote
2answers
169 views

Response.Redirect in Mvc.requestbegin processor does not end response

Im doing below in mvc.requestbegin processor if (!IdentityChecker.IsUserIdentityValid(args.RequestContext.HttpContext.Request.RequestContext.HttpContext.Request) && !args.RequestContext....
3
votes
1answer
95 views

Email notifications to all subscribers when the new document is published

I want to be able to send email notifications to list of subscribed users (<500 users) registered under membership provider as soon as a new document is published to content delivery. This can be ...
1
vote
1answer
132 views

How to add renderings programmatically when another rendering is added

Which pipeline should I use when a new rendering is added in the presentation? I have a scenario to add renderings programmatically if a particular rendering is added in the item. I will write a ...
0
votes
0answers
54 views

Removing Width and Height Attributes on Images added via Rich Text Editor [duplicate]

I have used the method seen here to remove the Width and Height attributes on an image generated using the HTML Helpers in Sitecore, and it works perfectly. Is there a way to apply this same ...
7
votes
2answers
621 views

Pipelines vs Event Handlers

What is the difference between Sitecore Pipelines and a Sitecore Event Handlers for a specific event? When should we customise a pipeline and when should we add a new handler?
1
vote
1answer
155 views

Replacing 404 errors with 410 Sitecore 7.2

This may be a little broad so I'd appreciate any pointers. Is there a way to replace the typical 404 response with 410 for pages that have been deleted? Obviously I'd like to keep 404 responses for ...
4
votes
1answer
221 views

How to add custom code on workflow state change?

Is there a pipeline / event available which I can plug into to execute custom code when workflow state changes for any item?
0
votes
0answers
26 views

Sitecore query customization doesn't display the correct datasource on Experience Editor

I'm using customization to allow Sitecore query on dataSource fields of components, by adding a custom pipeline processor to mvc.renderRendering pipeline. (was following the http://sitecorepro....
4
votes
2answers
182 views

Which pipeline is used to change the workflow state internally?

We are trying to add in additional code everytime an item moves into Editing state of the workflow. When does this happen? Would I add this code on item save? Version added? Admin users usually dont ...
0
votes
2answers
191 views

Could not create object from service provider - Registering service using Dependency Injection

I have created an ItemNotFoundResolver and injected it after ItemResolver pipeline as follows : public class ItemNotFoundResolver : HttpRequestProcessor { private readonly ISitecoreEntityService ...
1
vote
0answers
38 views

What are the benefit of pipelines? [closed]

I see several cloud providers offering pipeline services - GCloud with Dataflow. I am wondering how and when to use it in an complex application architecture. It doesn't seem adapted for serving ...
4
votes
1answer
53 views

Is there a way to differentiate when a custom processor is being executed out of Sitecore context instead of a package being installed?

I am implementing a custom processor for item:created and I'm wondering if there is any easy way to determine if the item being created is being processed through the context of a user using Sitecore ...
3
votes
1answer
71 views

Sitecore.Pipelines.HttpRequest.EnsureServerUrl Processor very slow

I have a multi-site Sitecore instance (Sitecore 8.2), and one of the sites is very slow to load. I enabled Pipeline profiling, and saw that the httpRequestBegin pipeline is taking a large majority of ...
1
vote
1answer
659 views

URLRedirection Custom HttpRequestProcessor

I am currently trying to build 301 redirect module in sitecore9.trying to receive requested URL .will be verifying in the content tree if requested URL has redirect URL then redirect to the URL with ...
1
vote
0answers
27 views

Getting ClientSide Piplines to fire

I am on Sitecore.NET 8.0 (rev. 160115) January 15, 2016 .NET Framework 4.0.30319.42000. I am trying to follow these instructions on how to fix a fixed position navigation So, I created the Js file &...
2
votes
0answers
59 views

Encrypt zip file while uploading to media library folder sitecore 8.2

i have followed the sitecore link and create my custom processor for (Sitecore.Pipelines.Upload.Save). i have faced issues while saving all media items. it gives error on file.SaveAs(filename); ...
0
votes
1answer
44 views

Pipeline issue while installing Sitecore Commerce 8.2.1

I am trying to install Sitecore Commerce 8.2.1 with Sitecore 8.2 (initial release 160729). I am following the instruction at Sitecore Commerce SDN. After I install Commerce Server 11.4.153 using exe, ...
2
votes
1answer
153 views

How to get Sitecore Pipelines to run along with /API calls

Our team is running Sitecore 8.2 Update 4 using a traditional MVC configuration. We wrote a pipeline that will inject CORS HTTP headers into the response that are configured via an item in Sitecore. ...
1
vote
0answers
98 views

Can we use Sitecore pipeline engine when implement a “Custom Form” on Sitecore platform?

Background We are trying to implement a "Custom Form"(not Sitecore wffm) on Sitecore platform. The form is a multiple-steps form. To make it simple, let's say 3 main steps: enter personal ...
1
vote
1answer
51 views

Can a sublayout/rendering trigger the item not found pipeline?

I have a sublayout/rendering that lives on a wildcard item within the content tree. For example, at /sitecore/content/home/news/news-features/*/*/*/*. The sublayout/rendering checks an external data ...
1
vote
1answer
781 views

Dependency Injection for Sitecore pipeline processor

We are using Castel windsor for DI in our Sitecore solution. Though we haven't done any IOC registration using Sitecore pipelines, It still resolves the Controllers. I'm fine with it. But the same is ...
2
votes
1answer
76 views

How to create a new InventorySku?

I am using the IGetInventorySkuPipeline to get hold of an InventorySku object. If I get one, then I want to modify and save it and if I don't get one (for the productId I send down the pipeline), then ...
0
votes
1answer
164 views

Setting Sitecore context language / Commerce price group from cookie

Typically I would go into Global.asax.cs and add the code to set context language / culture and commerce price group / currency from a cookie (if available) in the session_start event. I see multiple ...
0
votes
1answer
163 views

Pipeline For Media Library for CD

I'm new to Sitecore and I'm looking for the details of media library pipelines in CD. I'm trying to redirect media library link based on a flag. If the flag is checked for media library item then it ...
0
votes
1answer
604 views

Programatically render nested renderings/placeholders from an item [duplicate]

I am working on programatically rendering an item to html in code. I found this question https://sitecore.stackexchange.com/a/6256/1133 which almost serves the purpose of my request, except it isn't ...
9
votes
1answer
139 views

Initialize service in pipeline to be available through one httprequest

We're using Sitecore 8.2, habitat. I have a service that I need to use throughout a full HTTP Request. This service should be instantiated once (we use dependancy injection) and then be available ...