Last active
April 20, 2018 08:28
-
-
Save Jonne/66eb14d81faa6f65393e19dd33f5f96d to your computer and use it in GitHub Desktop.
Sitecore commerce mapping entries admin page. Place this in the sitecore/admin folder of your sitecore directory to view it via http://<sitecoreurl>/sitecore/admin/mappingentries.aspx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MappingEntries.aspx.cs" Inherits="Sitecore.sitecore.admin.AdminPage" %> | |
<%@ Import Namespace="Sitecore.Commerce.Engine.Connect.DataProvider " %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<script runat="server"> | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
repeater.DataSource = CatalogRepository.MappingEntries; | |
repeater.DataBind(); | |
} | |
</script> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> | |
<title></title> | |
</head> | |
<body> | |
<div> | |
<asp:Repeater id="repeater" runat="server"> | |
<HeaderTemplate> | |
<table border="1"> | |
<tr> | |
<td><b>SitecoreId</b></td> | |
<td><b>To</b></td> | |
</tr> | |
</HeaderTemplate> | |
<ItemTemplate> | |
<tr> | |
<td><%#Eval("Key") %></td> | |
<td><%#Eval("Value") %></td> | |
</tr> | |
</ItemTemplate> | |
<FooterTemplate> | |
</table> | |
</FooterTemplate> | |
</asp:Repeater> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment