urgent help

hassan kalach asked on September 5, 2017 15:37

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 ?!

Recent Answers


Rui Wang answered on September 5, 2017 16:13 (last edited on December 10, 2019 02:31)

You need to use macro method in text/xml transformation. The macro method for that is {% Transformation.GetFileUrl("file") |(identity)GlobalAdministrator%}

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.