Display UCM files in ADF/Webcenter application as images or link

Requirement- Display UCM images on the page or as link, so that user click of that image and can open in new window

Implementation – You can also have my previous videos to make connection between portal and content and other video Content Presenter in Webcenter Portal
or Content Integration Using Folder viewer in Webcenter Portal .

But if you really want to display your ucm image or show as link for your images or document then you follow below approach
Taking scenario if you don’t how many documents are there.then for that case use below approach

You can use af:image or af:goLink component to put the below url as source or destination

#{WCAppContext.applicationURL}/content/conn/contentserver/uuid/dDocName%3a#{contentId}

#{WCAppContext.applicationURL} = This will return the url with full context till port number = abc.com/7001/yourPortal

contentserver- is connection name to the UCM.

content id = is the content id of the document.

Displaying as link

Image-001

ssdsds-2
Final output would be like below

sdsdsd

Happy Learning by Vinay in techartifact….

Vinay

I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube