Menu
Date

October 2014

Convert an image to Base64

This post is to show how to generate base64 string to an image file.Below is the method which will return the base64 string to the given image file. The input for this method is the full path of the image. public String getBase64ForFile(String inFile) throws Exception { String base64 = “”; System.out.println(“inFile: ” + inFile); URL url = new URL(inFile);…

ERROR: Plugin ‘Camera’ not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist

I am developing a MAF application in which I need to collect images from the user for which I provided a button. On click of the button, photo library supposed to be opened, so that the user can select the images. But on click of the button, I am getting the below error. Error: Plugin ‘Camera’ not found, or is…

How to enable Contribution Folders in Webcenter Content

If the “Contribution Folders” under Browse Content is not visible, please follow the below procedure to enable it. Login to webcenter content Under Administration menu, go to Admin Server and select “Component Manager” option Select “advanced component manager” option   Under disabled components, select “Folders_g” and click on enable button Please note that, while enabling “Folders_g”, if “FrameworkFolders” is enabled,…

ADF_FACES-30108:The view state of the page has expired because of inactivity. Reload the page.

I have several tabs in my portal application, in which some of them are loading data from web services. Some times when I click on those tabs, an alert message with the below error message is displaying and on-click of Ok button, the app is reloading. The error message: ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1 javax.faces.application.ViewExpiredException: viewId:/oracle/webcenter/portalapp/pages/home.jspx…

How to delete MDS content of an application in weblogic?

Below steps tell you how to delete MDS content of an application from EM console. Login to weblogic EM console Under the domain (on left hand side), expand “Metadata Repositories” and select the target MDS. In this example, it is “mds-SpacesDS” You can see the list of partitions under the section “Repository Partitions” Select the target partition Click on “Delete…”…

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.