phani
  • Member for 5 years, 3 months
  • Last seen more than 1 year ago
Is there a way to identify current layout details with renderings?
Accepted answer
6 votes

If I understood your question right, you want to handle a particular rendering R1 based on the underlying Sitecore layout selected for the page item The below screenshot shows how to get the layout ...

View answer
How to increase request timeout for rocks connection?
Accepted answer
6 votes

You can find the connection xml under C:\Users\Administrator\AppData\Local\Sitecore\Sitecore.Rocks.VisualStudio\Connections Open the xml file and edit the timeout attributes as needed. <binding ...

View answer
No contact created in MongoDB when session is closed
4 votes

Ensure the VisitorIdentification code is available on the layout. @Html.Sitecore().VisitorIdentification() Also, if it helps, the contact creation logic is executed in the below pipeline processor: ...

View answer
Are there any specific reserved field names that shouldn't be used in Sitecore?
4 votes

@Chris Elston, This looks like a issue with field name? I tried to mimic your scenario. My setup is on Sitecore 8.2. Updated the sample item 'Title' field to 'Name' Did a Smart Publish on Home item ...

View answer
While deleting an item in item:created event i got exception
3 votes

Building logic into the custom item events themselves makes the functionality rigid and not easily changed. A quick google search on limiting no of child sitecore items through rules has yielded good ...

View answer
A serious error occurred please contact the administrator
Accepted answer
3 votes

with in Sitecore.ExperienceEditor.Speak.Server.RequestArgs class the method name to execute defaults to Process. Check the last line in below method. public RequestArgs(string commandPath, ...

View answer
Is it possible to fetch datasource and personalized content of context item?
Accepted answer
3 votes

By the time the below code is accessed in Controller/View Rendering, any personlization rules are applied. So, the DataSource and Item properties point to the the datasource are the personalized ...

View answer
How do I do custom forms in Sitecore MVC?
3 votes

The first option is the one I have used mostly. But for some form submissions we wanted to have the page context as we had to pull data source of some other rendering on the page. So, my two cents ...

View answer
Using unicorn for manual deployment on Dev/QA environments
2 votes

Ran into this issue deploying Habitat to Azure VM. Here is quick solution based on Mark Cassidy's response. Culprit is the below file. Your file location may be different. but I guess you got the ...

View answer
Sitecore 9 - XP0 - xConnect Cert requirements?
2 votes

Ran into similar issue today. Based on your exception, looks like the certificate you created is not what Sitecore is expecting. Sitecore is expecting a X509Certificate2 certificate if ($...

View answer
Disable database switching in sitecore backend
2 votes

Long shot.. can you try disabling access to below item in core db for the user role and verify if this solves your problem.

View answer
Change the name of the output log file
2 votes

You can use the log4net.Appender.FileAppender <appender name="FileAppender" type="log4net.Appender.FileAppender"> <file value="log-file.txt" /> <appendToFile value="true" /> ...

View answer
Error occurred while loading Experience Profile
1 votes

Just ran into this issue. Planning on writing a blog for this. But here is the shorter version. On CM, the error you see is not super helpful. But, as others mentioned, it is related to the ...

View answer
How can I split logs by log level/priority
1 votes

If it is just dev machine, I use SIM Log analyzer

View answer
The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but it requires model another model in project
Accepted answer
0 votes

Disclaimer: I work with Indra and helped him solve the problem. Adding the answer with other issues that were resolved. Dheeraj answer was right to the question. But unfortunately it opened up a new ...

View answer
Error with controller rendering - "does not implement IController"
0 votes

Looks like the dlls are in the temporary cache. Simply try an IIS recycle or reset. And check.

View answer
Schedule Items to display in Rendering Datasource
0 votes

While @Diego answer works, publish restrictions doesn't perform automatic publish when the date comes. Content authors need to perform the publish (unless you have automatic publish setup) action ...

View answer
Getting "Object Reference not set to an Object" error for Clustered CM servers
0 votes

Is this happening always or is there a pattern identified? When this happens, if you refresh the whole browser and retry does it work? Assuming session renewal here. It could be that the session is ...

View answer
How to Restrict by Role Adding Rendering to Placeholder in Experience Editor
0 votes

If it is ok to not even display the rendering for that role, it can be sure done using Security Editor of Sitecore. We have done that and it works. But it is not an easy one to manage with conflicting ...

View answer