Blog About Our Exposure on Sitecore with public to share and gain knowledge
Sitecore Media Library
Get link
Facebook
X
Pinterest
Email
Other Apps
Sitecore Media Library
Disabling the Upload Watcher
The Recommended practice is that you disable Upload Watcher and which ensures that the only way to upload files is from Media Library. This ensures that you can only upload files from within the Sitecore client and have control over the files that are uploaded .
When Upload Watcher is disabled, files that are placed in the /upload folder in the website root are not automatically uploaded to the Media Library
To disable the Upload Watcher, remove the following highlighted line from the <modules > section of the Web.config file
Enabling Custom WebApi in Sitecore 9 CD Server without api/sitecore
Accessing custom webApi from CD server without using the api/sitecore url is not complex. Just a pipeline config and a routeConfig code will all enable the webapi for your CD server easily.
Create a CS File for custom Routing
namespace Vikash.Web.Feature.WebApi.Pipelines
{
public class RegisterCustomRoutes
{
public void Process(PipelineArgs args)
{
const string solutionName = "Vikash.Web.Feature.WebApi";
RouteTable.Routes.MapRoute(
name: $"{solutionName}.Api",
url: $"MyApi/Custom/UnSubscribe/{{action}}/{{id}}",
defaults: new { controller = "UnSubscribe", id = UrlParameter.Optional },
namespaces: new[] { $"Vikash.Web.Feature.WebApi.Controllers" }
);
}
}
}
Now we need to create a custom pipeline config to register the Route.
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:pat...
Sitecore Aliases for Multi Site
Are you having multi site environment and want to make use of Aliases in different for each site and\or share the Aliases for couple of sites? Yes we can do with the help of the custom plugin that was built to extend the feature of the Aliases Aliases for Multi-Site Environment
https://xchangesitecore.com/sitecore-aliases-for-multi-site/
Vikash Raaj
Sitecore Aliases for Multi Site using SXA
Are you managing multi site environment with SXA and want to make use of Aliases in different for each site and\or share the Aliases for couple of sites? Yes we can do with the help of the custom plugin that was built to extend the feature of the Aliases Aliases for Multi-Site Using SXA
https://xchangesitecore.com/sitecore-aliases-for-multi-site-using-sxa/
Vikash Raaj
Comments
Post a Comment