Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions related to Sitecore's API, covering questions about how to access, create, update or or delete data, as well as questions about how the Sitecore code-base is or can be used for custom or native logic, etc.
3
votes
Need Rest API in Sitecore which can create, get, update , delete and publish items in siteco...
To create an item:
URL: /item/{path}?database&language
Edit an item:
URL: /item/{id}?database&language&version
Delete an item:
URL: /item/{id}?database&language
Run a Sitecore search:
URL: /ite …
2
votes
Reset Sitecore 10.2 control editor and inetpub folder in the root directory
A possible solution I can suggest:
If you have a backup of your Inetpub folder then you can restore that one and for the Sitecore content editor you can use the Vanilla Sitecore instance master datab …
2
votes
Accepted
How to get the closest items in the Sitecore tree?
Sitecore query functions make it possible to perform Boolean operations with Items in query expressions and apply extra conditions to the query.
You can use startswith function:
Function: startswit …
1
vote
Can I have multiple the same facet types with different facet keys?
Yes, you can have several 'MyCustomFacet' types under different facet keys. Can you please try like this, it will work for you:
MyCustomFacet facetA = contact.GetFacet<MyCustomFacet>(MyCustomFacet.D …
1
vote
Can I have multiple the same facet types with different facet keys?
Yes, we need to create a custom model class for CustomFacet with custom facet key. Then we deploy our custom model and serializes our custom facet model and we need to copy that custom JSON model to t …
1
vote
Custom Experience Button edit the Datasource item fields
If you are using Glass Mapper 5 and don't want to create Custom Experience Button then you can apply EditFrame using below code:
@using (Html.Glass().BeginEditFrame(Model.HeroBanner, "Edit Banner", m …
1
vote
How to map child items using glass mapper 5.8?
The simplest method to retrieve the child items is to use the children attribute:
public class Home
{
public virtual IEnumerable<Child> Children { get; set; }
}
If all children are one type then …
1
vote
1
answer
384
views
"Error occurred" (500) when collecting basic information about your Sitecore installation
I have raised a ticket on the Sitecore support portal. They asked me to provide basic information about my Sitecore site from each instance in your environment. Check the article https://kb.sitecore.n …
0
votes
Accepted
"Error occurred" (500) when collecting basic information about your Sitecore installation
After investing and raised a ticket to Sitecore support portal, I have found below solution:
1) Package name or ticket number should not have any illegal characters like * symbol etc.
2) Open the ". …
0
votes
Get all items in Archive and Recycle Bin
If the ID you are searching returns no results, Archive.GetEntries(ID) even returns everything in the recycle bin.
You can try with below sample code.
var dbName = Sitecore.Configuration.Factory.GetDa …