Questions tagged [sitecore]

Sitecore is a web content management (WCM) and customer experience management system built on Microsoft ASP.NET. Use this tag for questions relating to developing within the Sitecore product base.

0
votes
0answers
3 views

Failed to start service 'Sitecore XConnect Search Indexer' in Sitecore 9.1 (SIF)

Getting below error in PS window while trying to install Sitecore 9.1. I have checked below articles and based on that I have deleted IIS entries , rebooted the IIS,deleted the wwwroot entries,...
0
votes
1answer
34 views

What is the difference between search index refresh & search index rebuild in sitecore content search

can anybody tell me the difference between I can see the difference in terms of execution time but I want difference from feature perspective. void Rebuild(); void Rebuild(IndexingOptions ...
0
votes
0answers
22 views

How to add an address after logging in

I have a page mounted on SiteCore. This page has visible the home page and the other pages are private only to registered users. I want to do is that when I share the link of a private page, when the ...
0
votes
1answer
12 views

Parsing sitecore webform model to javascript file

I am trying to parse a sitecore webform to a javascript file. In doing so I have tried to use the Newtonsoft.Json .Net package to convert the object to a json object which can be used by javascript ...
0
votes
0answers
10 views

Uploaded media files 404 on production but show up hours later

We've built a custom front end for users to post threads and upload images on top of Sitecore 9. Recently, we moved the user generated content to it's own database, so the media files are no longer in ...
2
votes
2answers
64 views

How to avoid duplicate divs.row when using Sitecore placeholders and the SXA Column splitter component?

When using Sitecore's placeholder in combination with the SXA Column-splitter, multiple <div class="row"> are then added/rendered. This causes unintended margins and paddings in our layout. ...
0
votes
1answer
28 views

Can't access Model inside webform ascx file

I am trying to do a simple console log of a ascx model in the view of my presentation file. <script> console.log("hello world", <%=Model%>); </script> I have defined the Model ...
0
votes
0answers
24 views

Sitecore 9.1.1 upgrade from 8.2 - Is there any Database changes?

I have a Sitecore 8.2 project that I'm upgrading to 9.1.1. I installed a fresh insistence of Sitecore 9.1.1 and moved my old project into it. I have it pointing at the old Core, Master, Web databases ...
0
votes
0answers
11 views

Sitecore workbox compare is not showing shared fields on comparing two version

I have workflow enabled on Sitecore. When i edit any item and send it to reviewer. Reviewer is not able to see shared fields in Sitecore compare due to which any changes done in Shared fields could ...
1
vote
0answers
87 views

Sitecore Mapping from Dynamics CRM

I have a sample XML: <fetch> <entity name="contact"> <attribute name="fullname" /> <attribute name="telephone1" /> <attribute name="contactid" /> <...
0
votes
0answers
26 views

Sitecore routing and MVC routing are conflicting

We have recently upgraded from Sitecore 8.0 to Sitecore 9.0.2. After the up-gradation we are facing issue with Api routing.  We have multi-site environment and we have defined the Custom Route config ...
0
votes
1answer
20 views

Sitecore giving the values and I need to add in jQuery

I need to add sitecore values in current and potential places. Can you read the values using .pointerValue in jQuery? We have to read the value using html label, or , adding a label with a class. ...
0
votes
0answers
12 views

ForceClient.DescribeAsync failing to deserialize object

We are using DeveloperForce.Force 1.3.2 and Newtsoft 10.0.2 packages for fetching details from Salesforce. The exception is thrown when DescribeAsync method is called on ForceClient object. We have ...
0
votes
0answers
54 views

Not able to hit too long url in solr which is generate by sitecore

I am using sitecore 9.1 and there is a field type multilist with search named media and it is having 1000`s of items in the left hand side , when i try to move those items from left to right , after a ...
1
vote
1answer
22 views

What namespace does CertificateWebRequestHandlerModifierOptions live in?

Using Sitecore 9.1.1 I am try to connect to my xconnect server with a console app using the sample code found here: https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/create,-...
0
votes
0answers
20 views

Sitecore -How to index milions of items in FlatDataCrawler

I've implemented FlatDataCrawler in my project to index more than 5 milions of records from external source. Now I know that I can return my items in GetItemsToIndex method inherited from ...
0
votes
0answers
9 views

How can we export common global opt out list

I would like to see contacts in common global opt out list.Is there a way to export common global opt out list from exm sitecore. I checked in dashboard from list manager,But can not see the default ...
-2
votes
1answer
28 views

Sitecore Query to get the latest item under a folder

I need to get the latest sitecore item created under specific folder as a data source. How I need to achieve this using sitecore query ? Here I tried : fast:/sitecore/content/Home/About//*[@@...
0
votes
2answers
41 views

How to get email checkbox checked by default?

I have defined connection alternatives for email and SMS. I want to have email checked by default. I wondered if I can add attribute checked in Razor without changing model or controller. Because if I ...
0
votes
0answers
33 views

Sitecore -How to add item to custom Index programmatically

I have created my custom Index in Sitecore with FlatDataCrawler. Now I am going to add new item (inherited from AbstractIndexable) to my index. private void Test() { var newItem = new ...
0
votes
1answer
31 views

GlassMapper Get Default Context V5

All, We recent updated to Glassmapper v5 (and also sitecore) and our application is breaking almost everywhere. I am not able to find enough documentation on this. I see that ISitecoreContext has ...
0
votes
0answers
21 views

Sitecore upgrade System.Exception Message: Invalid object name 'Shadows'. Source: Sitecore.Kernel

I am upgrading from Sitecore.NET 8.2 (rev. 161221) to Sitecore 9.1 update-1. I followed sitecore guide to upgrade. As per the guide I ran the database upgrade scripts on master,web and core database. ...
0
votes
0answers
61 views

Implementing Custom Identity Server 4 for Sitecore 9.1

I am setting up a external identity server 4 in place of out of box sitecore 9.1 identity server which comes through the installation. I have set up my own identity server 4 using - https://github....
0
votes
0answers
26 views

'args.PageContext' threw an exception of type 'System.InvalidOperationException'

I am getting error in my custom sitecore pipeline processor 'args.PageContext' threw an exception of type 'System.InvalidOperationException' my processor is executing before Sitecore.Mvc....
0
votes
1answer
19 views

Sitecore Multilingual - Parsing item to InternalLinkField converts its language

Hi I'm working on a multilingual module right now but I'm having problems with parsing a field to InternalLinkField. What happens is that I have an item in chinese language but when I get one of its ...
0
votes
0answers
53 views

Solr SolrCore Initialization Failures {{Core}}: {{error}}

All, I am trying to install Solr 7.2.1. While the installation works, i am not able to run solr successfully. Whenever i try to run, i get the following error. SolrCore Initialization Failures {{...
2
votes
0answers
24 views

Intermittent SQL connectivity issue with AWS RDS

We are currently experiencing an intermittent issue with our ASP.NET website (built on Sitecore) where the website cannot connect to SQL server for seemingly random periods of 15 minutes. After 15 ...
0
votes
0answers
19 views

Any way of setting a link as an 'a href' in a dictionary item in Sitecore and get it in the c# Controller?

I was wondering if there is any way of setting a link in a dictionary item in Sitecore and get it to the C# controller. After that through a JSON to be sent to javascript which will show it out. At ...
1
vote
1answer
25 views

How to link Sitecore Content Editor to a custom Solr search index configured for a certain Data Template?

I have created a custom Solr search index for a specific Data Template as I expect to maintain tons of items created based on that template. As you would guess I organised my items into Sitecore Item ...
0
votes
1answer
13 views

Sitecore Content Editor generates Random GUI element properties or which are not unique on webpage like xPath, ID or Class

While automating Sitecore Content editor (backend) i have come across one problem that, while adding the same component, values of element ID's and xPath changes. Elements like add here or approve ...
0
votes
0answers
17 views

Issue With Deploying JSS Component to Sitecore

I'm following the guide to deploy jss components created locally with Vuejs into Sitecore. Everything seems to work except for the deployment part. Unexpected response from import service: ...
2
votes
0answers
60 views

Azure CI CD build pipeline with gulp for sitecore in Private Agent

we have Sitecore project with helix principal and using the gulp task we are able to publish the application into local(dev machine) without any issues. we need to implement the CI/CD with the azure ...
1
vote
0answers
29 views

System.BadImageFormatException on production server. (Not related to 32/64 bit) [duplicate]

We have hosted the sitecore application on 4 servers. One of the servers started throwing System.BadImageFormatException. We restart IIS and it fixed our problem. Now, We are trying to find the root ...
0
votes
0answers
24 views

Use Sitecore dynamic placeholders in branch templates

In Sitecore 8 MVC solution, is there a way to combine the usage of branch templates with Dynamic Placeholders (Fortis)? I am using dynamic placeholders to set up a flexible bootstrap grid layout. I ...
0
votes
2answers
47 views

Sitecore Prefetch Cache Size Different after upgradation

I have done the Sitecore upgrading from 8.1 to 9.0 Update 2. I see there is an issue on the prefetch cache. On the old version the webdb prefetch cache will go till 6GB but on the upgraded version it ...
0
votes
1answer
47 views

How to fix The controller for path '/' was not found or does not implement IController

I just deployed a new controller to my production environment. For some reason, the controller does not get called. All other controllers on the site work fine. This is the only one that is failing....
0
votes
1answer
42 views

Sitecore Solr query: field name translation culture issue

I am wondering if there is anyway to force FieldNameTranslator to append language to the field name. query = context.GetQueryable<SearchResultItem>(i => i[context.Index.FieldNameTranslator....
0
votes
1answer
31 views

How to keep sitecore alive out of the box implementation

How to keep Sitecore instance alive using Sitecore keepalive service, I am looking for an out-of-box solution with no dependency on the hosted application or the hosted windows server(e.g task ...
0
votes
1answer
15 views

Sitecore 9.0 - Error when editing personalization rule - element is null

When I try to edit a personalisation rule on a component, I'm getting the following error: In my browser's network tab, I can see that a request is being made to the following URL: /sitecore/shell/-/...
0
votes
0answers
14 views

Sitecore 9.0 Experience Profile not loading - showing “Unauthorized Access” even with admin account

When I try to open the Experience Profile tool in the Sitecore backend, it just displays the message "Unauthorized Access". I'm logged into Sitecore with an admin account. I can see that the page is ...
0
votes
1answer
22 views

Can a Sitecore Lucene index be programmatically built?

When using Lucene indexing in Sitecore, is it possible to add items to an index based on the content of an item? Indexes can be built based on template id but I would like to add additional criteria ...
0
votes
0answers
37 views

Regex to not allow < and >, but allow everything else, including new line [duplicate]

I am trying to make a custom regex for a textarea field for a form. The regex only need to make sure that the characters < and > is not allowed and only prevent these characters so I can generate a ...
0
votes
0answers
18 views

Display content from 2 items in one view with Sitecore and GlassMapper

What is the best way to put content from 2 items in one cshtml view? one item is the contextItem and the other item is determined from the url. Could us use DataSourceItem for the second item? but ...
0
votes
0answers
15 views

Custom filtering on default Experience Analytics Dashboard reports

So I am looking into extending a little bit the Sitecore reporting in the Experience Analytics Dashboard by adding an additional (custom) filter. So the filters are: Date Range Filter (pre-existing) ...
0
votes
0answers
15 views

Sitecore GlassMapper RenderImage with Lazy Loading

Please excuse my ignorance on this. Right now, I'm rendering an image using the following code: @RenderImage(Model, x => x.Image, new { @class = "card-image" }, isEditable:true) I need to ...
1
vote
0answers
29 views

Sitecore Helix custom database: A network-related or instance-specific error occurred while establishing a connection to SQL Server

In my Sitecore Helix environment, I am trying to setup a custom database or at least setup a custom table. In the following route: C:\inetpub\wwwroot\habitat.dev.local\App_Config I've added the ...
0
votes
1answer
44 views

Sitecore add here button not showing the Add rendering dialog

All of a sudden the "Add here" button in experience editor to add a rendering is not working. When clicked nothing happens. Do you have any idea where can I start look into? I already tried to remove ...
-4
votes
1answer
38 views

Rendering Error in Sitecore local instance set up

While setting up sitecore in my local instance and trying to access a particular site or a homepage, the error below occurred. PLease help me in solving this issue. Thanks Rendering exception ...
0
votes
1answer
55 views

initialize a string within a linq query

In Sitecore, I have a container which contains a lot of child items. These child items all contains a string, which I want to have stored in a public IEnumerable<string> Descriptions; ...
0
votes
2answers
38 views

Remove publishing restrictions on all the Sitecore nodes

I want to create a Sitecore powershell script which goes through the content trees and removes any present publishing restrictions Everywhere I have seen, there are examples of how to publish an ...