Flash with Repeater

Martin Shin asked on December 4, 2014 12:14

Hi everybody. I play with free version of Kentico on my local machine. I want to publish some flash videoon page with Repeater. Flash video uploaded into Kentico in special folder. I use "Flash" component for Flash representation.

And in Repeater transformation I use next code {% CurrentDocument.DocumentContent["Flash"] #%}

But Repeater returns next data as result:

{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}{% CurrentDocument.DocumentContent["Flash"] |(user)administrator|(hash)3c39b73ae2d8d53b1e1227e34e2fe4dab6c5af2ef614b16fd668d646d57f522b%}

How I can get flash with Repeater?

Thank you

Correct Answer

Brenden Kehren answered on December 4, 2014 15:19

Hey Martin, you can do the same with a doc type as well. In fact you can allow the end user to do it pretty easy by adding a field for them to choose what they want or don't. Then in your transformation you build out the properties and URL, pretty slick and don't usually end up with having to educate end users on a complicated process, just give them a simple form to enter data.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on December 4, 2014 13:17

Assuming you are using the Editable Text webpart and placing the flash on your page with the Flash widget, you can use this example http://devnet.kentico.com/questions/editableitems-editableregionid.

As I mention in that post, why not use a doc/page type though? It provides a much more robust solution and allows you to reuse the content much easier across the site.

0 votesVote for this answer Mark as a Correct answer

Martin Shin answered on December 4, 2014 13:21

Hi Brenden. Thank you for answer. I will investigate URL provided by you. I used Flash component for Flash representation by one reason. I can transfer additional parameters to Flash.

0 votesVote for this answer Mark as a Correct answer

Martin Shin answered on December 4, 2014 19:00

Brenden, thank you very much for answers. You're really help!

0 votesVote for this answer Mark as a Correct answer

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