No, I want to render different webpart Layout based on document type field...
I have create one document type called "Video". and define field type of video...and use dropdown as a from control for this field.Now add diiffernt document using this document type and now i want to use youtube web part based on selction of dropdown value in transformation lije as
if(dropdown value=="Youtube video")
{
use youtube video webpart(uc1:youtubevideo id="xyz" videourl="xyz")
}
else{
use kentico media preview webpart(cc1:preview id="xyz" defaultimage="abc.png" height:"scgsPX" width:"sdPX" )
}
documenttype field
Name of video
Type of video(youtube or kentico video)
url of video