Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > transformation ,geturl problem View modes: 
User avatar
Member
Member
bijukumar.r-gmail - 1/22/2011 9:06:47 AM
   
transformation ,geturl problem
hi

i created a product ,modified product in site.

i displayed the product but when i click on product image i need to get the detailed product display.for this i created two tranformations.but when i click on the image it goes to default page.


<table>

<tr>
<td><%# EcommerceFunctions.GetProductImage(Eval("SKUImagePath"), 160, Eval("SKUName", true))%></td>
</tr>

<tr><td>
<div class="ProductTitle">
<%# Eval("SKUName", true) %>
</div>
</td></tr>


<tr>
<td><%# Eval("SKUDescription") %></td>
</tr>
<tr><td><a href="<%# GetDocumentUrl() %>" class="LinkMore">more</a></td></tr>
</table>


when i click on the more link it goes to default page.i wish to a details page of product


User avatar
Member
Member
dima - 1/24/2011 1:59:54 AM
   
RE:transformation ,geturl problem
hello,

try using <%# GetUrl(Eval("NodeAliasPath"), Eval("DocumentUrlPath")) %> instead.

GetDocumentUrl() just gets the url of the current document - in your case the default product page

User avatar
Member
Member
bijukumar.r-gmail - 1/24/2011 4:28:54 AM
   
RE:transformation ,geturl problem
sorry its my mistake i solved it .document selection is not correct that was the problem