Hi,
I created the following templates:
modeltable.template:
But obviously, the TAG is not interpreted correctly (or I am doing something wrong):
![Image]()
The dealer's price is also displayed for unauthenticated users and users that are not in the dealer's role. Any help appreciated...
Thanks
Michael
I created the following templates:
modeltable.template:
<table class="ModelTable">
<tbody>
<tr class="ModelTableHead">
<td>Model</td>
<td>Code</td>
<td>Retail</td>
[TAG:TEST:<prop TestType="isinrole" TestValue="Dealer" Action="Show" />]
<td>Dealer</td>
[TAG:END]
</tr>
[TAG:TABLEROWS]
</tbody>
</table>
modeltablerow.template:<tr>
<td>[Model:ModelName]</td>
<td>[Model:ModelRef]</td>
<td style="text-align:right;">[Model:UnitCost]</td>
[TAG:TEST:<prop TestType="isinrole" TestValue="Dealer" Action="Show" />]
<td style="text-align:right;">[Model:DealerCost]</td>
[TAG:END]
</tr>
My aim was to show/hide the dealer price in the model table depending on being a member of the Dealer's role (or not).But obviously, the TAG is not interpreted correctly (or I am doing something wrong):
The dealer's price is also displayed for unauthenticated users and users that are not in the dealer's role. Any help appreciated...
Thanks
Michael