how to make selection of input file in ADF mobile framework - oracle-adf

i am making the MAF application for practice but in this application am giving the functionality of upload and download files from server and but input file component is not giving in the ORACLE MAF and am successfully done the upload button but i am not know how to add input select file component in the MAF. please
help me .
thank you
please answer this question...

For download, you can use this tag into an amx page :
<amx:goLink text="Download" id="bla" url="http://www.yourservlet.com/download"/>
For the upload functionality, I am not sure if that works somehow. Try to follow up this question of the Oracle Community to find out more about the upload functionality.
Hope to be helpful.
Thanks.

Related

How to view source code of Secured browser?

To automate a web application using selenium, the source code is needed to findElements to create xpaths. But when we press F12, we get nothing. But we have links in Front End. Please help...
The application runs only in IE...
If you need any other info, please let me know.
Thanks
Manoj
You can try driver.getPageSource() after you have loaded the page.
In debug mode - copy the value and use any of html viewer online for example https://codebeautify.org/Xpath-Tester#

How to embed excel worksheet in a webpage

I am working on a web application and one of the features I want to add to the application is working with excel within the web app...
the generic idea is basicly : there is an excel file sitting on a server and it can be displayed on the webpage.. people can edit the file and save it back to the server.. (it will have all of the functionality of Excel itself..)..
is there a way to embedd an excel file / any excel plugin exist? or maybe any alternative to excel that will give me the same functionality?
Thank you very much!
*Important - I want to be able to do that on a localhost without a thirdparty like skydrive/google docs or etc... i want their functionality but all within a local host.. (you can edit the sheet, post a save request and it will update the file residing in the server..)
You can use Google Docs. This article explains pretty well, at least, gives
a general idea.

PDF generation from AngularJS

I made an AngularJS page with multiple tables, and I need a pdf generation solution. I'm working in a Phonegap context.
The tools I found until now were not able to handle the CSS in my page (like JSpdf).
Do you know some great tools to solve my problem ?
Thanks in advance.
You can try phantomJS. http://phantomjs.org
It provides print to pdf function too.

Issues with displaying salesforce rich text editor image

We are having few rich text box in our custom objects in force.com enterprise edition. These rich text box are rendered in an android application given to our clients. Till now we were using the android app online but due to huge customer demand, we wish to make our app offline. But we are facing difficulties due to images in rich text box. The images in rich text box are stored as in a form
But when we try to use the android app offline, we cannot see the images in webview. Consulting our web developer, he said that the images do not have static path and so they cannot be downloaded and stored for offline use. So my query is, is there some way, which will help us to get static path for the images inserted in Rich Text Box available in force.com, so that we can use them offline.
Thanks!
I had the same problem some time ago and also raised the issue with salesforce. They got back to me saying that images within rich text boxes could be stored in any server and needs to be authenticated to via a browser to have access too.
But you could try to use this, but its not a guaranteed approach as salesforce can change the way they store images.
http://boards.developerforce.com/t5/General-Development/API-access-to-Knowledge-article-content-inline-images/td-p/233065
Hope this helps.
Here's the response from SFDC :
As discussed over the call, as of now Salesforce does not have this feature built in the current release, else we would be more than happy to help you.
However, you can also post an idea on our Idea Exchange, where our customers share their ideas and expectations. (http://sites.force.com/ideaexchange/ideaHome)
Please feel free to contact us, if you need any further assistance.
Thank you for contacting salesforce.
Regards
Developer Support Engineer
salesforce.com

OTRS Attachment Uploader

I am new to OTRS and I am still familiarizing myself with the platform. Recently for some particular reason the attachment uploader started not to work - basically whenever a file is attached, the page refreshes and the file is lost. Any ideas on why this is happening?
One problem might be the file permissions on the server side. Please see my comment above and provide more details.

Resources