sitecore-mvc Questions

11

I am learning Controller rendering in Sitecore from Here . I created One simple controller(HelloWorld) and Related View(Index.schtml) . Mapped it(with Name PageContent) in rendering section of Sit...
Lordinwaiting asked 25/9, 2014 at 5:59

3

I'm having this issue related with Tracker. [InvalidOperationException: Tracker.Current is not initialized] Sitecore.Analytics.Pipelines.StartAnalytics.StartTracking.Process(PipelineArgs args) +3...
Barham asked 21/10, 2016 at 11:12

2

I have a Sitecore site and on 2 of my CD servers, Url.Action returns an empty string. This works locally and on 9 other servers ranging from dev to prod, CD and CM. Deployment automation ensures t...
Impaste asked 30/1, 2018 at 18:44

5

Solved

I'm trying to render a general link field like this - FieldRenderer.Render(item, "link"). This works as expected but how do I set custom text within the a tag that gets rendered. I want my output...
Electra asked 25/7, 2014 at 14:55

1

We have a rendering listing the selected items in a TreeSelect in the current item. In our case we call them "Tags" (1) We have added a Field Editor Button to the component to let the editor chang...
Inhalant asked 28/5, 2015 at 11:44

3

Solved

I get an error when save a page in page editor.. Somehow when I edited the page from presentation > detail and display it in page editor it works fine.. The error logs is in below here.. ERROR Aft...
Jijib asked 27/1, 2016 at 5:45

8

Solved

I'm getting this error in Visual Studio, when I use @Html.Sitecore: 'System.Web.Webpages.Html.Htmlhelper' does not contain a definition for 'Sitecore' and the best extension methods overload 'Si...
Intracellular asked 10/6, 2014 at 17:58

2

Solved

I'm looking for a working Dynamic Placeholder solution in MVC. There are at least two good descriptions of this "pattern" for use with WebForms: http://trueclarity.wordpress.com/2012/06/19/dynami...
Libradalibrarian asked 28/2, 2013 at 11:45

3

Solved

I've been looking at Sitecore MVC but I'm stuck at how to handle a case where my page has two controller renderings and each contains a form. I want the individual controllers to handle their HttpP...
Bristling asked 15/4, 2014 at 12:48

2

I have done an upgrade from Sitecore 7.5 to Sitecore 8, And I am getting an error when trying to Access the Content Editor. Server Error in '/' Application. Value cannot be null. Parameter...
Macguiness asked 11/9, 2015 at 6:24

2

Solved

It was all of a sudden and it just stopped working. I have no clue what went wrong, what caused this to occur: Could not instantiate event handler. Type: Sitecore.Publishing.HtmlCacheClearer. M...
Megohm asked 16/1, 2016 at 14:7

2

Solved

I am running Sitecore 8 (Update 5) on .NET 4.6 and am running into an issue with Bundles returning a 404 error. My layout view: @using Sitecore.Mvc.Presentation @using Sitecore.Mvc @model Render...
Proceed asked 27/8, 2015 at 20:32

2

Solved

i want to get global setting from web.config file in sitecore solution, i write setting in config file and able to see it's entry in showconfig. when i try to get it's value, it is not giving appr...
Walkin asked 14/8, 2015 at 7:29

1

Solved

I'm trying to add a view returned from a controller into my view statically. In standard MVC I would do something like the below. @{Html.RenderAction("Product", "ProductListing", new {productId = ...
Iodize asked 4/8, 2015 at 8:28

1

With Sitecore 7, most of my query strings have become custom routes. For example: OLD: /calendar?year=2013&month=7&day=14 NEW: /calendar/2013/7/14 As a result, I find myself in need of v...
Autobahn asked 14/7, 2013 at 18:23

1

Solved

I was wondering if there was any way to statically call a View Rendering similarly to how you would call a sublayout using the following web forms code: <sc:Sublayout Path="~/sublayouts/samples...
Cyr asked 27/6, 2013 at 20:9

2

Solved

Could someone help me clarify when to use the following (they all look similar to me and confusing): Item Rendering View Rendering Controller Rendering Method rendering XSLT Rendering Rendering p...
Shevlo asked 19/2, 2013 at 12:30
1

© 2022 - 2024 — McMap. All rights reserved.