Questions tagged [sitecore-mvc]

Any question that are related to MVC pattern in context of Sitecore including controller and view rendering can make use of this pattern.

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

How to retrieve a rendering varient field values in sitecore 9.0.1 using sxa 1.7

I am creating a custom search result component, but at the end i m able to retrieve rendering varient fields name not the values .How to retrieve rendering varient field values which is linked to a ...
0
votes
1answer
126 views

Unpublish an item using Experience Editor Mode in Sitecore

I have a requirement to be able to unpublish an item using experience editor mode in Sitecore. It requires to either unpublish a module as a whole or to unpublish a particular item from that module(as ...
0
votes
2answers
281 views

How to add Javascript methods in MVC view when jquery will load later

I think Sitecore devs may have experienced this and hence posting here. I would like to add Javascript methods in a view. But jQuery is referred in the body tag at the end (moving to head is not an ...
0
votes
2answers
292 views

Dynamically generated PDF display on browser Issue with Sitecore MVC

I am trying to display PDF on the browser with Sitecore MVC. The PDF is generating dynamically from back-end. Below are approaches I tried and also given outcome. Approach 1: public ActionResult ...