New answers tagged sitecore-api
2
votes
Show Items in drop tree dynamically based on Sites
You have to write your dynamic source query for drop tree field like this, it will works for multisite solution and shows item based on your current site.
query:./ancestor::*[@@templateid='{23DA3211-...
3
votes
Accepted
Show Items in drop tree dynamically based on Sites
You need to use a dynamic source query like this, that will match the same content tree structure for each site.
query:./ancestor-or-self::*[@@templateid='SITE TEMPLATE ID']//*[@@templateid='GLOBAL ...
1
vote
Accepted
How can I Override Sitecore’s Media Handler to force user to redirect to login Page if user is not Authenticated
You can override the out of the box media handler with your own and do some custom logic to check if the user is authenticated. Your custom media handler should inherit from Sitecore.Resources.Media....
Top 50 recent answers are included
Related Tags
sitecore-api × 329sitecore-client × 38
jss × 18
sxa × 17
xconnect × 13
sitecore-commerce × 11
webapi × 11
solr × 8
media-library × 8
mvc × 8
pipelines × 8
sitecore-services-client × 8
content-search × 7
powershell-extensions × 7
sitecore-forms × 7
security × 7
glass-mapper × 7
item-web-api × 7
xdb × 6
azure × 6
upgrade × 5
javascript × 5
presentation × 4
multilingual × 4
azure-search × 4