Sitecore questions often asked
1) How you can remove ashx extension from media file and add actual extension?
<!-- MEDIA - REQUEST EXTENSION
The extension to use in media request URLs.
If the value is not set, the Extension field of the individual media items will be used (ie. JPG, GIF, etc.)
Default value: "ashx"
-->
<setting name="Media.RequestExtension" value="ashx"/>
2) Sitecore Pipeline
public class RemoveDuplicateItems : PublishItemProcessor { Item sourceItem = context.PublishHelper.GetSourceItem(context.ItemId); if (sourceItem != null) { Item targetItem = context.PublishOptions.TargetDatabase.GetItem(sourceItem.Paths.Path); if (targetItem != null && targetItem.ID != sourceItem.ID) { context.PublishHelper.DeleteTargetItem(targetItem.ID); } } }
3) Data Exchange Framework : Can be used to transfer data between third parties.
No comments:
Post a Comment