New answers tagged

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-...
user avatar
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 ...
user avatar
  • 1,068
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....
user avatar
  • 91

Top 50 recent answers are included