ProductWorkflowStateChanged:Product.Link

Version: - string  

Summary

Returns link to product edited under the workflow.

Settings

The value is generated automatically.

Remarks

The link named like that: [SiteName]/Admin/Module/eCom_Catalog/dw7/PIM/PimProduct_Edit.aspx?ID=PROD2290

Examples

Outputting the template tag

@GetString("ProductWorkflowStateChanged:Product.Link")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("ProductWorkflowStateChanged:Product.Link"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("ProductWorkflowStateChanged:Product.Link"); }

Outputting the template tag

<!--@ProductWorkflowStateChanged:Product.Link-->

Check if string has a value

<!--@If Defined(@ProductWorkflowStateChanged:Product.Link)--> Let's output this tag here: <strong><!--@ProductWorkflowStateChanged:Product.Link--></strong> <!--@EndIf(@ProductWorkflowStateChanged:Product.Link)-->