okay guys i have a page type that contains a field of data type file and form control direct uploader , so i have a repeater that should display the data using a custom transformation and the field file should be a pdf that once pressed on its link it should get downloaded . this scenario work perfect while using <a href="<%# GetFileUrl("file") %>" but when i switch to text/xml format it simply stops to work any suggestion ?!
<a href="<%# GetFileUrl("file") %>"
You need to use macro method in text/xml transformation. The macro method for that is {% Transformation.GetFileUrl("file") |(identity)GlobalAdministrator%}
{% Transformation.GetFileUrl("file") |(identity)GlobalAdministrator%}
Please, sign in to be able to submit a new answer.